<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">Dang !  <br><br>I should have noted that I am running Slackware64 14.2 + Multilib + NVIDIA-Linux-x86_64-390.59.run <br><br>And looking at my SlackBuild Wrapper ( attached ), I probably should have noted the OPTIONAL Dependencies too.<br><br></div><div class="gmail_default" style="font-family:courier new,monospace">Note the nvidia-texture-tools Package.<br></div><div class="gmail_default" style="font-family:courier new,monospace">#<br># built and installed B80525<br>#<br># dcmtk                - dcmtk-3.6.3-x86_64-1_SBo<br># libgta               - libgta-1.0.8-x86_64-1_SBo<br># nvidia-texture-tools - nvidia-texture-tools-2.1.1-x86_64-1_SBo<br># slurm                x not needed<br># openmpi              - openmpi-2.1.1-x86_64-1_SBo<br># python-twisted       x skipped - too many dependencies<br># VTK                  - VTK-8.1.1-x86_64-1_SBo<br># FreeImage            - FreeImage-3.17.0-x86_64-1_SBo<br># tbb                  - tbb-2018u3-x86_64-1_SBo<br># gl2ps                - gl2ps-1.3.7-x86_64-1_SBo<br># OpenCASCADE          - OpenCASCADE-6.9.1-x86_64-3_SBo<br># SDL2                 - SDL2-2.0.8-x86_64-1_SBo<br>#<br><br></div><div class="gmail_default" style="font-family:courier new,monospace">Also note that the SlackBuild wrapper generates a log file for each VERSION + TAG so I do have the full log <br>where the initial osg build failed with fltk-1.3.3 ( not TOO huge at 266,487 bytes )<br><br></div><div class="gmail_default" style="font-family:courier new,monospace">Thanks for looking at this Chris and thanks for the info about the Official extra/fltk/ Package !<br><br></div><div class="gmail_default" style="font-family:courier new,monospace">-- kjh<br></div><div class="gmail_default" style="font-family:courier new,monospace"><br><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, May 27, 2018 at 2:31 AM, Christoph Willing <span dir="ltr"><<a href="mailto:chris.willing@iinet.net.au" target="_blank">chris.willing@iinet.net.au</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On 27/05/18 12:46, Christoph Willing wrote:<br>
> On 27/05/18 10:25, Christoph Willing wrote:<br>
>> On 27/05/18 05:46, Konrad J Hambrick wrote:<br>
> [snip]<br>
>><br>
>>> Here is another one ... I had the OPTIONAL Package<br>
>>> fltk-1.3.3-x86_64-2_SBo.tgz installed for the flSynclient Package.<br>
>>><br>
>>> It turns out that OpenSceneGraph will build example_osgviewerFLTK if<br>
>>> FLTK is installed.<br>
>>><br>
>>> However it fails for fltk-1.3.3.<br>
>>><br>
>>> Here is the tail of my build log:<br>
>>><br>
>>> Scanning dependencies of target example_osgviewerFLTK<br>
>>> [100%] Building CXX object<br>
>>> examples/osgviewerFLTK/<wbr>CMakeFiles/example_<wbr>osgviewerFLTK.dir/<wbr>osgviewerFLTK.cpp.o<br>
>>> [100%] Linking CXX executable ../../bin/osgviewerFLTK<br>
>>> /usr/lib64/gcc/x86_64-<wbr>slackware-linux/5.5.0/../../..<wbr>/../lib64/libfltk_gl.so:<br>
>>> undefined reference to `Fl_XFont_On_Demand::value()'<br>
>>> collect2: error: ld returned 1 exit status<br>
>>> examples/osgviewerFLTK/<wbr>CMakeFiles/example_<wbr>osgviewerFLTK.dir/build.make:<wbr>123:<br>
>>> recipe for target 'bin/osgviewerFLTK' failed<br>
>>> make[2]: *** [bin/osgviewerFLTK] Error 1<br>
>>> CMakeFiles/Makefile2:18128: recipe for target<br>
>>> 'examples/osgviewerFLTK/<wbr>CMakeFiles/example_<wbr>osgviewerFLTK.dir/all' failed<br>
>>> make[1]: ***<br>
>>> [examples/osgviewerFLTK/<wbr>CMakeFiles/example_<wbr>osgviewerFLTK.dir/all] Error 2<br>
>>> Makefile:127: recipe for target 'all' failed<br>
>>> make: *** [all] Error 2<br>
>>><br>
>>> I upgraded FLTK to version 1.3.4-2 ( yes ... it is 'dash 2' ) and<br>
>>> OpenSceneGraph compiled and installed and runs properly now.<br>
>>><br>
>> I thought I'd covered all the bases before updating the OSG version but<br>
>> missed this one (obviously!). I'll look at it during the week.<br>
>><br>
> <br>
> Actually, I can't replicate this problem. In a clean VM with newly built<br>
> /var/log/packages/fltk-1.3.3-<wbr>x86_64-2 installed I see:<br>
> <br>
> Scanning dependencies of target example_osgviewerFLTK<br>
> [ 80%] Building CXX object<br>
> examples/osgviewerFLTK/<wbr>CMakeFiles/example_<wbr>osgviewerFLTK.dir/<wbr>osgviewerFLTK.cpp.o<br>
> [ 81%] Linking CXX executable ../../bin/osgviewerFLTK<br>
> [ 81%] Built target example_osgviewerFLTK<br>
> <br>
> If I run (still in the VM so with limited GL capability) the command:<br>
>     strings /usr/lib64/libfltk_gl.so.1.3 |less<br>
> and search for XFont, I see a single reference:<br>
>     glXUseXFont<br>
> <br>
> In a real machine with Nvidia graphics and binary driver, the same<br>
> search reveals:<br>
>     _ZN18Fl_XFont_On_<wbr>Demand5valueEv<br>
>     glGenLists<br>
>     glXUseXFont<br>
> <br>
> Seeing that difference in varying graphics environments (although<br>
> compilation continues to completion in both these particular cases) I<br>
> wonder if the issue you're seeing is due to your (perhaps even more<br>
> different) graphics environment (Intel, nouveau, ...)? That wouldn't<br>
> necessarily explain why it worked for you with updated fltk though. Or,<br>
> maybe your fltk-1.3.3 was built some time ago - _before_ you updated<br>
> your graphics hardware/driver (so failed) but your fltk-1.3.4-2<br>
> succeeded because you just built it now using the updated graphics<br>
> hardware/driver.<br>
> <br>
> Anyway, I'll email the fltk maintainer and ask if he's prepared to<br>
> upgrade the version. My stored source tarball fltk-1.3.3-source.tar.gz<br>
> is dated Nov 4 2014 i.e. it's a pretty old version. However fltk seems<br>
> to have a ton of dependent SlackBuilds so checking all of them with a<br>
> newer fltk won't be trivial.<br>
><br>
<br>
</div></div>Just as well I did some more checking before emailing the maintainer. It<br>
turns out that the SBo fltk is excess to requirements since there is<br>
already an fltk package in stock Slackware's extra. I guess that means<br>
the version in extra won't be updated. However the version at SBo is a<br>
mystery - from the git log it seems to be renamed some time ago from<br>
fltk13 but I don't understand why it still exists at all now that we<br>
have the fltk in extra.<br>
<br>
I see from your original email that you were using an SBo build<br>
(fltk-1.3.3-x86_64-2_SBo.tgz). I wonder if your OpenSceneGraph would<br>
succeed if you removed that version and installed the version from<br>
extra? I guess you're happy anyway having upgraded your local fltk and<br>
built OSG with that but it would be nice to know whether you could build<br>
it with the fltk from extra (as it does here).<br>
<br>
chris<br>
</blockquote></div><br></div>