377
edits
m (→Prerequisites: Wording) |
(→OpenRTI undefined reference errors: Option --cleanup can simpify this) |
||
Line 636: | Line 636: | ||
=== OpenRTI undefined reference errors === | === OpenRTI undefined reference errors === | ||
Sometimes due to the way | |||
Sometimes, due to the way <tt>download_and_compile.sh</tt> builds projects, linking errors might occur. This is the case with the error “libRTI-NG.so: undefined reference to xxx”. You might want to patch the <tt>download_and_compile.sh</tt> script to clean OpenRTI with <code>rm -f CMakeCache.txt && rm -rf CMakeFiles/</code>, or just restart the build in a clean environment. Assuming you are in the base directory from which you ran <tt>download_and_compile.sh</tt>, you can run <code>download_and_compile.sh --cleanup</code> (see [[#Cleaning built and installed files|Cleaning built and installed files]]). Alternatively, the following command could be used: | |||
$ rm -rf build/* install/simgear/ install/openrti/ install/flightgear/share/ install/flightgear/bin/ | $ rm -rf build/* install/simgear/ install/openrti/ install/flightgear/share/ install/flightgear/bin/ | ||
See {{forum link|t=26244|text=this thread}} for more details. | See {{forum link|t=26244|text=this thread}} for more details. Note that <tt>download_and_compile.sh</tt> didn't have the <code>--cleanup</code> option at that time! | ||
== Options == | == Options == |
edits