r81 compile problem
first: - i never compiled any revision of cafu before
second: - i tried compiling r81 but got this message
its the message i got while trying to compile the second time
D:\others\Programming\Game\cafu\cafu source>scons -q
scons: Reading SConscript files ...
os.chdir('ExtLibs/wxWidgets/build/msw')
nmake /nologo /f makefile.vc BUILD=debug SHARED=0 USE_OPENGL=1 RUNTIME_LIBS=stat
ic COMPILER_PREFIX=vc9
os.chdir('D:\\others\\Programming\\Game\\cafu\\cafu source')
os.chdir('ExtLibs/wxWidgets/build/msw')
nmake /nologo /f makefile.vc BUILD=release SHARED=0 USE_OPENGL=1 RUNTIME_LIBS=st
atic COMPILER_PREFIX=vc9
os.chdir('D:\\others\\Programming\\Game\\cafu\\cafu source')
scons: done reading SConscript files.
scons: Building targets ...
scons: building terminated because of errors.
why?
i am using python 2.6.4 installer,scons 1.3.0.d20100501 installer and vc++ 2008
already set up the path in environment variable
then i first made a copy of CompilerSetup.py.tmpl and renamed it to CompilerSetup.py and got thet error
then i open the CompilerSetup.py.tmpl in notepad copy all the contents
made a new notepad file name it to CompilerSetup.py and paste the contents in it
then saved it in the cafu directory
and still got the error
please help
thanks
second: - i tried compiling r81 but got this message
its the message i got while trying to compile the second time
D:\others\Programming\Game\cafu\cafu source>scons -q
scons: Reading SConscript files ...
os.chdir('ExtLibs/wxWidgets/build/msw')
nmake /nologo /f makefile.vc BUILD=debug SHARED=0 USE_OPENGL=1 RUNTIME_LIBS=stat
ic COMPILER_PREFIX=vc9
os.chdir('D:\\others\\Programming\\Game\\cafu\\cafu source')
os.chdir('ExtLibs/wxWidgets/build/msw')
nmake /nologo /f makefile.vc BUILD=release SHARED=0 USE_OPENGL=1 RUNTIME_LIBS=st
atic COMPILER_PREFIX=vc9
os.chdir('D:\\others\\Programming\\Game\\cafu\\cafu source')
scons: done reading SConscript files.
scons: Building targets ...
scons: building terminated because of errors.
why?
i am using python 2.6.4 installer,scons 1.3.0.d20100501 installer and vc++ 2008
already set up the path in environment variable
then i first made a copy of CompilerSetup.py.tmpl and renamed it to CompilerSetup.py and got thet error
then i open the CompilerSetup.py.tmpl in notepad copy all the contents
made a new notepad file name it to CompilerSetup.py and paste the contents in it
then saved it in the cafu directory
and still got the error
please help
thanks
Re: r81 compile problem
Hi DarkStar,
ok, don't worry, let's narrow things down:
ok, don't worry, let's narrow things down:
- Which version of Windows are you using, 32- or 64-bit?
- Can you please upgrade to the latest version of SCons (1.3.0.d20100523) and try again? (Run scons -v to check and verify.)
- Next, please delete file .sconsign.dblite in the main Cafu directory, then try again.
- If it still doesn't work, what does scons -Q --debug=stacktrace output?
- In file SConstruct, comment out lines 295 and 297 (both lines start with if (result!=0): ...) by putting a # in front of them:
Then try to re-run SCons.
Code: Select all
# Compile wxWidgets for the current platform. if sys.platform=="win32": # Make sure the "compiler" string begins with "vc" and is three characters long. if compiler[0]=='v' and compiler[1]=='c' and len(compiler)==3: result=envDebug. Execute("nmake /nologo /f makefile.vc BUILD=debug SHARED=0 USE_OPENGL=1 RUNTIME_LIBS=static COMPILER_PREFIX="+compiler, chdir="ExtLibs/wxWidgets/build/msw"); # if (result!=0): envDebug. Exit(result); result=envRelease.Execute("nmake /nologo /f makefile.vc BUILD=release SHARED=0 USE_OPENGL=1 RUNTIME_LIBS=static COMPILER_PREFIX="+compiler, chdir="ExtLibs/wxWidgets/build/msw"); # if (result!=0): envRelease.Exit(result); print ""; # Print just another empty line for better visual separation.
- Finally, if all else fails, run scons -Q --ignore-errors
Best regards,
Carsten
Carsten
Re: r81 compile problem
windows vista (without sp) 32bit
SCons 1.3.0.d20100523
scons -v output
SCons by Steven Knight et al.:
engine: v1.3.0.d20100523.r4907, 2010/05/23 14:26:42, by bdeegan on ubunt
u
Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 The SCo
ns Foundation
now scon-q output
scons: Reading SConscript files ...
os.chdir('ExtLibs/wxWidgets/build/msw')
nmake /nologo /f makefile.vc BUILD=debug SHARED=0 USE_OPENGL=1 RUNTIME_LIBS=stat
ic COMPILER_PREFIX=vc9
'nmake' is not recognized as an internal or external command,
operable program or batch file.
os.chdir('D:\\others\\Programming\\Game\\cafu\\cafu source')
scons: *** Error 1
Deleted .sconsign.dblite
then scons -q output
scons: Reading SConscript files ...
os.chdir('ExtLibs/wxWidgets/build/msw')
nmake /nologo /f makefile.vc BUILD=debug SHARED=0 USE_OPENGL=1 RUNTIME_LIBS=stat
ic COMPILER_PREFIX=vc9
'nmake' is not recognized as an internal or external command,
operable program or batch file.
os.chdir('D:\\others\\Programming\\Game\\cafu\\cafu source')
scons: *** Error 1
scons -Q --debug=stacktrace output
os.chdir('ExtLibs/wxWidgets/build/msw')
nmake /nologo /f makefile.vc BUILD=debug SHARED=0 USE_OPENGL=1 RUNTIME_LIBS=stat
ic COMPILER_PREFIX=vc9
'nmake' is not recognized as an internal or external command,
operable program or batch file.
os.chdir('D:\\others\\Programming\\Game\\cafu\\cafu source')
scons: *** Error 1
Changed the sconstruct file as u told
then scons -q output
scons: Reading SConscript files ...
os.chdir('ExtLibs/wxWidgets/build/msw')
nmake /nologo /f makefile.vc BUILD=debug SHARED=0 USE_OPENGL=1 RUNTIME_LIBS=stat
ic COMPILER_PREFIX=vc9
'nmake' is not recognized as an internal or external command,
operable program or batch file.
os.chdir('D:\\others\\Programming\\Game\\cafu\\cafu source')
scons: *** Error 1
os.chdir('ExtLibs/wxWidgets/build/msw')
nmake /nologo /f makefile.vc BUILD=release SHARED=0 USE_OPENGL=1 RUNTIME_LIBS=st
atic COMPILER_PREFIX=vc9
'nmake' is not recognized as an internal or external command,
operable program or batch file.
os.chdir('D:\\others\\Programming\\Game\\cafu\\cafu source')
scons: *** Error 1
scons: done reading SConscript files.
scons: Building targets ...
scons: building terminated because of errors.
scons -Q --ignore-errors output
the output is almost 10 pages long and command prompt dosent show that much
but hey there is the snap shot
SCons 1.3.0.d20100523
scons -v output
SCons by Steven Knight et al.:
engine: v1.3.0.d20100523.r4907, 2010/05/23 14:26:42, by bdeegan on ubunt
u
Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 The SCo
ns Foundation
now scon-q output
scons: Reading SConscript files ...
os.chdir('ExtLibs/wxWidgets/build/msw')
nmake /nologo /f makefile.vc BUILD=debug SHARED=0 USE_OPENGL=1 RUNTIME_LIBS=stat
ic COMPILER_PREFIX=vc9
'nmake' is not recognized as an internal or external command,
operable program or batch file.
os.chdir('D:\\others\\Programming\\Game\\cafu\\cafu source')
scons: *** Error 1
Deleted .sconsign.dblite
then scons -q output
scons: Reading SConscript files ...
os.chdir('ExtLibs/wxWidgets/build/msw')
nmake /nologo /f makefile.vc BUILD=debug SHARED=0 USE_OPENGL=1 RUNTIME_LIBS=stat
ic COMPILER_PREFIX=vc9
'nmake' is not recognized as an internal or external command,
operable program or batch file.
os.chdir('D:\\others\\Programming\\Game\\cafu\\cafu source')
scons: *** Error 1
scons -Q --debug=stacktrace output
os.chdir('ExtLibs/wxWidgets/build/msw')
nmake /nologo /f makefile.vc BUILD=debug SHARED=0 USE_OPENGL=1 RUNTIME_LIBS=stat
ic COMPILER_PREFIX=vc9
'nmake' is not recognized as an internal or external command,
operable program or batch file.
os.chdir('D:\\others\\Programming\\Game\\cafu\\cafu source')
scons: *** Error 1
Changed the sconstruct file as u told
then scons -q output
scons: Reading SConscript files ...
os.chdir('ExtLibs/wxWidgets/build/msw')
nmake /nologo /f makefile.vc BUILD=debug SHARED=0 USE_OPENGL=1 RUNTIME_LIBS=stat
ic COMPILER_PREFIX=vc9
'nmake' is not recognized as an internal or external command,
operable program or batch file.
os.chdir('D:\\others\\Programming\\Game\\cafu\\cafu source')
scons: *** Error 1
os.chdir('ExtLibs/wxWidgets/build/msw')
nmake /nologo /f makefile.vc BUILD=release SHARED=0 USE_OPENGL=1 RUNTIME_LIBS=st
atic COMPILER_PREFIX=vc9
'nmake' is not recognized as an internal or external command,
operable program or batch file.
os.chdir('D:\\others\\Programming\\Game\\cafu\\cafu source')
scons: *** Error 1
scons: done reading SConscript files.
scons: Building targets ...
scons: building terminated because of errors.
scons -Q --ignore-errors output
the output is almost 10 pages long and command prompt dosent show that much
but hey there is the snap shot
Re: r81 compile problem
Ok, thanks. Good news is that I can reproduce things here. We're dealing with several independent issues:
First, although the Getting Started with the Cafu Source code documentation was correct regarding scons -Q, people tend to write scons -q instead. This however is asking for trouble, because option -Q has an utterly different meaning than option -q. Run scons --help for details.
I've now updated the documentation and removed all mentioning of -Q entirely, and hope that that avoids similar problems in the future.
For you, this means that you should not use -q as well. Please use -Q or omit it entirely, but don't use -q.
The next point is simple: After the above changes and tests, we should re-establish a clean base environment for the build. Running the two commands should take care of it.
Finally, and unfortunately, it seems that the latest version v1.3.0.d20100523 has a new bug where the previous version v1.3.0.d20100501 was fine, so please start SCons now like this: (I've filed an appropriate bug report already, so that they can release a fixed version soon.)
Does this work?
First, although the Getting Started with the Cafu Source code documentation was correct regarding scons -Q, people tend to write scons -q instead. This however is asking for trouble, because option -Q has an utterly different meaning than option -q. Run scons --help for details.
I've now updated the documentation and removed all mentioning of -Q entirely, and hope that that avoids similar problems in the future.
For you, this means that you should not use -q as well. Please use -Q or omit it entirely, but don't use -q.
The next point is simple: After the above changes and tests, we should re-establish a clean base environment for the build. Running the two commands
Code: Select all
del .sconsign.dblite
svn revert SConstruct
Finally, and unfortunately, it seems that the latest version v1.3.0.d20100523 has a new bug where the previous version v1.3.0.d20100501 was fine, so please start SCons now like this:
Code: Select all
scons-1.3.0.d20100501.bat
Does this work?
Best regards,
Carsten
Carsten
Re: r81 compile problem
thanks for such a quick reply
and well if you want to u can add a batch file to compile the source code
like this one
and well if you want to u can add a batch file to compile the source code
like this one
- Attachments
-
- compile.zip
- (145Bytes)Downloaded 354 times
Re: r81 compile problem
You're welcome - I assume then that compilation works now for you.DarkStar wrote:thanks for such a quick reply
Thanks, but I'll rather see to fix the problem at its root...if you want to u can add a batch file to compile the source code
like this one
Best regards,
Carsten
Carsten
Re: r81 compile problem
Good news:
New versions of SCons have just been released that fix the reported problems!
I've also updated the related documentation accordingly, which now also recommends to use the newer SCons 2.0.0(.beta) releases.
New versions of SCons have just been released that fix the reported problems!
I've also updated the related documentation accordingly, which now also recommends to use the newer SCons 2.0.0(.beta) releases.
Best regards,
Carsten
Carsten
Who is online
Users browsing this forum: No registered users and 29 guests