Linking CXX executable fgfs
/usr/bin/ld: CMakeFiles/fgfs.dir/__/Sound/voice.cxx.o: undefined reference to symbol 'OpenThreads::Thread::setProcessorAffinity(unsigned int)'
/usr/bin/ld: note: 'OpenThreads::Thread::setProcessorAffinity(unsigned int)' is defined in DSO /home/flight/FG/install/OpenSceneGraph/lib/libOpenThreads.so.12 so try adding it to the linker command line
/home/flight/FG/install/OpenSceneGraph/lib/libOpenThreads.so.12: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[2]: *** [src/Main/fgfs] Error 1
make[1]: *** [src/Main/CMakeFiles/fgfs.dir/all] Error 2
How can that be, and how to resolve...
I must say, I did a copy of the plib osg and simgear to /usr/local/... But now it searches in the local-flightgear-develop tree and in /usr/local/...
The copy was needed because it kept complaining not finding several libs. ( I would love, download_and_compile had also an install option...)