OpenSceneGraph Forum Forum Index OpenSceneGraph Forum
Official forum which mirrors the existent OSG mailing lists. Messages posted here are forwarded to the mailing list and vice versa.
 
   FAQFAQ    SearchSearch    MemberlistMemberlist    RulesRules    UsergroupsUsergroups    RegisterRegister 
 Mail2Forum SettingsMail2Forum Settings  ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
   AlbumAlbum  OpenSceneGraph IRC ChatOpenSceneGraph IRC Chat   SmartFeedSmartFeed 

osgQt include files

Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9, 10
 
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> General
View previous topic :: View next topic  
Author Message
Mathieu (Mathieu MARACHE)
Appreciator


Joined: 29 Oct 2009
Posts: 115

PostPosted: Thu Sep 20, 2018 2:35 am    Post subject:
osgQt include files
Reply with quote

Hi Micheal,

This is not the output of cmake but the output of cmake determining
your compiler capabilities. I should have been more clear last time.
Please run:

cmake --debug-output --trace-expand -DOpenSceneGraph_DEBUG=On . &> output.log

and send back this output.log file that will contain everything cmake
has run through

As a last note. It is always better to do out of source or below
source cmake like this :

.../osgQt
.../osgQt-build

the run cmake from osgQt-build like this :

cmake --debug-output --trace-expand -DOpenSceneGraph_DEBUG=On ../osgQt
&> output.log

or

.../osgQt
.../osgQt/build

and run cmake from osgQt/build like this :

cmake --debug-output --trace-expand -DOpenSceneGraph_DEBUG=On .. &> output.log

I prefer the later and either way generated files won't lie with
original source code

Regards,
Mathieu


On 18/09/2018, Michael W. Hall <> wrote:
Quote:
Just wondering the if anyone has noticed anything in the log files.
 Still have not had any luck.
Thanks,
Michael
On Sat, 2018-09-15 at 01:22 -0500, Michael W. Hall wrote:
Quote:
Here is the output you requested.

Thanks,
Michael

On Fri, 2018-09-14 at 17:18 +0200, Mathieu MARACHE wrote:
Quote:
Hi Michael,

I'd like the output of the command :

cmake -DOpenSceneGraph_DEBUG=On ./

Regards
--
nǝıɥʇɐƜ


On Wed, 12 Sep 2018 at 02:56, Michael W. Hall <>
wrote:
Quote:
I attached the log file.  When I do cmake, I am just doing cmake
./  I am not really sure what you are asking for in your second
question.

On Mon, 2018-09-10 at 18:12 +0200, Mathieu MARACHE wrote:
Quote:
Hi Michael,

It's difficult to tell what went wrong, could you try to add
the 'OpenSceneGraph_DEBUG' variable when running cmake ? And
also include the parameters you set to your cmake call for
osgQt ?

Quote:
cmake -DOpenSceneGraph_DEBUG=True ...

Regards
--
nǝıɥʇɐƜ


On Sun, 9 Sep 2018 at 08:04, Michael W. Hall <>
wrote:
Quote:
Got the osgQt from github.  When I try to configure I am
getting the following error.

 CMake Error at
 /usr/share/cmake-
3.5/Modules/FindPackageHandleStandardArgs.cmake:148
 (message):
   Could NOT find OpenSceneGraph (missing:
OPENSCENEGRAPH_LIBRARIES
   OSGDB_FOUND OSGGA_FOUND OSGUTIL_FOUND OSGTEXT_FOUND
OSGVIEWER_FOUND
   OSGWIDGET_FOUND OPENTHREADS_FOUND) (found suitable version
"3.7.0", minimum
   required is "3.0.0")
 Call Stack (most recent call first):
   /usr/share/cmake-
3.5/Modules/FindPackageHandleStandardArgs.cmake:388
 (_FPHSA_FAILURE_MESSAGE)
   /usr/share/cmake-3.5/Modules/FindOpenSceneGraph.cmake:234
 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
   CMakeLists.txt:130 (FIND_PACKAGE)

I have osg 3.7.0 installed.  Any idea why it is not finding
it?

Thanks,
Michael

On Sun, 2018-08-12 at 08:09 -0500, Michael W. Hall wrote:
Quote:
Thanks,

On Sun, 2018-08-12 at 08:36 +0300, Konstantin Podsvirov
wrote:
Quote:
Hello Michael!

0:13, 12 August 2018 г., "Michael W. Hall"
t>:
This may have been answered.  I got the latest version of
OpenSceneGraph from github.  It is version 3.7.  I built
and installed.
When I try to compile my program I am getting the
following error:

In file included from
/home/hallmw/Projects/osgMap/applications/osgmap/osgmap.c
pp:12:0:
/home/hallmw/Projects/osgMap/include/osgmap/MainWindow:31
:34: fatal
error: osgQt/GraphicsWindowQt: No such file or directory

I can check that directory and there are no header files
in it.  Any
idea whey they are missing?

Thanks,
Michael

The osgQt now is a separate project.
You should build and install osgQt too.

https://github.com/openscenegraph/osgQt

--
Regards,
Konstantin Podsvirov

enscenegraph.org

scenegraph.org

negraph.org


egraph.org

aph.org


ph.org

.org


--
--
nǝıɥʇɐƜ


------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
Michael W. Hall
Guest





PostPosted: Thu Sep 20, 2018 3:05 am    Post subject:
osgQt include files
Reply with quote

Hope this is correct.

On Tue, 2018-09-18 at 08:39 +0200, Mathieu MARACHE wrote:
Quote:
Hi Micheal,

This is not the output of cmake but the output of cmake determining
your compiler capabilities. I should have been more clear last time.
Please run:

cmake --debug-output --trace-expand -DOpenSceneGraph_DEBUG=On . &>
output.log

and send back this output.log file that will contain everything cmake
has run through

As a last note. It is always better to do out of source or below
source cmake like this :

.../osgQt
.../osgQt-build

the run cmake from osgQt-build like this :

cmake --debug-output --trace-expand -DOpenSceneGraph_DEBUG=On
../osgQt
&> output.log

or

.../osgQt
.../osgQt/build

and run cmake from osgQt/build like this :

cmake --debug-output --trace-expand -DOpenSceneGraph_DEBUG=On .. &>
output.log

I prefer the later and either way generated files won't lie with
original source code

Regards,
Mathieu


On 18/09/2018, Michael W. Hall <> wrote:
Quote:

Just wondering the if anyone has noticed anything in the log files.
 Still have not had any luck.
Thanks,
Michael
On Sat, 2018-09-15 at 01:22 -0500, Michael W. Hall wrote:
Quote:

Here is the output you requested.

Thanks,
Michael

On Fri, 2018-09-14 at 17:18 +0200, Mathieu MARACHE wrote:
Quote:

Hi Michael,

I'd like the output of the command :

cmake -DOpenSceneGraph_DEBUG=On ./

Regards
--
nǝıɥʇɐƜ


On Wed, 12 Sep 2018 at 02:56, Michael W. Hall <>
wrote:
Quote:

I attached the log file.  When I do cmake, I am just doing
cmake
./  I am not really sure what you are asking for in your
second
question.

On Mon, 2018-09-10 at 18:12 +0200, Mathieu MARACHE wrote:
Quote:

Hi Michael,

It's difficult to tell what went wrong, could you try to
add
the 'OpenSceneGraph_DEBUG' variable when running cmake ?
And
also include the parameters you set to your cmake call for
osgQt ?

Quote:

cmake -DOpenSceneGraph_DEBUG=True ...
Regards
--
nǝıɥʇɐƜ


On Sun, 9 Sep 2018 at 08:04, Michael W. Hall <
t>
wrote:
Quote:

Got the osgQt from github.  When I try to configure I am
getting the following error.

 CMake Error at
 /usr/share/cmake-
3.5/Modules/FindPackageHandleStandardArgs.cmake:148
 (message):
   Could NOT find OpenSceneGraph (missing:
OPENSCENEGRAPH_LIBRARIES
   OSGDB_FOUND OSGGA_FOUND OSGUTIL_FOUND OSGTEXT_FOUND
OSGVIEWER_FOUND
   OSGWIDGET_FOUND OPENTHREADS_FOUND) (found suitable
version
"3.7.0", minimum
   required is "3.0.0")
 Call Stack (most recent call first):
   /usr/share/cmake-
3.5/Modules/FindPackageHandleStandardArgs.cmake:388
 (_FPHSA_FAILURE_MESSAGE)
   /usr/share/cmake-
3.5/Modules/FindOpenSceneGraph.cmake:234
 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
   CMakeLists.txt:130 (FIND_PACKAGE)

I have osg 3.7.0 installed.  Any idea why it is not
finding
it?

Thanks,
Michael

On Sun, 2018-08-12 at 08:09 -0500, Michael W. Hall wrote:
Quote:

Thanks,

On Sun, 2018-08-12 at 08:36 +0300, Konstantin Podsvirov
wrote:
Quote:

Hello Michael!

0:13, 12 August 2018 г., "Michael W. Hall"
t>:
This may have been answered.  I got the latest
version of
OpenSceneGraph from github.  It is version 3.7.  I
built
and installed.
When I try to compile my program I am getting the
following error:

In file included from
/home/hallmw/Projects/osgMap/applications/osgmap/osgm
ap.c
pp:12:0:
/home/hallmw/Projects/osgMap/include/osgmap/MainWindo
w:31
:34: fatal
error: osgQt/GraphicsWindowQt: No such file or
directory

I can check that directory and there are no header
files
in it.  Any
idea whey they are missing?

Thanks,
Michael

The osgQt now is a separate project.
You should build and install osgQt too.

https://github.com/openscenegraph/osgQt

--
Regards,
Konstantin Podsvirov

s-op
enscenegraph.org

open
scenegraph.org

nsce
negraph.org


scen
egraph.org

negr
aph.org


egra
ph.org

raph
.org



------------------
Post generated by Mail2Forum
Back to top
Michael W. Hall
Guest





PostPosted: Sat Sep 22, 2018 5:05 am    Post subject:
osgQt include files
Reply with quote

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?


Thanks,
Michael


On Wed, 2018-09-19 at 11:13 +0200, Mathieu MARACHE wrote:
Quote:
Hi Michael,

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.


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 ?


I recall that on linux 64bits libraries may be installed in /usr/local/lib64 and not in /usr/local/lib (without the 64 appended).


If this is the case, you are then left with two options :


Option 1 you are the one building osg and installing it so you can modify osg's CMake install path for libraries.


You can call CMake to set LIB_POSTFIX to an empty string when configuring osg on your system
it is set by default to 64 when building on unix 64bits architectures
SET(LIB_POSTFIX "64" CACHE STRING "suffix for 32/64 dir placement")



that would mean configuring like this :


$> cmake -DLIB_POSTFIX="" ....


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


'PATH_SUFFIXES lib'


by


'PATH_SUFFIXES lib lib64'







HTH
--
nǝıɥʇɐƜ


















On Wed, 19 Sep 2018 at 03:54, Michael W. Hall < (
Only registered users can see emails on this board!
Get registred or enter the forums!
)> wrote:

Quote:
Hope this is correct.

On Tue, 2018-09-18 at 08:39 +0200, Mathieu MARACHE wrote:
Quote:
Hi Micheal,

This is not the output of cmake but the output of cmake determining
your compiler capabilities. I should have been more clear last time.
Please run:

cmake --debug-output --trace-expand -DOpenSceneGraph_DEBUG=On . &>
output.log

and send back this output.log file that will contain everything cmake
has run through

As a last note. It is always better to do out of source or below
source cmake like this :

.../osgQt
.../osgQt-build

the run cmake from osgQt-build like this :

cmake --debug-output --trace-expand -DOpenSceneGraph_DEBUG=On
../osgQt
&> output.log

or

.../osgQt
.../osgQt/build

and run cmake from osgQt/build like this :

cmake --debug-output --trace-expand -DOpenSceneGraph_DEBUG=On .. &>
output.log

I prefer the later and either way generated files won't lie with
original source code

Regards,
Mathieu


On 18/09/2018, Michael W. Hall < (
Only registered users can see emails on this board!
Get registred or enter the forums!
)> wrote:
Quote:

Just wondering the if anyone has noticed anything in the log files.
Still have not had any luck.
Thanks,
Michael
On Sat, 2018-09-15 at 01:22 -0500, Michael W. Hall wrote:
Quote:

Here is the output you requested.

Thanks,
Michael

On Fri, 2018-09-14 at 17:18 +0200, Mathieu MARACHE wrote:
Quote:

Hi Michael,

I'd like the output of the command :

cmake -DOpenSceneGraph_DEBUG=On ./

Regards
--
nǝıɥʇɐƜ


On Wed, 12 Sep 2018 at 02:56, Michael W. Hall < (
Only registered users can see emails on this board!
Get registred or enter the forums!
)>
wrote:
Quote:

I attached the log file. When I do cmake, I am just doing
cmake
./ I am not really sure what you are asking for in your
second
question.

On Mon, 2018-09-10 at 18:12 +0200, Mathieu MARACHE wrote:
Quote:

Hi Michael,

It's difficult to tell what went wrong, could you try to
add
the 'OpenSceneGraph_DEBUG' variable when running cmake ?
And
also include the parameters you set to your cmake call for
osgQt ?

Quote:

cmake -DOpenSceneGraph_DEBUG=True ...
Regards
--
nǝıɥʇɐƜ


On Sun, 9 Sep 2018 at 08:04, Michael W. Hall < (
Only registered users can see emails on this board!
Get registred or enter the forums!
)
t>
wrote:
Quote:

Got the osgQt from github. When I try to configure I am
getting the following error.

CMake Error at
/usr/share/cmake-
3.5/Modules/FindPackageHandleStandardArgs.cmake:148
(message):
Could NOT find OpenSceneGraph (missing:
OPENSCENEGRAPH_LIBRARIES
OSGDB_FOUND OSGGA_FOUND OSGUTIL_FOUND OSGTEXT_FOUND
OSGVIEWER_FOUND
OSGWIDGET_FOUND OPENTHREADS_FOUND) (found suitable
version
"3.7.0", minimum
required is "3.0.0")
Call Stack (most recent call first):
/usr/share/cmake-
3.5/Modules/FindPackageHandleStandardArgs.cmake:388
(_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-
3.5/Modules/FindOpenSceneGraph.cmake:234
(FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:130 (FIND_PACKAGE)

I have osg 3.7.0 installed. Any idea why it is not
finding
it?

Thanks,
Michael

On Sun, 2018-08-12 at 08:09 -0500, Michael W. Hall wrote:
Quote:

Thanks,

On Sun, 2018-08-12 at 08:36 +0300, Konstantin Podsvirov
wrote:
Quote:

Hello Michael!

0:13, 12 August 2018 г., "Michael W. Hall"
t>:
This may have been answered. I got the latest
version of
OpenSceneGraph from github. It is version 3.7. I
built
and installed.
When I try to compile my program I am getting the
following error:

In file included from
/home/hallmw/Projects/osgMap/applications/osgmap/osgm
ap.c
pp:12:0:
/home/hallmw/Projects/osgMap/include/osgmap/MainWindo
w:31
:34: fatal
error: osgQt/GraphicsWindowQt: No such file or
directory

I can check that directory and there are no header
files
in it. Any
idea whey they are missing?

Thanks,
Michael

The osgQt now is a separate project.
You should build and install osgQt too.

https://github.com/openscenegraph/osgQt

--
Regards,
Konstantin Podsvirov
_______________________________________________
osg-users mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraph.org/listinfo.cgi/osg-user
s-op
enscenegraph.org
_______________________________________________
osg-users mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraph.org/listinfo.cgi/osg-users-
open
scenegraph.org
_______________________________________________
osg-users mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraphorg/listinfo.cgi/osg-users-ope
nsce
negraph.org

_______________________________________________
osg-users mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraph.org/listinfo.cgi/osg-users-open
scen
egraph.org
_______________________________________________
osg-users mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraphorg/listinfo.cgi/osg-users-opensce
negr
aph.org

_______________________________________________
osg-users mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscen
egra
ph.org
_______________________________________________
osg-users mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraph.org/listinfo.cgi/osg-users-opensceneg
raph
.org
_______________________________________________
osg-users mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraphorg/listinfo.cgi/osg-users-openscenegraph.org

_______________________________________________
osg-users mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


------------------
Post generated by Mail2Forum
Back to top
Michael W. Hall
Guest





PostPosted: Mon Sep 24, 2018 1:49 am    Post subject:
osgQt include files
Reply with quote

Well I built OSG and did not install from a package. I made the change in Option two. I changed the two lines to add lib64. I also had to add /usr/local to the PATHS section. That got rid of some of the error. It now finds all but osg. Not sure what it up. I see the libosg library in the /usr/local/lib64 directory. Still working on it.


Thanks,
Michael


On Sat, 2018-09-22 at 00:04 -0500, Michael W. Hall wrote:
Quote:
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?


Thanks,
Michael


On Wed, 2018-09-19 at 11:13 +0200, Mathieu MARACHE wrote:
Quote:
Hi Michael,

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.


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 ?


I recall that on linux 64bits libraries may be installed in /usr/local/lib64 and not in /usr/local/lib (without the 64 appended).


If this is the case, you are then left with two options :


Option 1 you are the one building osg and installing it so you can modify osg's CMake install path for libraries.


You can call CMake to set LIB_POSTFIX to an empty string when configuring osg on your system
it is set by default to 64 when building on unix 64bits architectures
SET(LIB_POSTFIX "64" CACHE STRING "suffix for 32/64 dir placement")



that would mean configuring like this :


$> cmake -DLIB_POSTFIX="" ....


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


'PATH_SUFFIXES lib'


by


'PATH_SUFFIXES lib lib64'







HTH
--
nǝıɥʇɐƜ


















On Wed, 19 Sep 2018 at 03:54, Michael W. Hall < (
Only registered users can see emails on this board!
Get registred or enter the forums!
)> wrote:

Quote:
Hope this is correct.

On Tue, 2018-09-18 at 08:39 +0200, Mathieu MARACHE wrote:
Quote:
Hi Micheal,

This is not the output of cmake but the output of cmake determining
your compiler capabilities. I should have been more clear last time.
Please run:

cmake --debug-output --trace-expand -DOpenSceneGraph_DEBUG=On . &>
output.log

and send back this output.log file that will contain everything cmake
has run through

As a last note. It is always better to do out of source or below
source cmake like this :

.../osgQt
.../osgQt-build

the run cmake from osgQt-build like this :

cmake --debug-output --trace-expand -DOpenSceneGraph_DEBUG=On
../osgQt
&> output.log

or

.../osgQt
.../osgQt/build

and run cmake from osgQt/build like this :

cmake --debug-output --trace-expand -DOpenSceneGraph_DEBUG=On .. &>
output.log

I prefer the later and either way generated files won't lie with
original source code

Regards,
Mathieu


On 18/09/2018, Michael W. Hall < (
Only registered users can see emails on this board!
Get registred or enter the forums!
)> wrote:
Quote:

Just wondering the if anyone has noticed anything in the log files.
Still have not had any luck.
Thanks,
Michael
On Sat, 2018-09-15 at 01:22 -0500, Michael W. Hall wrote:
Quote:

Here is the output you requested.

Thanks,
Michael

On Fri, 2018-09-14 at 17:18 +0200, Mathieu MARACHE wrote:
Quote:

Hi Michael,

I'd like the output of the command :

cmake -DOpenSceneGraph_DEBUG=On ./

Regards
--
nǝıɥʇɐƜ


On Wed, 12 Sep 2018 at 02:56, Michael W. Hall < (
Only registered users can see emails on this board!
Get registred or enter the forums!
)>
wrote:
Quote:

I attached the log file. When I do cmake, I am just doing
cmake
./ I am not really sure what you are asking for in your
second
question.

On Mon, 2018-09-10 at 18:12 +0200, Mathieu MARACHE wrote:
Quote:

Hi Michael,

It's difficult to tell what went wrong, could you try to
add
the 'OpenSceneGraph_DEBUG' variable when running cmake ?
And
also include the parameters you set to your cmake call for
osgQt ?

Quote:

cmake -DOpenSceneGraph_DEBUG=True ...
Regards
--
nǝıɥʇɐƜ


On Sun, 9 Sep 2018 at 08:04, Michael W. Hall < (
Only registered users can see emails on this board!
Get registred or enter the forums!
)
t>
wrote:
Quote:

Got the osgQt from github. When I try to configure I am
getting the following error.

CMake Error at
/usr/share/cmake-
3.5/Modules/FindPackageHandleStandardArgs.cmake:148
(message):
Could NOT find OpenSceneGraph (missing:
OPENSCENEGRAPH_LIBRARIES
OSGDB_FOUND OSGGA_FOUND OSGUTIL_FOUND OSGTEXT_FOUND
OSGVIEWER_FOUND
OSGWIDGET_FOUND OPENTHREADS_FOUND) (found suitable
version
"3.7.0", minimum
required is "3.0.0")
Call Stack (most recent call first):
/usr/share/cmake-
3.5/Modules/FindPackageHandleStandardArgs.cmake:388
(_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-
3.5/Modules/FindOpenSceneGraph.cmake:234
(FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:130 (FIND_PACKAGE)

I have osg 3.7.0 installed. Any idea why it is not
finding
it?

Thanks,
Michael

On Sun, 2018-08-12 at 08:09 -0500, Michael W. Hall wrote:
Quote:

Thanks,

On Sun, 2018-08-12 at 08:36 +0300, Konstantin Podsvirov
wrote:
Quote:

Hello Michael!

0:13, 12 August 2018 г., "Michael W. Hall"
t>:
This may have been answered. I got the latest
version of
OpenSceneGraph from github. It is version 3.7. I
built
and installed.
When I try to compile my program I am getting the
following error:

In file included from
/home/hallmw/Projects/osgMap/applications/osgmap/osgm
ap.c
pp:12:0:
/home/hallmw/Projects/osgMap/include/osgmap/MainWindo
w:31
:34: fatal
error: osgQt/GraphicsWindowQt: No such file or
directory

I can check that directory and there are no header
files
in it. Any
idea whey they are missing?

Thanks,
Michael

The osgQt now is a separate project.
You should build and install osgQt too.

https://github.com/openscenegraph/osgQt

--
Regards,
Konstantin Podsvirov
_______________________________________________
osg-users mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraph.org/listinfo.cgi/osg-user
s-op
enscenegraph.org
_______________________________________________
osg-users mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraph.org/listinfo.cgi/osg-users-
open
scenegraph.org
_______________________________________________
osg-users mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraphorg/listinfo.cgi/osg-users-ope
nsce
negraph.org

_______________________________________________
osg-users mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraph.org/listinfo.cgi/osg-users-open
scen
egraph.org
_______________________________________________
osg-users mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraphorg/listinfo.cgi/osg-users-opensce
negr
aph.org

_______________________________________________
osg-users mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscen
egra
ph.org
_______________________________________________
osg-users mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraph.org/listinfo.cgi/osg-users-opensceneg
raph
.org
_______________________________________________
osg-users mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraphorg/listinfo.cgi/osg-users-openscenegraph.org

_______________________________________________
osg-users mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


------------------
Post generated by Mail2Forum
Back to top
Mathieu (Mathieu MARACHE)
Appreciator


Joined: 29 Oct 2009
Posts: 115

PostPosted: Tue Sep 25, 2018 3:31 pm    Post subject:
osgQt include files
Reply with quote

osgEarth provides it's own set of FindOSG macros that correct the vanilla CMake ones...--
nǝıɥʇɐƜ





On Mon, 24 Sep 2018 at 03:49, Michael W. Hall < (
Only registered users can see emails on this board!
Get registred or enter the forums!
)> wrote:

Quote:
Well I built OSG and did not install from a package.  I made the change in Option two.  I changed the two lines to add lib64.  I also had to add /usr/local to the PATHS section.  That got rid of some of the error.  It now finds all but osg.  Not sure what it up.  I see the libosg library in the /usr/local/lib64 directory.  Still working on it.


Thanks,
Michael


On Sat, 2018-09-22 at 00:04 -0500, Michael W. Hall wrote:
Quote:
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?


Thanks,
Michael


On Wed, 2018-09-19 at 11:13 +0200, Mathieu MARACHE wrote:
Quote:
Hi Michael,

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.


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 ?


I recall that on linux 64bits libraries may be installed in /usr/local/lib64 and not in /usr/local/lib (without the 64 appended).


If this is the case, you are then left with two options :


Option 1 you are the one building osg and installing it so you can modify osg's CMake install path for libraries.


You can call CMake to set LIB_POSTFIX to an empty string when configuring osg on your system
it is set by default to 64 when building on unix 64bits architectures
      SET(LIB_POSTFIX "64" CACHE STRING "suffix for 32/64 dir placement")



that would mean configuring like this :


$> cmake -DLIB_POSTFIX="" ....


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 


'PATH_SUFFIXES lib'


by 


'PATH_SUFFIXES lib lib64'







HTH
--
nǝıɥʇɐƜ


















On Wed, 19 Sep 2018 at 03:54, Michael W. Hall < (
Only registered users can see emails on this board!
Get registred or enter the forums!
)> wrote:

Quote:
Hope this is correct.

On Tue, 2018-09-18 at 08:39 +0200, Mathieu MARACHE wrote:
Quote:
Hi Micheal,

This is not the output of cmake but the output of cmake determining
your compiler capabilities. I should have been more clear last time.
Please run:

cmake --debug-output --trace-expand -DOpenSceneGraph_DEBUG=On . &>
output.log

and send back this output.log file that will contain everything cmake
has run through

As a last note. It is always better to do out of source or below
source cmake like this :

.../osgQt
.../osgQt-build

the run cmake from osgQt-build like this :

cmake --debug-output --trace-expand -DOpenSceneGraph_DEBUG=On
../osgQt
&> output.log

or

.../osgQt
.../osgQt/build

and run cmake from osgQt/build like this :

cmake --debug-output --trace-expand -DOpenSceneGraph_DEBUG=On .. &>
output.log

I prefer the later and either way generated files won't lie with
original source code

Regards,
Mathieu


On 18/09/2018, Michael W. Hall < (
Only registered users can see emails on this board!
Get registred or enter the forums!
)> wrote:
Quote:

Just wondering the if anyone has noticed anything in the log files.
 Still have not had any luck.
Thanks,
Michael
On Sat, 2018-09-15 at 01:22 -0500, Michael W. Hall wrote:
Quote:

Here is the output you requested.

Thanks,
Michael

On Fri, 2018-09-14 at 17:18 +0200, Mathieu MARACHE wrote:
Quote:

Hi Michael,

I'd like the output of the command :

cmake -DOpenSceneGraph_DEBUG=On ./

Regards
--
nǝıɥʇɐƜ


On Wed, 12 Sep 2018 at 02:56, Michael W. Hall < (
Only registered users can see emails on this board!
Get registred or enter the forums!
)>
wrote:
Quote:

I attached the log file.  When I do cmake, I am just doing
cmake
./  I am not really sure what you are asking for in your
second
question.

On Mon, 2018-09-10 at 18:12 +0200, Mathieu MARACHE wrote:
Quote:

Hi Michael,

It's difficult to tell what went wrong, could you try to
add
the 'OpenSceneGraph_DEBUG' variable when running cmake ?
And
also include the parameters you set to your cmake call for
osgQt ?

Quote:

cmake -DOpenSceneGraph_DEBUG=True ...
Regards
--
nǝıɥʇɐƜ


On Sun, 9 Sep 2018 at 08:04, Michael W. Hall < (
Only registered users can see emails on this board!
Get registred or enter the forums!
)
t>
wrote:
Quote:

Got the osgQt from github.  When I try to configure I am
getting the following error.

 CMake Error at
 /usr/share/cmake-
3.5/Modules/FindPackageHandleStandardArgs.cmake:148
 (message):
   Could NOT find OpenSceneGraph (missing:
OPENSCENEGRAPH_LIBRARIES
   OSGDB_FOUND OSGGA_FOUND OSGUTIL_FOUND OSGTEXT_FOUND
OSGVIEWER_FOUND
   OSGWIDGET_FOUND OPENTHREADS_FOUND) (found suitable
version
"3.7.0", minimum
   required is "3.0.0")
 Call Stack (most recent call first):
   /usr/share/cmake-
3.5/Modules/FindPackageHandleStandardArgs.cmake:388
 (_FPHSA_FAILURE_MESSAGE)
   /usr/share/cmake-
3.5/Modules/FindOpenSceneGraph.cmake:234
 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
   CMakeLists.txt:130 (FIND_PACKAGE)

I have osg 3.7.0 installed.  Any idea why it is not
finding
it?

Thanks,
Michael

On Sun, 2018-08-12 at 08:09 -0500, Michael W. Hall wrote:
Quote:

Thanks,

On Sun, 2018-08-12 at 08:36 +0300, Konstantin Podsvirov
wrote:
Quote:

Hello Michael!

0:13, 12 August 2018 г., "Michael W. Hall"
t>:
This may have been answered.  I got the latest
version of
OpenSceneGraph from github.  It is version 3.7.  I
built
and installed.
When I try to compile my program I am getting the
following error:

In file included from
/home/hallmw/Projects/osgMap/applications/osgmap/osgm
ap.c
pp:12:0:
/home/hallmw/Projects/osgMap/include/osgmap/MainWindo
w:31
:34: fatal
error: osgQt/GraphicsWindowQt: No such file or
directory

I can check that directory and there are no header
files
in it.  Any
idea whey they are missing?

Thanks,
Michael

The osgQt now is a separate project.
You should build and install osgQt too.

https://github.com/openscenegraph/osgQt

--
Regards,
Konstantin Podsvirov
_______________________________________________
osg-users mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraph.org/listinfo.cgi/osg-user
s-op
enscenegraph.org
_______________________________________________
osg-users mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraph.org/listinfo.cgi/osg-users-
open
scenegraph.org
_______________________________________________
osg-users mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraphorg/listinfo.cgi/osg-users-ope
nsce
negraph.org

_______________________________________________
osg-users mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraph.org/listinfo.cgi/osg-users-open
scen
egraph.org
_______________________________________________
osg-users mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraphorg/listinfo.cgi/osg-users-opensce
negr
aph.org

_______________________________________________
osg-users mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscen
egra
ph.org
_______________________________________________
osg-users mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraph.org/listinfo.cgi/osg-users-opensceneg
raph
.org
_______________________________________________
osg-users mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraphorg/listinfo.cgi/osg-users-openscenegraph.org

_______________________________________________
osg-users mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

_______________________________________________
osg-users mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
Michael W. Hall
Guest





PostPosted: Tue Sep 25, 2018 11:08 pm    Post subject:
osgQt include files
Reply with quote

Well when I try to configure osgQt here is what I am getting:


CMake Error at
/usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:148
(message):
Could NOT find OpenSceneGraph (missing: OPENSCENEGRAPH_LIBRARIES
OPENTHREADS_FOUND) (found suitable version "3.7.0", minimum required is
"3.0.0")
Call Stack (most recent call first):
/usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:388
(_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-3.5/Modules/FindOpenSceneGraph.cmake:234
(FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:130 (FIND_PACKAGE)


I have cleared the other packages it was not finding, but still cannot find the osg library. The configure is showing that it is looking in /usr/local/lib64 so not sure why it cannot find the library. Any help appreciated.


On Tue, 2018-09-25 at 17:31 +0200, Mathieu MARACHE wrote:
Quote:
osgEarth provides it's own set of FindOSG macros that correct the vanilla CMake ones...--
nǝıɥʇɐƜ





On Mon, 24 Sep 2018 at 03:49, Michael W. Hall < (
Only registered users can see emails on this board!
Get registred or enter the forums!
)> wrote:

Quote:
Well I built OSG and did not install from a package. I made the change in Option two. I changed the two lines to add lib64. I also had to add /usr/local to the PATHS section. That got rid of some of the error. It now finds all but osg. Not sure what it up. I see the libosg library in the /usr/local/lib64 directory. Still working on it.


Thanks,
Michael


On Sat, 2018-09-22 at 00:04 -0500, Michael W. Hall wrote:
Quote:
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?


Thanks,
Michael


On Wed, 2018-09-19 at 11:13 +0200, Mathieu MARACHE wrote:
Quote:
Hi Michael,

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.


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 ?


I recall that on linux 64bits libraries may be installed in /usr/local/lib64 and not in /usr/local/lib (without the 64 appended).


If this is the case, you are then left with two options :


Option 1 you are the one building osg and installing it so you can modify osg's CMake install path for libraries.


You can call CMake to set LIB_POSTFIX to an empty string when configuring osg on your system
it is set by default to 64 when building on unix 64bits architectures
SET(LIB_POSTFIX "64" CACHE STRING "suffix for 32/64 dir placement")



that would mean configuring like this :


$> cmake -DLIB_POSTFIX="" ....


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


'PATH_SUFFIXES lib'


by


'PATH_SUFFIXES lib lib64'







HTH
--
nǝıɥʇɐƜ


















On Wed, 19 Sep 2018 at 03:54, Michael W. Hall < (
Only registered users can see emails on this board!
Get registred or enter the forums!
)> wrote:

Quote:
Hope this is correct.

On Tue, 2018-09-18 at 08:39 +0200, Mathieu MARACHE wrote:
Quote:
Hi Micheal,

This is not the output of cmake but the output of cmake determining
your compiler capabilities. I should have been more clear last time.
Please run:

cmake --debug-output --trace-expand -DOpenSceneGraph_DEBUG=On . &>
output.log

and send back this output.log file that will contain everything cmake
has run through

As a last note. It is always better to do out of source or below
source cmake like this :

.../osgQt
.../osgQt-build

the run cmake from osgQt-build like this :

cmake --debug-output --trace-expand -DOpenSceneGraph_DEBUG=On
../osgQt
&> output.log

or

.../osgQt
.../osgQt/build

and run cmake from osgQt/build like this :

cmake --debug-output --trace-expand -DOpenSceneGraph_DEBUG=On .. &>
output.log

I prefer the later and either way generated files won't lie with
original source code

Regards,
Mathieu


On 18/09/2018, Michael W. Hall < (
Only registered users can see emails on this board!
Get registred or enter the forums!
)> wrote:
Quote:

Just wondering the if anyone has noticed anything in the log files.
Still have not had any luck.
Thanks,
Michael
On Sat, 2018-09-15 at 01:22 -0500, Michael W. Hall wrote:
Quote:

Here is the output you requested.

Thanks,
Michael

On Fri, 2018-09-14 at 17:18 +0200, Mathieu MARACHE wrote:
Quote:

Hi Michael,

I'd like the output of the command :

cmake -DOpenSceneGraph_DEBUG=On ./

Regards
--
nǝıɥʇɐƜ


On Wed, 12 Sep 2018 at 02:56, Michael W. Hall < (
Only registered users can see emails on this board!
Get registred or enter the forums!
)>
wrote:
Quote:

I attached the log file. When I do cmake, I am just doing
cmake
./ I am not really sure what you are asking for in your
second
question.

On Mon, 2018-09-10 at 18:12 +0200, Mathieu MARACHE wrote:
Quote:

Hi Michael,

It's difficult to tell what went wrong, could you try to
add
the 'OpenSceneGraph_DEBUG' variable when running cmake ?
And
also include the parameters you set to your cmake call for
osgQt ?

Quote:

cmake -DOpenSceneGraph_DEBUG=True ...
Regards
--
nǝıɥʇɐƜ


On Sun, 9 Sep 2018 at 08:04, Michael W. Hall < (
Only registered users can see emails on this board!
Get registred or enter the forums!
)
t>
wrote:
Quote:

Got the osgQt from github. When I try to configure I am
getting the following error.

CMake Error at
/usr/share/cmake-
3.5/Modules/FindPackageHandleStandardArgs.cmake:148
(message):
Could NOT find OpenSceneGraph (missing:
OPENSCENEGRAPH_LIBRARIES
OSGDB_FOUND OSGGA_FOUND OSGUTIL_FOUND OSGTEXT_FOUND
OSGVIEWER_FOUND
OSGWIDGET_FOUND OPENTHREADS_FOUND) (found suitable
version
"3.7.0", minimum
required is "3.0.0")
Call Stack (most recent call first):
/usr/share/cmake-
3.5/Modules/FindPackageHandleStandardArgs.cmake:388
(_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-
3.5/Modules/FindOpenSceneGraph.cmake:234
(FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:130 (FIND_PACKAGE)

I have osg 3.7.0 installed. Any idea why it is not
finding
it?

Thanks,
Michael

On Sun, 2018-08-12 at 08:09 -0500, Michael W. Hall wrote:
Quote:

Thanks,

On Sun, 2018-08-12 at 08:36 +0300, Konstantin Podsvirov
wrote:
Quote:

Hello Michael!

0:13, 12 August 2018 г., "Michael W. Hall"
t>:
This may have been answered. I got the latest
version of
OpenSceneGraph from github. It is version 3.7. I
built
and installed.
When I try to compile my program I am getting the
following error:

In file included from
/home/hallmw/Projects/osgMap/applications/osgmap/osgm
ap.c
pp:12:0:
/home/hallmw/Projects/osgMap/include/osgmap/MainWindo
w:31
:34: fatal
error: osgQt/GraphicsWindowQt: No such file or
directory

I can check that directory and there are no header
files
in it. Any
idea whey they are missing?

Thanks,
Michael

The osgQt now is a separate project.
You should build and install osgQt too.

https://github.com/openscenegraph/osgQt

--
Regards,
Konstantin Podsvirov
_______________________________________________
osg-users mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraph.org/listinfo.cgi/osg-user
s-op
enscenegraph.org
_______________________________________________
osg-users mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraph.org/listinfo.cgi/osg-users-
open
scenegraph.org
_______________________________________________
osg-users mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraphorg/listinfo.cgi/osg-users-ope
nsce
negraph.org

_______________________________________________
osg-users mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraph.org/listinfo.cgi/osg-users-open
scen
egraph.org
_______________________________________________
osg-users mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraphorg/listinfo.cgi/osg-users-opensce
negr
aph.org

_______________________________________________
osg-users mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscen
egra
ph.org
_______________________________________________
osg-users mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraph.org/listinfo.cgi/osg-users-opensceneg
raph
.org
_______________________________________________
osg-users mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraphorg/listinfo.cgi/osg-users-openscenegraph.org

_______________________________________________
osg-users mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

_______________________________________________
osg-users mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraphorg/listinfo.cgi/osg-users-openscenegraph.org

_______________________________________________
osg-users mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


------------------
Post generated by Mail2Forum
Back to top
Michael W. Hall
Guest





PostPosted: Thu Oct 11, 2018 12:22 am    Post subject:
osgQt include files
Reply with quote

I have been looking into the problem on and off. Looking at the output below, I have looked at FindOpenSceneGraph.cmake. It looks ok. it calls the Findosg_functions.cmake. I have modified this file and it finds all but the items listed below. I am not really sure what I am missing or what the file is missing to not find the lib.


I am running Ubuntu Mate 16.04. I have built osg and osgEarth on my machine and installed both after building. They are both running so they seem to be fine. osgQt on the other hand is giving me fits. Any help appreciated. Still looking.


On Tue, 2018-09-25 at 18:08 -0500, Michael W. Hall wrote:
Quote:
Well when I try to configure osgQt here is what I am getting:


CMake Error at
/usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:148
(message):
Could NOT find OpenSceneGraph (missing: OPENSCENEGRAPH_LIBRARIES
OPENTHREADS_FOUND) (found suitable version "3.7.0", minimum required is
"3.0.0")
Call Stack (most recent call first):
/usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:388
(_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-3.5/Modules/FindOpenSceneGraph.cmake:234
(FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:130 (FIND_PACKAGE)


I have cleared the other packages it was not finding, but still cannot find the osg library. The configure is showing that it is looking in /usr/local/lib64 so not sure why it cannot find the library. Any help appreciated.


On Tue, 2018-09-25 at 17:31 +0200, Mathieu MARACHE wrote:
Quote:
osgEarth provides it's own set of FindOSG macros that correct the vanilla CMake ones...--
nǝıɥʇɐƜ





On Mon, 24 Sep 2018 at 03:49, Michael W. Hall < (
Only registered users can see emails on this board!
Get registred or enter the forums!
)> wrote:

Quote:
Well I built OSG and did not install from a package. I made the change in Option two. I changed the two lines to add lib64. I also had to add /usr/local to the PATHS section. That got rid of some of the error. It now finds all but osg. Not sure what it up. I see the libosg library in the /usr/local/lib64 directory. Still working on it.


Thanks,
Michael


On Sat, 2018-09-22 at 00:04 -0500, Michael W. Hall wrote:
Quote:
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?


Thanks,
Michael


On Wed, 2018-09-19 at 11:13 +0200, Mathieu MARACHE wrote:
Quote:
Hi Michael,

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.


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 ?


I recall that on linux 64bits libraries may be installed in /usr/local/lib64 and not in /usr/local/lib (without the 64 appended).


If this is the case, you are then left with two options :


Option 1 you are the one building osg and installing it so you can modify osg's CMake install path for libraries.


You can call CMake to set LIB_POSTFIX to an empty string when configuring osg on your system
it is set by default to 64 when building on unix 64bits architectures
SET(LIB_POSTFIX "64" CACHE STRING "suffix for 32/64 dir placement")



that would mean configuring like this :


$> cmake -DLIB_POSTFIX="" ....


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


'PATH_SUFFIXES lib'


by


'PATH_SUFFIXES lib lib64'







HTH
--
nǝıɥʇɐƜ


















On Wed, 19 Sep 2018 at 03:54, Michael W. Hall < (
Only registered users can see emails on this board!
Get registred or enter the forums!
)> wrote:

Quote:
Hope this is correct.

On Tue, 2018-09-18 at 08:39 +0200, Mathieu MARACHE wrote:
Quote:
Hi Micheal,

This is not the output of cmake but the output of cmake determining
your compiler capabilities. I should have been more clear last time.
Please run:

cmake --debug-output --trace-expand -DOpenSceneGraph_DEBUG=On . &>
output.log

and send back this output.log file that will contain everything cmake
has run through

As a last note. It is always better to do out of source or below
source cmake like this :

.../osgQt
.../osgQt-build

the run cmake from osgQt-build like this :

cmake --debug-output --trace-expand -DOpenSceneGraph_DEBUG=On
../osgQt
&> output.log

or

.../osgQt
.../osgQt/build

and run cmake from osgQt/build like this :

cmake --debug-output --trace-expand -DOpenSceneGraph_DEBUG=On .. &>
output.log

I prefer the later and either way generated files won't lie with
original source code

Regards,
Mathieu


On 18/09/2018, Michael W. Hall < (
Only registered users can see emails on this board!
Get registred or enter the forums!
)> wrote:
Quote:

Just wondering the if anyone has noticed anything in the log files.
Still have not had any luck.
Thanks,
Michael
On Sat, 2018-09-15 at 01:22 -0500, Michael W. Hall wrote:
Quote:

Here is the output you requested.

Thanks,
Michael

On Fri, 2018-09-14 at 17:18 +0200, Mathieu MARACHE wrote:
Quote:

Hi Michael,

I'd like the output of the command :

cmake -DOpenSceneGraph_DEBUG=On ./

Regards
--
nǝıɥʇɐƜ


On Wed, 12 Sep 2018 at 02:56, Michael W. Hall < (
Only registered users can see emails on this board!
Get registred or enter the forums!
)>
wrote:
Quote:

I attached the log file. When I do cmake, I am just doing
cmake
./ I am not really sure what you are asking for in your
second
question.

On Mon, 2018-09-10 at 18:12 +0200, Mathieu MARACHE wrote:
Quote:

Hi Michael,

It's difficult to tell what went wrong, could you try to
add
the 'OpenSceneGraph_DEBUG' variable when running cmake ?
And
also include the parameters you set to your cmake call for
osgQt ?

Quote:

cmake -DOpenSceneGraph_DEBUG=True ...
Regards
--
nǝıɥʇɐƜ


On Sun, 9 Sep 2018 at 08:04, Michael W. Hall < (
Only registered users can see emails on this board!
Get registred or enter the forums!
)
t>
wrote:
Quote:

Got the osgQt from github. When I try to configure I am
getting the following error.

CMake Error at
/usr/share/cmake-
3.5/Modules/FindPackageHandleStandardArgs.cmake:148
(message):
Could NOT find OpenSceneGraph (missing:
OPENSCENEGRAPH_LIBRARIES
OSGDB_FOUND OSGGA_FOUND OSGUTIL_FOUND OSGTEXT_FOUND
OSGVIEWER_FOUND
OSGWIDGET_FOUND OPENTHREADS_FOUND) (found suitable
version
"3.7.0", minimum
required is "3.0.0")
Call Stack (most recent call first):
/usr/share/cmake-
3.5/Modules/FindPackageHandleStandardArgs.cmake:388
(_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-
3.5/Modules/FindOpenSceneGraph.cmake:234
(FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:130 (FIND_PACKAGE)

I have osg 3.7.0 installed. Any idea why it is not
finding
it?

Thanks,
Michael

On Sun, 2018-08-12 at 08:09 -0500, Michael W. Hall wrote:
Quote:

Thanks,

On Sun, 2018-08-12 at 08:36 +0300, Konstantin Podsvirov
wrote:
Quote:

Hello Michael!

0:13, 12 August 2018 г., "Michael W. Hall"
t>:
This may have been answered. I got the latest
version of
OpenSceneGraph from github. It is version 3.7. I
built
and installed.
When I try to compile my program I am getting the
following error:

In file included from
/home/hallmw/Projects/osgMap/applications/osgmap/osgm
ap.c
pp:12:0:
/home/hallmw/Projects/osgMap/include/osgmap/MainWindo
w:31
:34: fatal
error: osgQt/GraphicsWindowQt: No such file or
directory

I can check that directory and there are no header
files
in it. Any
idea whey they are missing?

Thanks,
Michael

The osgQt now is a separate project.
You should build and install osgQt too.

https://github.com/openscenegraph/osgQt

--
Regards,
Konstantin Podsvirov
_______________________________________________
osg-users mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraph.org/listinfo.cgi/osg-user
s-op
enscenegraph.org
_______________________________________________
osg-users mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraph.org/listinfo.cgi/osg-users-
open
scenegraph.org
_______________________________________________
osg-users mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraphorg/listinfo.cgi/osg-users-ope
nsce
negraph.org

_______________________________________________
osg-users mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraph.org/listinfo.cgi/osg-users-open
scen
egraph.org
_______________________________________________
osg-users mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraphorg/listinfo.cgi/osg-users-opensce
negr
aph.org

_______________________________________________
osg-users mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscen
egra
ph.org
_______________________________________________
osg-users mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraph.org/listinfo.cgi/osg-users-opensceneg
raph
.org
_______________________________________________
osg-users mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraphorg/listinfo.cgi/osg-users-openscenegraph.org

_______________________________________________
osg-users mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

_______________________________________________
osg-users mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraphorg/listinfo.cgi/osg-users-openscenegraph.org

_______________________________________________
osg-users mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


------------------
Post generated by Mail2Forum
Back to top
Display posts from previous:   
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> General All times are GMT
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9, 10
Page 10 of 10

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Similar Topics
Topic Author Forum Replies Posted
No new posts What's the status of .osg files? hunter789 General 2 Fri Nov 02, 2018 1:26 am View latest post
No new posts osgQt + OSG 3.6.2 Status DeadParrot General 28 Sat Jul 14, 2018 4:38 am View latest post
No new posts How to setup Msvcp2013 so that header... peter_k General 1 Tue Jul 03, 2018 3:14 pm View latest post
No new posts Open to updates to the Doxygen config... Orphen General 2 Thu Jun 28, 2018 6:53 am View latest post
No new posts Writing .osg files: how to set colors... eMiliano General 0 Tue Jun 19, 2018 2:02 pm View latest post


Board Security Anti Bot Question MOD - phpBB MOD against Spam Bots
Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP