Hi, you are right, scons using the /MD instead of /MDd flag was the problem. Changing this manually in the EnvironmentBuilder.py (Tools/Scons-Addons) made me able to completely build opens. I'm not using the Scons-Addons included with opensg-svn but the current svn version from the Scons-Addon homepage. Using the svn from opensg building doesn't work.
The problem in one term: Scons-Addons (EnvironmentBuilder.py) sets default flags for cl and link providing functions to change them on the basis of a given environment. This functions never get called in the SConstruct of opensg. If there is no solution for this problem in an other branche I'm willing to contribute a fix. Some information where to start from in the SConstruct would be very helpful then. Kind regards, Christoph Gerrit Voss schrieb: > Hi, > > AFAIK we haven't actually tried to build the current svn head on > Windows for a while. I'll give it a try later today. > > IIRC there were some VS8 changes on other branches, so I'll see if > I can replay them on the main branch. > > On Sun, 2008-03-23 at 19:12 +0100, Christoph Schäfer wrote: > >> Hi, >> >> sorry for the messy mail on the 22., I should have investigated a little >> more time on the problem before mailing it on the list. >> >> Back to the problem: I can get it to compile with scons but the build >> script exits with a linker error. The symbol >> "__imp___invalid_parameter_noinfo" can not be resolved. This means the >> script is trying to link the debug build of opensg with no debug >> libraries from ms. Though I think the problem is pretty much encircled, >> I'm not able to find where to fix it in the SConstruct and the included >> files. Moreover looking at the executed linker cmd everything looks >> correct. So I'm really lost. >> > > The interesting bit is that /MD is used to build the object files instead > of /MDd. So there seem to be some problem with our VS setup code which is > strange because a problem like this should have had hit us a long time ago. > I'll give it a try and see if something changed for VS8. > > kind regards, > gerrit > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Opensg-core mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-core
