Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmake Makefile fault #1

Closed
rbegoghina opened this issue Jan 9, 2016 · 2 comments
Closed

cmake Makefile fault #1

rbegoghina opened this issue Jan 9, 2016 · 2 comments

Comments

@rbegoghina
Copy link
Collaborator

Main.c won't be generated by current cmake configuration

[ 1%] Building C object src/CMakeFiles/wordclock.dir/Main.c.o
cc: error: /root/Wordclock/src/src/Main.c: Datei oder Verzeichnis nicht gefunden
cc: fatal error: no input files
compilation terminated.

@OpenLarry
Copy link
Owner

Seems like you try to compile the project in-source?
In-source builds are very uncommon for CMake, but I fixed the error in c24971f.

I added a short compilation guide to the readme file:
https://github.com/OpenLarry/WordClock

Don't forget to clean up your working tree if you haven't added any files intentionally:

git clean -fxd

@OpenLarry
Copy link
Owner

I've fixed another mistake in 0a9c0f1.
Should work now! Sorry!

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

No branches or pull requests

2 participants