[osg-users] DynamicLibrary::failed loading
Serge Lages
serge.lages at gmail.com
Wed Dec 5 07:17:23 PST 2007
On Dec 5, 2007 9:28 AM, Serge Lages <serge.lages at gmail.com> wrote:
> On Dec 4, 2007 6:38 PM, Michael Ebner <Michael.Ebner at gmx.at> wrote:
>
> > Hi all,
> >
> > Serge Lages wrote:
> > > [have you tried compiling the plugins with "Embed Manifest = false"]
> > >
> > > It seems to be a good addition to the default build options for the
> > > plugins, any CMake expert can do the modifications and submit it ? Or
> > > tell me where to make them ? :)
> >
> > I would also appreciate having this as option in cmake configuration.
> > Who is maintaining it right now and could this be added?
> >
> >
> Hi Michael,
>
> I gave a look to CMake to find how to do it but it seems impossible right
> now, the manifest's behaviour for VS8 seems to be hardcoded. Do you know if
> not generating the manifests produce the same result ? It may be possible, I
> will try it later.
It is possible with CMake to specify to not generate the manifests, and I
confirm it produces the same result as non embedding them.
So I tried to tweak the CMake files to not generate them for the plugins,
adding :
IF(MSVC)
SET(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} /MANIFEST:NO")
ENDIF(MSVC)
First I added it to OpenSceneGraph\src\osgPlugins\CMakeLists.txt, but it
doesn't work. Then I tried to add it to OpenSceneGraph\CMakeLists.txt, with
this addition the core OSG dll don't produce any manifests but the plugins
still produce them... Any idea of what I am doing wrong ?
--
Serge Lages
http://www.tharsis-software.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20071205/1a5a8b43/attachment.htm
More information about the osg-users
mailing list