Hi, I use mac, and when building YCM, it returns error.
./install.py --all
[100%] Linking CXX shared library /Users/Yefee/.vim/bundle/YouCompleteMe/third_party/ycmd/ycm_core.so
[100%] Built target ycm_core
msbuild or xbuild is required to build Omnisharp
Traceback (most recent call last):
File "./install.py", line 44, in <module>
Main()
File "./install.py", line 33, in Main
subprocess.check_call( [ python_binary, build_file ] + sys.argv[1:] )
File "/Users/Yefee/miniconda2/lib/python2.7/subprocess.py", line 540, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/Users/Yefee/miniconda2/bin/python', u'/Users/Yefee/.vim/bundle/YouCompleteMe/third_party/ycmd/build.py', '--all']' returned non-zero exit status 1
Any suggestions?
Please read the README.md and the output carefully
msbuild or xbuild is required to build Omnisharp
You used --all, so you need to install mono for C sharp completion. If you don't want C sharp completion, use different flags.
Solved this by installing mono-complete. Then
npm install xbuild
I just want ruby completion...how do I get this?
Ruby doesn't have a "native" completer. You'll have to find a ruby omnifunc.
However this is definitely a wrong thread for that question. Instead ask on gitter.
Please read the README.md and the output carefully
msbuild or xbuild is required to build Omnisharp
You used --all, so you need to install mono for C sharp completion. If you don't want C sharp completion, use different flags.
Maybe instead of assuming what the person wants or does not want c# help solve the issue. Your suggestion may help one person but will not help anyone else with this issue like myself.
The original poster asked about an error regarding this command and nothing more.
./install.py --all
Thanks to @bryoh i solved the problem with
npm install xbuild
Closing an issue without actually solving the program is ridiculous.
Example: My software crashes when I select feature X, well do you use X or really even need X. I guess not. Well now they cannot use feature X later down the road if they decide to use it.
Just like using C#
Closing an issue without actually solving the program is ridiculous.
the solution is in the README; it quite clearly states the build requirements.
Most helpful comment
Solved this by installing mono-complete. Then
npm install xbuild