<html><head></head><body><div>My osg libraries are in /usr/local/lib64.  I built osgEarth and it found the osg libs, but the osgQt does not find the libs.  Not sure what is up with the osgQt.  I run ccmake to do the configure and it does not find the libraries.  Has anyone else had this issue?</div><div><br></div><div>Thanks,</div><div>Michael</div><div><br></div><div>On Wed, 2018-09-19 at 11:13 +0200, Mathieu MARACHE wrote:</div><blockquote type="cite"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hi Michael,<div><br></div><div>Thanks that help understanding the issue. CMake finds the include file named 'osg/Version' in /usr/local/include but fails to find any library for the following components 'osgDB', 'osgGA', 'osgUtil',  'osgText', 'osgViewer', 'osgWidget ' and lastly ''osg' not 'OpenThreads' itself.</div><div><br></div><div>For example it looks for osgDB for optimized libraries and osgDBd for debug libraries. Could you verify that your /usr/local/lib folder contains such libraries ?</div><div><br></div><div>I recall that on linux 64bits libraries may be installed in /usr/local/lib64 and not in /usr/local/lib (without the 64 appended).</div><div><br></div><div>If this is the case, you are then left with two options :</div><div><br></div><div>Option 1 you are the one building osg and installing it so you can modify osg's CMake install path for libraries.</div><div><br></div><div>You can call CMake to set LIB_POSTFIX to an empty string when configuring osg on your system</div><div>it is set by default to 64 when building on unix 64bits architectures</div><div><div>      SET(LIB_POSTFIX "64" CACHE STRING "suffix for 32/64 dir placement")</div></div><div><br></div><div>that would mean configuring like this :</div><div><br></div><div>$> cmake -DLIB_POSTFIX="" ....</div><div><br></div><div>Option 2 if you get osg from a package you need to modify your local copy of CMake's module to add the lib64 to the PATH_SUFFIXES. On your system that would be /usr/share/cmake-3.5/Modules/Findosg_functions.cmake . You need to modify two lines to replace </div><div><br></div><div>'PATH_SUFFIXES lib'</div><div><br></div><div>by </div><div><br></div><div>'PATH_SUFFIXES lib lib64'<br></div><div><br></div><div><br></div><div><br></div><div>HTH</div><div><div><div dir="ltr" class="gmail_signature"><div dir="ltr">--<br>nǝıɥʇɐ<span style="color:rgb(51,51,51);font-family:"Open Sans","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;line-height:20px;background-color:rgb(249,249,249)">Ɯ</span></div></div></div><br></div></div></div></div></div></div></div></div></div></div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Wed, 19 Sep 2018 at 03:54, Michael W. Hall <<a href="mailto:hallmw@att.net">hallmw@att.net</a>> wrote:<br></div><blockquote type="cite">Hope this is correct.<br>
<br>
On Tue, 2018-09-18 at 08:39 +0200, Mathieu MARACHE wrote:<br>
> Hi Micheal,<br>
> <br>
> This is not the output of cmake but the output of cmake determining<br>
> your compiler capabilities. I should have been more clear last time.<br>
> Please run:<br>
> <br>
> cmake --debug-output --trace-expand -DOpenSceneGraph_DEBUG=On . &><br>
> output.log<br>
> <br>
> and send back this output.log file that will contain everything cmake<br>
> has run through<br>
> <br>
> As a last note. It is always better to do out of source or below<br>
> source cmake like this :<br>
> <br>
> .../osgQt<br>
> .../osgQt-build<br>
> <br>
> the run cmake from osgQt-build like this :<br>
> <br>
> cmake --debug-output --trace-expand -DOpenSceneGraph_DEBUG=On<br>
> ../osgQt<br>
> &> output.log<br>
> <br>
> or<br>
> <br>
> .../osgQt<br>
> .../osgQt/build<br>
> <br>
> and run cmake from osgQt/build like this :<br>
> <br>
> cmake --debug-output --trace-expand -DOpenSceneGraph_DEBUG=On .. &><br>
> output.log<br>
> <br>
> I prefer the later and either way generated files won't lie with<br>
> original source code<br>
> <br>
> Regards,<br>
> Mathieu<br>
> <br>
> <br>
> On 18/09/2018, Michael W. Hall <<a href="mailto:hallmw@att.net" target="_blank">hallmw@att.net</a>> wrote:<br>
> > <br>
> > Just wondering the if anyone has noticed anything in the log files.<br>
> >  Still have not had any luck.<br>
> > Thanks,<br>
> > Michael<br>
> > On Sat, 2018-09-15 at 01:22 -0500, Michael W. Hall wrote:<br>
> > > <br>
> > > Here is the output you requested.<br>
> > > <br>
> > > Thanks,<br>
> > > Michael<br>
> > > <br>
> > > On Fri, 2018-09-14 at 17:18 +0200, Mathieu MARACHE wrote:<br>
> > > > <br>
> > > > Hi Michael,<br>
> > > > <br>
> > > > I'd like the output of the command :<br>
> > > > <br>
> > > > cmake -DOpenSceneGraph_DEBUG=On ./<br>
> > > > <br>
> > > > Regards<br>
> > > > --<br>
> > > > nǝıɥʇɐƜ<br>
> > > > <br>
> > > > <br>
> > > > On Wed, 12 Sep 2018 at 02:56, Michael W. Hall <<a href="mailto:hallmw@att.net" target="_blank">hallmw@att.net</a>><br>
> > > > wrote:<br>
> > > > > <br>
> > > > > I attached the log file.  When I do cmake, I am just doing<br>
> > > > > cmake<br>
> > > > > ./  I am not really sure what you are asking for in your<br>
> > > > > second<br>
> > > > > question.<br>
> > > > > <br>
> > > > > On Mon, 2018-09-10 at 18:12 +0200, Mathieu MARACHE wrote:<br>
> > > > > > <br>
> > > > > > Hi Michael,<br>
> > > > > > <br>
> > > > > > It's difficult to tell what went wrong, could you try to<br>
> > > > > > add<br>
> > > > > > the 'OpenSceneGraph_DEBUG' variable when running cmake ?<br>
> > > > > > And<br>
> > > > > > also include the parameters you set to your cmake call for<br>
> > > > > > osgQt ?<br>
> > > > > > <br>
> > > > > > > <br>
> > > > > > > cmake -DOpenSceneGraph_DEBUG=True ...<br>
> > > > > > Regards<br>
> > > > > > --<br>
> > > > > > nǝıɥʇɐƜ<br>
> > > > > > <br>
> > > > > > <br>
> > > > > > On Sun, 9 Sep 2018 at 08:04, Michael W. Hall <<a href="mailto:hallmw@att.ne" target="_blank">hallmw@att.ne</a><br>
> > > > > > t><br>
> > > > > > wrote:<br>
> > > > > > > <br>
> > > > > > > Got the osgQt from github.  When I try to configure I am<br>
> > > > > > > getting the following error.<br>
> > > > > > > <br>
> > > > > > >  CMake Error at<br>
> > > > > > >  /usr/share/cmake-<br>
> > > > > > > 3.5/Modules/FindPackageHandleStandardArgs.cmake:148<br>
> > > > > > >  (message):<br>
> > > > > > >    Could NOT find OpenSceneGraph (missing:<br>
> > > > > > > OPENSCENEGRAPH_LIBRARIES<br>
> > > > > > >    OSGDB_FOUND OSGGA_FOUND OSGUTIL_FOUND OSGTEXT_FOUND<br>
> > > > > > > OSGVIEWER_FOUND<br>
> > > > > > >    OSGWIDGET_FOUND OPENTHREADS_FOUND) (found suitable<br>
> > > > > > > version<br>
> > > > > > > "3.7.0", minimum<br>
> > > > > > >    required is "3.0.0")<br>
> > > > > > >  Call Stack (most recent call first):<br>
> > > > > > >    /usr/share/cmake-<br>
> > > > > > > 3.5/Modules/FindPackageHandleStandardArgs.cmake:388<br>
> > > > > > >  (_FPHSA_FAILURE_MESSAGE)<br>
> > > > > > >    /usr/share/cmake-<br>
> > > > > > > 3.5/Modules/FindOpenSceneGraph.cmake:234<br>
> > > > > > >  (FIND_PACKAGE_HANDLE_STANDARD_ARGS)<br>
> > > > > > >    CMakeLists.txt:130 (FIND_PACKAGE)<br>
> > > > > > > <br>
> > > > > > > I have osg 3.7.0 installed.  Any idea why it is not<br>
> > > > > > > finding<br>
> > > > > > > it?<br>
> > > > > > > <br>
> > > > > > > Thanks,<br>
> > > > > > > Michael<br>
> > > > > > > <br>
> > > > > > > On Sun, 2018-08-12 at 08:09 -0500, Michael W. Hall wrote:<br>
> > > > > > > > <br>
> > > > > > > > Thanks,<br>
> > > > > > > > <br>
> > > > > > > > On Sun, 2018-08-12 at 08:36 +0300, Konstantin Podsvirov<br>
> > > > > > > > wrote:<br>
> > > > > > > > > <br>
> > > > > > > > > Hello Michael!<br>
> > > > > > > > > <br>
> > > > > > > > > 0:13, 12 August 2018 г., "Michael W. Hall"<br>
> > > > > > > > > t>:<br>
> > > > > > > > > This may have been answered.  I got the latest<br>
> > > > > > > > > version of<br>
> > > > > > > > > OpenSceneGraph from github.  It is version 3.7.  I<br>
> > > > > > > > > built<br>
> > > > > > > > > and installed.<br>
> > > > > > > > > When I try to compile my program I am getting the<br>
> > > > > > > > > following error:<br>
> > > > > > > > > <br>
> > > > > > > > > In file included from<br>
> > > > > > > > > /home/hallmw/Projects/osgMap/applications/osgmap/osgm<br>
> > > > > > > > > ap.c<br>
> > > > > > > > > pp:12:0:<br>
> > > > > > > > > /home/hallmw/Projects/osgMap/include/osgmap/MainWindo<br>
> > > > > > > > > w:31<br>
> > > > > > > > > :34: fatal<br>
> > > > > > > > > error: osgQt/GraphicsWindowQt: No such file or<br>
> > > > > > > > > directory<br>
> > > > > > > > > <br>
> > > > > > > > > I can check that directory and there are no header<br>
> > > > > > > > > files<br>
> > > > > > > > > in it.  Any<br>
> > > > > > > > > idea whey they are missing?<br>
> > > > > > > > > <br>
> > > > > > > > > Thanks,<br>
> > > > > > > > > Michael<br>
> > > > > > > > > <br>
> > > > > > > > > The osgQt now is a separate project.<br>
> > > > > > > > > You should build and install osgQt too.<br>
> > > > > > > > > <br>
> > > > > > > > > <a href="https://github.com/openscenegraph/osgQt" rel="noreferrer" target="_blank">https://github.com/openscenegraph/osgQt</a><br>
> > > > > > > > > <br>
> > > > > > > > > --<br>
> > > > > > > > > Regards,<br>
> > > > > > > > > Konstantin Podsvirov<br>
> > > > > > > > > _______________________________________________<br>
> > > > > > > > > osg-users mailing list<br>
> > > > > > > > > <a href="mailto:osg-users@lists.openscenegraph.org" target="_blank">osg-users@lists.openscenegraph.org</a><br>
> > > > > > > > > <a href="http://lists.openscenegraph.org/listinfo.cgi/osg-user" rel="noreferrer" target="_blank">http://lists.openscenegraph.org/listinfo.cgi/osg-user</a><br>
> > > > > > > > > s-op<br>
> > > > > > > > > <a href="http://enscenegraphorg" rel="noreferrer" target="_blank">enscenegraph.org</a><br>
> > > > > > > > _______________________________________________<br>
> > > > > > > > osg-users mailing list<br>
> > > > > > > > <a href="mailto:osg-users@lists.openscenegraph.org" target="_blank">osg-users@lists.openscenegraph.org</a><br>
> > > > > > > > <a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-" rel="noreferrer" target="_blank">http://lists.openscenegraph.org/listinfo.cgi/osg-users-</a><br>
> > > > > > > > open<br>
> > > > > > > > <a href="http://scenegraph.org" rel="noreferrer" target="_blank">scenegraph.org</a><br>
> > > > > > > _______________________________________________<br>
> > > > > > > osg-users mailing list<br>
> > > > > > > <a href="mailto:osg-users@lists.openscenegraph.org" target="_blank">osg-users@lists.openscenegraph.org</a><br>
> > > > > > > <a href="http://lists.openscenegraphorg/listinfo.cgi/osg-users-ope" rel="noreferrer" target="_blank">http://lists.openscenegraphorg/listinfo.cgi/osg-users-ope</a><br>
> > > > > > > nsce<br>
> > > > > > > <a href="http://negraph.org" rel="noreferrer" target="_blank">negraph.org</a><br>
> > > > > > > <br>
> > > > > > _______________________________________________<br>
> > > > > > osg-users mailing list<br>
> > > > > > <a href="mailto:osg-users@lists.openscenegraph.org" target="_blank">osg-users@lists.openscenegraph.org</a><br>
> > > > > > <a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-open" rel="noreferrer" target="_blank">http://lists.openscenegraph.org/listinfo.cgi/osg-users-open</a><br>
> > > > > > scen<br>
> > > > > > <a href="http://egraph.org" rel="noreferrer" target="_blank">egraph.org</a><br>
> > > > > _______________________________________________<br>
> > > > > osg-users mailing list<br>
> > > > > <a href="mailto:osg-users@lists.openscenegraph.org" target="_blank">osg-users@lists.openscenegraph.org</a><br>
> > > > > <a href="http://lists.openscenegraphorg/listinfocgi/osg-users-opensce" rel="noreferrer" target="_blank">http://lists.openscenegraphorg/listinfo.cgi/osg-users-opensce</a><br>
> > > > > negr<br>
> > > > > <a href="http://aph.org" rel="noreferrer" target="_blank">aph.org</a><br>
> > > > > <br>
> > > > _______________________________________________<br>
> > > > osg-users mailing list<br>
> > > > <a href="mailto:osg-users@lists.openscenegraph.org" target="_blank">osg-users@lists.openscenegraph.org</a><br>
> > > > <a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscen" rel="noreferrer" target="_blank">http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscen</a><br>
> > > > egra<br>
> > > > <a href="http://ph.org" rel="noreferrer" target="_blank">ph.org</a><br>
> > > _______________________________________________<br>
> > > osg-users mailing list<br>
> > > <a href="mailto:osg-users@lists.openscenegraph.org" target="_blank">osg-users@lists.openscenegraph.org</a><br>
> > > <a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-opensceneg" rel="noreferrer" target="_blank">http://lists.openscenegraph.org/listinfo.cgi/osg-users-opensceneg</a><br>
> > > raph<br>
> > > .org<br>
> _______________________________________________<br>
osg-users mailing list<br>
<a href="mailto:osg-users@lists.openscenegraph.org" target="_blank">osg-users@lists.openscenegraph.org</a><br>
<a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" rel="noreferrer" target="_blank">http://lists.openscenegraphorg/listinfo.cgi/osg-users-openscenegraph.org</a><br>
<br></blockquote></div>
<pre>_______________________________________________
osg-users mailing list
<a href="mailto:osg-users@lists.openscenegraph.org">osg-users@lists.openscenegraph.org</a>
<a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org">http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org</a>
</pre></blockquote></body></html>