Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
windows vista compiling problems
01-21-2008, 12:25 AM,
#9
 
This section of the SConstruct file (starting at line 365) should take care of turning off BinReloc:
Code:
if ( 'win32' == sys.platform or 'cygwin' == sys.platform ):
        # -DWIN32 is already defined
        env['use_binreloc'] = False
        env['use_apbuild'] = False
        env['data_directory'] = "./data"
        env['settings'] = "VDrift"
        cppdefines.append(("DATA_DIR", '"%s"' % env['data_directory']))

It may be that this is getting ignored because sys.platform is something besides "win32" or "cygwin". Perhaps it should also check for "msys" or something like that? Again I haven't tried this at all. I do not have a Vista test machine. You could find out the value of sys.platform by running python within msys and typing "sys.platform" on the python console.

You can manually disable BinReloc in definitions.h, but you'll have to disable writing of definitions.h by scons (comment out the call to the write_definitions function in SConstruct on line 500), or your changes will be overwritten when you run scons.
Reply


Messages In This Thread
windows vista compiling problems - by muska54 - 01-14-2008, 07:16 AM
[No subject] - by joevenzon_phpbb2_import3 - 01-14-2008, 11:10 AM
[No subject] - by muska54 - 01-14-2008, 12:03 PM
[No subject] - by joevenzon_phpbb2_import3 - 01-14-2008, 09:25 PM
[No subject] - by muska54 - 01-18-2008, 07:42 AM
[No subject] - by thelusiv - 01-18-2008, 04:49 PM
[No subject] - by joevenzon_phpbb2_import3 - 01-18-2008, 07:35 PM
[No subject] - by muska54 - 01-20-2008, 12:09 PM
[No subject] - by thelusiv - 01-21-2008, 12:25 AM
[No subject] - by muska54 - 01-21-2008, 09:21 AM
[No subject] - by thelusiv - 01-21-2008, 03:21 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)