Building using CMake: Difference between revisions

Jump to navigation Jump to search
Fixing tips in troubleshooting.
No edit summary
(Fixing tips in troubleshooting.)
Line 165: Line 165:
== Troubleshooting ==
== Troubleshooting ==


If you have strange errors when invoking cmake, for example you installed SimGear and when configuring flightgear to compile you get the error "Oops, you have installed SimGear includes, however test compiling failed. Try removing 'CMakeCache.txt' and reconfigure with 'cmake'." even though everything is apparently fine you should check how your filesystem is mounted, because if it is another partition it could be that is mounted with the "noexec" flag and cmake cannot work in that conditions.
If you get the error "Oops, you have installed SimGear includes, however test compiling failed. Try removing 'CMakeCache.txt' and reconfigure with 'cmake'." when trying to run cmake for flightgear it could be that you have an old SimGear version installed from your package manager.
 
If you get that error or anything strange even though all is apparently fine with matching simgear and flightgear versions you should check how your filesystem is mounted, because if it is an extra partition it could be that is mounted with the "noexec" flag and cmake cannot work in that conditions.


{{Building}}
{{Building}}
32

edits

Navigation menu