ivan.cuevas Posted March 5, 2012 Share Posted March 5, 2012 Hi, When I try to build Unigine dll using build.py script I get the following error messages: D:\_development_\externalvc10\UNIGINE\UnigineSDK-source-2012-02-26\utils>build.py [ Engine: release build, 64 bit] building main app... executing command: scons_x64 dev=0 debug=0 jobs=0 -Q -u . Can't find SCons. building Network plugin... executing command: scons_x64 dev=0 debug=0 jobs=0 -Q -u . Can't find SCons. cleaning sources, keeping binaries... executing command: D:\_development_\externalvc10\UNIGINE\UnigineSDK-source-2012--26\source/clean.py --quiet --keep_bin 1>nul 2>&1 Errors: [Errno 2] No such file or directory: 'D:\\_development_\\externalvc10\\UNIGINE\\UnigineSDK-source-2012-02-26\\source\\app\\main\\main.exe' [Errno 2] No such file or directory: 'D:\\_development_\\externalvc10\\UNIGINE\\UnigineSDK-source-2012-02-26\\source\\plugins\\Network\\lib\\Network_x64.dll' My SO is Windows 7 64 bits, I have Python 2.7 and SCons 2.1.0 installed and, before build script is invoked, I set the PATH environment variable to point C:\Python27 and C:\Python27\Scripts folders. Cheers, Iván. Note: Visual Studio project file unigine_vc2010 generates a different output file because Target Name is set to '$(ProjectName)' instead of 'Unigine_xXX'. In addition output dir should be changed to %Unigine_Dir%\lib Link to comment
binstream Posted March 11, 2012 Share Posted March 11, 2012 Set %PYTHON_DIR% environment variable. set SCONS=%PYTHON_DIR%\Scripts\scons.bat if exist "%SCONS%" goto scons_ok set SCONS=C:\Python26\Scripts\scons.bat if exist "%SCONS%" goto scons_ok echo Can't find SCons. goto done :scons_ok Link to comment
ivan.cuevas Posted April 14, 2012 Author Share Posted April 14, 2012 "Build completed successfully." Thanks for the help. Link to comment
Recommended Posts