Compiling Godot with SCons -


today want build open source godot project (http://www.godotengine.org/wp/) on windows 7. give attention compiling instructions (http://www.godotengine.org/wiki/doku.php?id=compiling_windows) when use scons in command line, this:

fatal error lnk1112: module machine type 'x86' conflicts target machine type 'x64'

this problem described here:

[linking problem: fatal error lnk1112: module machine type 'x64' conflicts target machine type 'x86' (linking problem: fatal error lnk1112: module machine type 'x64' conflicts target machine type 'x86')

but have question. know, have define architecture type of environment variable in sconstruct file (i can post here, if want). unfortunately doesn't work thought.

at first edited line, environment variable initialized:

env_base=environment(tools=custom_tools,env = {'path' : os.environ['path']},target_arch='x86'); 

i added target_arch='x86'. wrong or should set target arch someplace else? lnk 1112 error still occurs.

it great, if me help. :)

there nothing change in sconstruct, right compiler version needed. go directory c:\program files (x86)\microsoft visual studio 12.0\common7\tools\shortcuts , call vs2013 x86 native tools command line. works. :)


Comments

Popular posts from this blog

java - WrongTypeOfReturnValue exception thrown when unit testing using mockito -

php - Magento - Deleted Base url key -

android - How to disable Button if EditText is empty ? -