<div dir="ltr"><div class="gmail_default" style="font-family:courier new,monospace">Chris --<br><br></div><div class="gmail_default" style="font-family:courier new,monospace">This is a Slackware64 14.2 + Multilib System.<br><br></div><div class="gmail_default" style="font-family:courier new,monospace">The 'root' directory name in OpenSceneGraph-3.5.5.tar.gz is kinda-sorta odd.<br><br></div><div class="gmail_default" style="font-family:courier new,monospace">What's in the OpenSceneGraph.tar.gz file is:<br><br>   OpenSceneGraph-OpenSceneGraph-3.5.5/<br><br></div><div class="gmail_default" style="font-family:courier new,monospace">What's expected in the OpenSceneGraph.SlackBuild file is:<br><br>   OpenSceneGraph-3.5.5/<br></div><div class="gmail_default" style="font-family:courier new,monospace"> <br></div><div class="gmail_default" style="font-family:courier new,monospace">This is perfectly fine for the first build -- the tar file is extracted into a new directory so all is well.<br><br></div><div class="gmail_default" style="font-family:courier new,monospace">However, when -or- if one needs to rebuild OpenSceneGraph ( like I did ) then the cmake build will 'continue' in the stale directory.<br><br></div><div class="gmail_default" style="font-family:courier new,monospace">Patch for the odd directory structure of the existing OpenSceneGraph-3.5.5.tar.gz is attached.<br><br></div><div class="gmail_default" style="font-family:courier new,monospace">Or maybe this should be reported upstream ???<br><br></div><div class="gmail_default" style="font-family:courier new,monospace">Here is another one ... I had the OPTIONAL Package fltk-1.3.3-x86_64-2_SBo.tgz installed for the flSynclient Package.<br><br></div><div class="gmail_default" style="font-family:courier new,monospace">It turns out that OpenSceneGraph will build example_osgviewerFLTK if FLTK is installed.<br><br></div><div class="gmail_default" style="font-family:courier new,monospace">However it fails for fltk-1.3.3.<br><br></div><div class="gmail_default" style="font-family:courier new,monospace">Here is the tail of my build log:<br></div><div class="gmail_default" style="font-family:courier new,monospace"><br>Scanning dependencies of target example_osgviewerFLTK<br>[100%] Building CXX object examples/osgviewerFLTK/CMakeFiles/example_osgviewerFLTK.dir/osgviewerFLTK.cpp.o<br>[100%] Linking CXX executable ../../bin/osgviewerFLTK<br>/usr/lib64/gcc/x86_64-slackware-linux/5.5.0/../../../../lib64/libfltk_gl.so: undefined reference to `Fl_XFont_On_Demand::value()'<br>collect2: error: ld returned 1 exit status<br>examples/osgviewerFLTK/CMakeFiles/example_osgviewerFLTK.dir/build.make:123: recipe for target 'bin/osgviewerFLTK' failed<br>make[2]: *** [bin/osgviewerFLTK] Error 1<br>CMakeFiles/Makefile2:18128: recipe for target 'examples/osgviewerFLTK/CMakeFiles/example_osgviewerFLTK.dir/all' failed<br>make[1]: *** [examples/osgviewerFLTK/CMakeFiles/example_osgviewerFLTK.dir/all] Error 2<br>Makefile:127: recipe for target 'all' failed<br>make: *** [all] Error 2<br><br></div><div class="gmail_default" style="font-family:courier new,monospace">I upgraded FLTK to version 1.3.4-2 ( yes ... it is 'dash 2' ) and OpenSceneGraph compiled and installed and runs properly now.<br></div><div class="gmail_default" style="font-family:courier new,monospace"><br></div><div class="gmail_default" style="font-family:courier new,monospace">One last thing I noticed ( :) I swear that is all :) ) that I am still trying to track down is that the $occ variables ( -DOPENCASCADE_INCLUDE_DIR -and- -DOPENCASCADE_LIBRARY_TYPE ) are both ignored by the OpenSceneGraph cmake configurator.<br><br></div><div class="gmail_default" style="font-family:courier new,monospace">Here is the log message:<br><br>   CMake Warning:<br>     Manually-specified variables were not used by the project:<br><br>       OPENCASCADE_INCLUDE_DIR<br>       OPENCASCADE_LIBRARY_TYPE<br><br></div><div class="gmail_default" style="font-family:courier new,monospace">Anyhow ... like I said, I am still looking into this one on my System.<br><br></div><div class="gmail_default" style="font-family:courier new,monospace">Thanks for all the SlackBuilds Chris !<br><br></div><div class="gmail_default" style="font-family:courier new,monospace">-- kjh<br></div></div>