Re: [osg-users] building osg statically linked on Win32

2008-03-26 Thread Andreas.Richter
Hello Jean-Sebastien and Stephan! > Please reply directly to the thread you are engaged in instead of a > digest mail, as this makes threads hard to follow. Sorry, forgot to change the email subject. > You might have to delete your CMakeCache.txt and regenerate > the project files with CMake

Re: [osg-users] building osg statically linked on Win32

2008-03-25 Thread Stephan Maximilian Huber
[EMAIL PROTECTED] schrieb: > Run into the same(?) problem: Got a lot unresolved external symbols... > I modified all CMakeLists.txt-Files like above and recompiled the > osg-Projects but still get the same linker errors. Looks like you have a different problem. I had multiple defined symbols o

Re: [osg-users] building osg statically linked on Win32

2008-03-25 Thread Jean-Sébastien Guay
Hi Andreas, Please reply directly to the thread you are engaged in instead of a digest mail, as this makes threads hard to follow. > Run into the same(?) problem: Got a lot unresolved external symbols... I > modified all CMakeLists.txt-Files like above and recompiled the osg-Projects > but sti

Re: [osg-users] building osg statically linked on Win32

2008-03-25 Thread Gordon Tomlinson
statically linked on Win32 Hello Andreas, > In cmake I found the options to switch from /MDd and /MD to /MTd and /MT but I can't still find the option to switch from Dynamic Library to Static Library. DYNAMIC_OPENSCENEGRAPH is the one you're looking for I think. And I believe most user

Re: [osg-users] building osg statically linked on Win32

2008-03-25 Thread Jean-Sébastien Guay
Hello Andreas, > In cmake I found the options to switch from /MDd and /MD to /MTd and /MT but > I can't still find the option to switch from Dynamic Library to Static > Library. DYNAMIC_OPENSCENEGRAPH is the one you're looking for I think. And I believe most users use dynamic libraries for OSG

Re: [osg-users] building osg statically linked on Win32

2008-03-25 Thread Stephan Maximilian Huber
[EMAIL PROTECTED] schrieb: > First thanks for the answer! > > I can't belief that I'm the first one asking for static libs, because some > win-apps based on OSG imho are built static. So someone already has gone this > way... > > In cmake I found the options to switch from /MDd and /MD to /MTd an

Re: [osg-users] building osg statically linked on Win32

2008-03-25 Thread Robert Osfield
t; Gruß ;) > -- > Andreas Richter > > > Date: Fri, 21 Mar 2008 15:28:12 +0100 > From: Stephan Huber <[EMAIL PROTECTED]> > Subject: Re: [osg-users] building osg statically linked on Win32 > > > > > enable static-linking (or disables dynamic-linking, not

Re: [osg-users] building osg statically linked on Win32

2008-03-25 Thread Andreas.Richter
ure, if the preprocessor flags like OSG_LIBRARY in osg.vcporj have to extended to OSG_LIBRARY_STATIC like in the OSG 1.2 solution. Gruß ;) -- Andreas Richter Date: Fri, 21 Mar 2008 15:28:12 +0100 From: Stephan Huber <[EMAIL PROTECTED]> Subject: Re: [osg-users] building osg statica

Re: [osg-users] building osg statically linked on Win32

2008-03-21 Thread Stephan Huber
[EMAIL PROTECTED] schrieb: > If I generate with CMake the osg 2.2 solution, there are no build > configurations for debug/release static. Do I have to transcribe the > settings from the 1.2 solution to 2.2 or did I have to pay attention on more > things? enable static-linking (or disables dyna

[osg-users] building osg statically linked on Win32

2008-03-12 Thread Andreas.Richter
I want to built my osg app statically linked to avoid copying DLLs all along. I found a how-to on the website http://www.openscenegraph.org/projects/osg/wiki/Community/Tasks/Win32StaticLink but it seems to be history, because it only works with osg 1.2. If I generate with CMake the osg 2.2 so