compile error (64bit linux) [project doesn't compile in the root directory (cmake .)]

Bug #584776 reported by qubodup
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Freedom to Smash
Confirmed
Low
Jon Ander Peñalba

Bug Description

The problem is basically:

$ make
make[2]: Circular resources.cfg <- resources.cfg dependency dropped.
[ 0%] Generating resources.cfg
Error copying file "/home/qubodup/src/git/fts/resources.cfg" to "/home/qubodup/src/git/fts/resources.cfg".
make[2]: *** [resources.cfg] Error 1
make[1]: *** [CMakeFiles/copy-config.dir/all] Error 2
make: *** [all] Error 2

I hope this helps.

Revision history for this message
Jon Ander Peñalba (jonan) wrote :

This error occurs because you're trying to compile in the project's root directory.
Cmake recommends compiling in a different directory for many reasons (and so do we in the INSTALL file), anyhow, it's possible to fix this or even to show a message to inform the user that he should compile in a different place.

Changed in freedom-to-smash:
assignee: nobody → Jon Ander Peñalba (jonan)
importance: Undecided → Low
status: New → Confirmed
security vulnerability: yes → no
visibility: private → public
Revision history for this message
qubodup (qubodup) wrote :

Silly me, I had the problem and the solution is written in the INSTALL file, but somehow ls -> "CMakeLists.txt" triggers an automatic `cmake .` in my fingers :)

summary: - compile error (64bit linux)
+ compile error (64bit linux) [project doesn't compile in the root
+ directory (cmake .)]
Revision history for this message
qubodup (qubodup) wrote :

blender doesn't allow building in the root directory via cmake and it blocks if the user tries it. please checkout blender and make your system behave the same way, so no accidents can happen :)

http://www.blender.org/development/coding-guides/svn-checkout-and-usage/

although I would prefer if cmake in root would be allowed and creating a new subdir would be managed by cmake :)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.