Hello Christoph, Gerrit,

Gerrit Voss wrote:
> On Wed, 2009-01-07 at 12:39 +0100, Christoph Schäfer wrote:
>> today I tried ti build the current svn trunk using CMake. In CMake I 
>> choosed the boost base dir and set the target to DebugRT. The generation 
>> of ths VS solution is running finde. When actually building the solution 
>> the linker fails due to unresolved external symbols. Am I missing some 
>> configuration settings in CMake or is DebuRT not yet fully implemented 
>> in the build scripts?
> 
> quick question, why did you choose the build target within cmake as for
> visual studio projects this can be done within visual studio. Could you
> try to leave the build target as the default in cmake and select debugrt
> from within visual studio (That is IIRC what I tested).

ah, switching VS to the right configuration is what I missed when 
writing that mail about different configs not working on windows (I 
guess the cmake documentation is just out of date on that).
The trick that seems to make it work is setting CMAKE_BUILD_TYPE and the 
VS configuration to the same thing. With that setup I was able to 
compile  a DebugRT OSGBase (rest is still churning).
Without setting cmake to DebugRT the stuff in UpdateCompiler switches 
from the debug to release runtime libs.

        Hope it helps,
                Carsten

        

------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to