Hi everybody,
I realized that during compilation time there will be a CMakeCache created; which is specific to our machine. Hence if we push the package (after compiling it) to a repo and someone else tries to compile it, they will get an error that the CMakeCache doesn't match the CMake on their current machine. The fix is simple - simply do a make clean
in the downloaded package directory and then try compiling it again. But, it would be nice if there's no cache included.
- Is there a way to disable the CMakeCache during compilation?
- Is it a good practice to compile a package and pushing it the repo? or should we just push an uncompiled and clean package (with only the source codes files) to the repo?
Originally posted by Haikal Pribadi on ROS Answers with karma: 103 on 2012-04-02
Post score: 1