i am currently evaluating how to properly set up nuke plugin projects for cross platform compiles (namely win, mac, linux both 32bit and 64bit). A while back i played with SCons (together with Hugh) but never managed to make it build 64bits binaries on windows.

You only need to use the 64bits version of "cl.exe" and "link.exe". To change the compiler with scons, specify CC and CXX:
myenv['CC'] = 'C:/Program Files/path/to/64bitsversionof/cl.exe'
myenv['CXX'] = 'C:/Program Files/path/to/64bitsversionof/cl.exe'
myenv['LINK'] = 'C:/Program Files/path/to/64bitsversionof/link.exe'

Another solution is to modify the path to the compiler (from the 32 bits version to the 64 bits version). You can set the PATH variable in windows or directly in scons: the execution environment variable 'PATH' is in myenv['ENV']['PATH'].

Fabien


_______________________________________________
Nuke-dev mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev

Reply via email to