Skip to content
This repository has been archived by the owner on Aug 30, 2020. It is now read-only.

ERROR: Unknown build system #36

Closed
rmporsch opened this issue Nov 17, 2015 · 4 comments
Closed

ERROR: Unknown build system #36

rmporsch opened this issue Nov 17, 2015 · 4 comments

Comments

@rmporsch
Copy link

I get the following error:

ERROR: Unknown build system

after running

~/.vim/bundle/YCM-Generator/config_gen.py --verbose --compiler clang-3.6 .

on

Distributor ID: Ubuntu
Description:    Ubuntu 14.04.3 LTS
Release:    14.04
Codename:   trusty
@rdnetto
Copy link
Owner

rdnetto commented Nov 17, 2015

Please run ls in the project directory and post the output. Also, what build system does the project use?

@rmporsch
Copy link
Author

fixed it. CMakeLists.txt was gone for some reason. Now the error is

ERROR: No commands were logged to the build logs (C: /tmp/tmpTqblcZ, C++: /tmp/tmpguQm45).
Your build system may not be compatible.

I assume this corresponds to issue #3, and I will need to downgrade my clang

Sorry for the stupid mistake.

@rdnetto
Copy link
Owner

rdnetto commented Nov 17, 2015

No problem, I've made more than my share of stupid mistakes. :P

Make sure there's no Makefile in the directory, otherwise it'll override the settings for the fake toolchain.

Note also that the fix for #3 is not to downgrade clang, but to specify the actual name of the compiler using --compiler. (Alternatively, you could just create a symlink called clang to the actual executable.)

@rmporsch
Copy link
Author

thanks a lot! Works now!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants