Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Finding OSG debug libraries
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Daniel Schmid  
View profile  
 More options Nov 14 2012, 4:05 am
From: Daniel Schmid <Daniel.Sch...@swiss-simtec.ch>
Date: Wed, 14 Nov 2012 08:54:31 +0000
Local: Wed, Nov 14 2012 3:54 am
Subject: [osg-users] Finding OSG debug libraries

Hi all

I use the following lines to find the libraries of osg:

SET(OSGLIBRARIES osgDB osgUtil osgGA osgViewer osgText osgSim osgParticle osgShadow osgManipulator)
FIND_PACKAGE(OpenSceneGraph 3.0.1 COMPONENTS ${OSGLIBRARIES} REQUIRED)

Now I want to look for debug libraries. I specify the env path to the correct placement of debug compilation, but cmake still tries to find the osgXXX libs instead of osgXXXd libs. My CMAKE_BUILD_TYPE is correctly set to Debug. What do I have to configure in order that the debug libraries (which exist) are found and used?

Regards
Daniel

_______________________________________________
osg-users mailing list
osg-us...@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph...


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mathias Buhr  
View profile  
 More options Nov 14 2012, 4:46 am
From: Mathias Buhr <mathias...@gmx.de>
Date: Wed, 14 Nov 2012 10:46:15 +0100
Local: Wed, Nov 14 2012 4:46 am
Subject: Re: [osg-users] Finding OSG debug libraries
On 11/14/2012 09:54 AM, Daniel Schmid wrote:

Hi Daniel,

a quick look at the cmake modules indicates that these modules already
seem to look for the debug versions. Release versions are stored in a
variables named like ${module}_LIBRARY. If available the corresponding
debug version are stored ${module}_LIBRARY_DEBUG variables. It looks
like there is no list with all debug versions appended.
So, in your case you just need to use these variables in the
target_link_libraries() call.

Regards
Mathias
_______________________________________________
osg-users mailing list
osg-us...@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph...


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Daniel Schmid  
View profile  
 More options Nov 15 2012, 4:33 am
From: "Daniel Schmid" <daniel.sch...@swiss-simtec.ch>
Date: Thu, 15 Nov 2012 10:30:29 +0100
Local: Thurs, Nov 15 2012 4:30 am
Subject: Re: [osg-users] Finding OSG debug libraries
Thanks for the reply. The problem I had was that I had only a OSG-debug build. The FindPackage funktions can either find release libs or release&debug libs, but if you provide only debug libs (with d postfix), there is no luck, the find will abort.

Finally I had a release and a debug build, but they reside in different directories. So there was the next problem...

I had to analyse the osg find package scripts, and finally I used env OSGDIR for the release path and OSG_ROOT for the debug path.

I hope this post can help somebody save some time ...

My suggestion would actually be that if only  debug libs (with d postfix) are provided, that those libs are taken for release and debug applications build....

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=51103#51103

_______________________________________________
osg-users mailing list
osg-us...@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph...


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mathias Buhr  
View profile  
 More options Nov 15 2012, 6:39 am
From: Mathias Buhr <mathias...@gmx.de>
Date: Thu, 15 Nov 2012 12:39:31 +0100
Local: Thurs, Nov 15 2012 6:39 am
Subject: Re: [osg-users] Finding OSG debug libraries

> My suggestion would actually be that if only  debug libs (with d postfix) are provided, that those libs are taken for release and debug applications build....

> ------------------

I think that's simply not possible on Windows. I'm not a windows
developer myself but I think you can't mix release and debug version there.

Regards
Mathias
_______________________________________________
osg-users mailing list
osg-us...@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph...


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »