Hi, On Mon, 2008-03-24 at 09:26 +0100, Christoph Schäfer wrote: > Hi, > > let's go... > > Gerrit Voss schrieb: > > Hi, > > > >> > > > > Hmm that is strange I thought I fixed it to a specific revision that > > works. Have to check that one again. Could you let me know what > > did not work ? > > > This is the output from scons with Scons-Addons from the opensg-svn:
ok, one thing, could you try to use the local scons. E.g. something like python Tools/scons-local/scons.py together with the local scons addons. I don't know if I checked and updated everything for the latest scons version. And if my memory isn't to bad I saw this error once with a newer version of scons. > scons BoostBaseDir=%BOOSTDIR% enable_unittests=false var_type=debug > MSVS_VERSION=8.0 > scons: Reading SConscript files ... > Using SConsAddons from: Tools/scons-addons/src > ------------------------------------------------- > WARNING: The build is currently in development. > - It needs the svn version of scons-addons > WARNING: > Building OpenSG 2.0.0-pre1 > ### Apply OpenSG SCons AddOn Hacks ### > Valid archs: ['default'] > Updating boost > Loading initial settings for boost > BoostBaseDir specified or cached. [c:\src\lib\boost_1_33_1]. > Searching for correct boost include dir... found: > c:\src\lib\boost_1_33_1 > boost include path: c:\src\lib\boost_1_33_1 > boost version: 1.33.1 > Checking for C++ library boost_filesystem-vc80-mt-1_33_1... yes > filesystem: boost_filesystem-vc80-mt-1_33_1 > Checking for: collada > CSDK find > None > INC : None > LIB : None > Checking for C++ library collada_dae... no > Checking for C++ library collada_LIBXMLPlugin... no > Checking for C++ library collada_STLDatabase... no > Checking for C++ library collada_dom... no > Checking for C++ library collada_stdErrPlugin... no > Checking for C++ library collada_dae... no > Validation failed for option: collada > Checking for: freetype > Checking for C++ library freetype... no > Validation failed for option: freetype > Checking for: glut > Checking for C++ library glut32... no > Validation failed for option: glut > Checking for: zlib > Checking for C++ library zlib... no > Validation failed for option: zlib > Checking for: fontconfig > Checking for C++ library fontconfig... no > Validation failed for option: fontconfig > Checking for: X > Checking for C++ library X11... no > Validation failed for option: X > Checking for: NVPerfSDK > Checking for C++ library NVPerfSDK... no > Validation failed for option: NVPerfSDK > Checking for VTK... VTK base dir (VtkBaseDir) was not specified > Checking for: xml2 > Checking for C++ library xml2... no > Validation failed for option: xml2 > Checking for: tiff > Checking for C++ library tif32... no > Validation failed for option: tiff > Checking for: png > Checking for C++ library libpng... no > Validation failed for option: png > Checking for: jpeg > Checking for C++ library libjpeg... no > Validation failed for option: jpeg > AttributeError: 'module' object has no attribute 'options': > File "C:\src\pro\OpenSG2_Test\SConstruct", line 692: > if not SConsAddons.Util.hasHelpFlag(): > File "Tools\scons-addons\src\SConsAddons\Util.py", line 126: > has_help_flag = SCons.Script.options.help_msg > > But this would explain the problem at some point scons-addons silently > > changed > > the logic behind var_type. 'debug' was still with the debug defines but with > > /MD whereas 'debugrt' became the option that used /MDd. That was IIRC one > > reason why I fixed the addons revision. > > > > With your updated Tools/scons-addons could you try the following change > > within options.cache.win32.xx and see if it brings back /MDd > > > > var_type = ['debugrt'] > > > How do I do this? the file is being created each time I run scons. I > tried to write-protect it, but scons exits with an error the file is not > writable (even with --keep-going). I also tried using var_type=debugrt > as a parameter, this raises the following error: the parameter was the trick, I missed that you used the commandline to set var_type. I usually use the options.* file as it the to get persistent options. But the commandline version should be fine to. > --------------8><------------------------------------------------ > Option error: List option 'var_type' does not allow item 'debugrt' > Traceback (most recent call last): > File "C:\src\pro\OpenSG2\SConstruct", line 665, in <module> > opts.Process(common_env) > File "Tools\scons-addons\src\SConsAddons\Options\Options.py", line > 654, in Process > option.validate(env) # Validate the settings > File "Tools\scons-addons\src\SConsAddons\Options\Options.py", line > 491, in validate > raise SCons.Errors.UserError, "List option '%s' does not allow item > '%s'"%(self.keys[0],i) > UserError: List option 'var_type' does not allow item 'debugrt' hmm, ok, that one collides with the override in AddOnHacks.py, these aren't adjusted to the latest add-ons. If the local scons does not work, I'll try to changes the AddOnHacks.py 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
