[osg-users] INSTALL include pdb's

James Killian James_Killian at hotmail.com
Fri Jul 11 07:59:12 PDT 2008

Just so there is no confusion (with others reading this), the .pdb filename
must match the filename of the dll or exe that is associated with it; so
Osgviewer.exe or OsgViewer.dll will have to change their name! I can see it
now someone will glv (get latest version) and see the name has changed and
wonder why as they change it back.

I hope people are reading my posts so that they will not be confused... I'll
put comments in the Cmake script.   If anyone reading this disagrees with
this change please post.

Ok, that should be easy enough to do.  I have yet to do any OSG submissions.
I'll have to read up on the protocol... (might as well start on this now
with something simple now)  :)

Thanks for the heads up!

----- Original Message ----- 
From: "Philip Lowman" <philip at yhbt.com>
To: "OpenSceneGraph Users" <osg-users at lists.openscenegraph.org>
Sent: Friday, July 11, 2008 8:47 AM
Subject: Re: [osg-users] INSTALL include pdb's

> Is there a linking flag you can use to change the generated .pdb filename
> in Visual Studio?  If so, you could simply use CMake to tweak the targets
> that have conflicting names (see set_target_properties() command)
> ...... Original Message .......
> On Thu, 10 Jul 2008 22:45:13 -0500 "James Killian"
> <James_Killian at hotmail.com> wrote:
> >
> >Thanks for response... I'll look into that... but first there is a bigger
> problem with osgviewer.  I'll have to double check, but by default the
> Applications osgviewer and osgViewer (dll) writing the same pdb file to
> same place, and guess which one get overwritten (No windows does not allow
> case sensitive duplicate files)...  Yep the DLL one, the one I need to see
> in my call stack crash.  Grrrr
> >
> >I think the Application osgviewer project name should be renamed, or
> .exe files build their pdbs to a different folder (preferably renamed).
> Can someone verify this is a legitimate problem... thanks.
> >Jean?
> >
> >James Killian
> >
> >----- Original Message -----
> >From: Philip Lowman
> >To: OpenSceneGraph Users
> >Sent: Thursday, July 10, 2008 9:52 PM
> >Subject: Re: [osg-users] INSTALL include pdb's
> >
> >On Thu, Jul 10, 2008 at 10:40 PM, James Killian
> <James_Killian at hotmail.com> wrote:
> >
> >Hmmm no one has responded... I can figure out where in cmake to make the
> change, if I add it would anyone have any objections?
> >(If no one responds... I'll assume its fine to add)
> >
> >I believe you'll want to have a look at the INSTALL(FILES...) and/or
> possibilities.  If you end up needing ADD_CUSTOM_COMMAND consider using
> "cmake -E copy_if_different" instead of "copy".  I'm out of town and don't
> have access to a VS development environment otherwise I think I could come
> up with something for you.
> >
> >This may also not be a bad feature to add to CMake itself if simply
> deploying the PDB files alongside the debug DLL file buys you this
> functionality.
> >
> >--
> >Philip Lowman
> >
> >---------------
> >
> >_______________________________________________
> >osg-users mailing list
> >osg-users at lists.openscenegraph.org
> >http://lists.openscenegraphorg/listinfo.cgi/osg-users-openscenegraph.org
> >
> >_______________________________________________
> >osg-users mailing list
> >osg-users at lists.openscenegraph.org
> >http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> -- 
> Philip Lowman
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

More information about the osg-users mailing list