Get technical support about the C++ source code and about
Lua scripts for maps, entities, GUIs, the console, materials, etc. Also covered are the Cafu libraries and APIs, as well as compiling, linking, and the build system.
-
bigjj13
- Posts:68
- Joined:2010-04-04, 19:16
- Location:Germany
-
Contact:
Re: Its not possible to install "scons" on "python"
Post
by bigjj13 » 2010-04-07, 07:56
Hi,
this is, what cmd.exe told me now:
- C:\Cafu-src-r39>set SCONS_MSCOMMON_DEBUG=-
C:\Cafu-src-r39>C:\python26\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
Der Befehl "nmake" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
os.chdir('C:\\Cafu-src-r39')
scons: *** Error 1
Thanks for all
BigJJ
-
Carsten
- Site Admin
- Posts:2170
- Joined:2004-08-19, 13:46
- Location:Germany
-
Contact:
Post
by Carsten » 2010-04-07, 10:55
Hi BigJJ,
you are typing these commands manually, by hand, one by one, all in the
same shell session, are you?
With SCONS_MSCOMMON_DEBUG set to -, SCons should produce a lot more debug output, similar to the example that I posted in my previous message.
Please type these commands, exactly as shown below, and post the output that they produce:
(If Scons has been properly installed before, no path C:\python26\... should be necessary.) This should output the proper version of SCons.
This doesn't output anything, but sets the environment variable to -.
Starts the compilation with debug output enabled.
Best regards,
Carsten
-
bigjj13
- Posts:68
- Joined:2010-04-04, 19:16
- Location:Germany
-
Contact:
Post
by bigjj13 » 2010-04-07, 12:42
Hi,
now cmd.exe told me that:
- C:\Users\Besitzer>cd C:\Cafu-src-r39
C:\Cafu-src-r39>scons -v
Der Befehl "scons" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
C:\Cafu-src-r39>C:\python26\scons -v
SCons by Steven Knight et al.:
engine: v1.3.0.d20100404.r4761, 2010/04/04 14:04:44, by bdeegan on coold
og
Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 The SCo
ns Foundation
C:\Cafu-src-r39>set SCONS_MSCOMMON_DEBUG=-
C:\Cafu-src-r39>C:\python26\scons -q
scons: Reading SConscript files ...
trying to find VC 10.0
find_vc_dir(): no VC registry key 'Software\\Wow6432Node\\Microsoft\\VisualStudi
o\\10.0\\Setup\\VC\\ProductDir'
find_vc_pdir return None for ver 10.0
trying to find VC 9.0
find_vc_dir(): no VC registry key 'Software\\Wow6432Node\\Microsoft\\VisualStudi
o\\9.0\\Setup\\VC\\ProductDir'
find_vc_pdir return None for ver 9.0
trying to find VC 9.0Exp
find_vc_dir(): found VC in registry: D:\Program Files (x86)\Microsoft Visual Stu
dio 9.0\VC\
found VC 9.0Exp
trying to find VC 8.0
find_vc_dir(): no VC registry key 'Software\\Wow6432Node\\Microsoft\\VisualStudi
o\\8.0\\Setup\\VC\\ProductDir'
find_vc_pdir return None for ver 8.0
trying to find VC 8.0Exp
find_vc_dir(): no VC registry key 'Software\\Wow6432Node\\Microsoft\\VCExpress\\
8.0\\Setup\\VC\\ProductDir'
find_vc_pdir return None for ver 8.0Exp
trying to find VC 7.1
find_vc_dir(): no VC registry key 'Software\\Wow6432Node\\Microsoft\\VisualStudi
o\\7.1\\Setup\\VC\\ProductDir'
find_vc_pdir return None for ver 7.1
trying to find VC 7.0
find_vc_dir(): no VC registry key 'Software\\Wow6432Node\\Microsoft\\VisualStudi
o\\7.0\\Setup\\VC\\ProductDir'
find_vc_pdir return None for ver 7.0
trying to find VC 6.0
find_vc_dir(): no VC registry key 'Software\\Wow6432Node\\Microsoft\\VisualStudi
o\\6.0\\Setup\\Microsoft Visual C++\\ProductDir'
find_vc_pdir return None for ver 6.0
msvc_setup_env()
get_default_version()
get_default_version(): msvc_version:None msvs_version:None
installed_vcs:['9.0Exp']
msvc_setup_env: using default installed MSVC version '9.0Exp'
msvc_setup_env: using specified MSVC version '9.0Exp'
find_vc_dir(): found VC in registry: D:\Program Files (x86)\Microsoft Visual Stu
dio 9.0\VC\
vc.py: find_batch_file() pdir:D:\Program Files (x86)\Microsoft Visual Studio 9.0
\VC\
sdk.py:get_installed_sdks()
MSCommon/sdk.py: trying to find SDK 7.0
find_sdk_dir(): checking registry:Software\Microsoft\Microsoft SDKs\Windows\v7.0
\InstallationFolder
find_sdk_dir(): no SDK registry key 'Software\\Microsoft\\Microsoft SDKs\\Window
s\\v7.0\\InstallationFolder'
MSCommon/sdk.py: trying to find SDK 6.1
find_sdk_dir(): checking registry:Software\Microsoft\Microsoft SDKs\Windows\v6.1
\InstallationFolder
find_sdk_dir(): no SDK registry key 'Software\\Microsoft\\Microsoft SDKs\\Window
s\\v6.1\\InstallationFolder'
MSCommon/sdk.py: trying to find SDK 6.0A
find_sdk_dir(): checking registry:Software\Microsoft\Microsoft SDKs\Windows\v6.0
A\InstallationFolder
find_sdk_dir(): Trying SDK Dir: C:\Program Files\Microsoft SDKs\Windows\v6.0A\
MSCommon/sdk.py:found SDK 6.0A
MSCommon/sdk.py: trying to find SDK 6.0
find_sdk_dir(): checking registry:Software\Microsoft\Microsoft SDKs\Windows\v6.0
\InstallationFolder
find_sdk_dir(): no SDK registry key 'Software\\Microsoft\\Microsoft SDKs\\Window
s\\v6.0\\InstallationFolder'
MSCommon/sdk.py: trying to find SDK 2003R2
find_sdk_dir(): checking registry:Software\Microsoft\MicrosoftSDK\InstalledSDKS\
D2FF9F89-8AA2-4373-8A31-C838BF4DBBE1\Install Dir
find_sdk_dir(): no SDK registry key 'Software\\Microsoft\\MicrosoftSDK\\Installe
dSDKS\\D2FF9F89-8AA2-4373-8A31-C838BF4DBBE1\\Install Dir'
MSCommon/sdk.py: trying to find SDK 2003R1
find_sdk_dir(): checking registry:Software\Microsoft\MicrosoftSDK\InstalledSDKS\
8F9E5EF3-A9A5-491B-A889-C58EFFECE8B3\Install Dir
find_sdk_dir(): no SDK registry key 'Software\\Microsoft\\MicrosoftSDK\\Installe
dSDKS\\8F9E5EF3-A9A5-491B-A889-C58EFFECE8B3\\Install Dir'
sdk.py: get_sdk_vc_script():arch_string:amd64 host_arch:amd64 target_arch:amd64
sdk.py: get_sdk_vc_script():file:bin\vcvarsamd64.bat
vc.py:find_batch_file() sdk_bat_file_path:D:\Program Files (x86)\Microsoft Visua
l Studio 9.0\VC\bin\vcvarsamd64.bat
vc.py:find_batch_file() not found:D:\Program Files (x86)\Microsoft Visual Studio
9.0\VC\bin\vcvarsamd64.bat
vc.py:msvc_setup_env() vc_script:D:\Program Files (x86)\Microsoft Visual Studio
9.0\VC\vcvarsall.bat sdk_script:None
vc.py:msvc_setup_env() vc_script:D:\Program Files (x86)\Microsoft Visual Studio
9.0\VC\vcvarsall.bat sdk_script:None
use_script 2 u'D:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\vcvarsa
ll.bat', args:amd64
Calling 'D:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\vcvarsall.bat amd
64'
use_script 3: failed running VC script u'D:\\Program Files (x86)\\Microsoft Visu
al Studio 9.0\\VC\\vcvarsall.bat': amd64: Error:The specified configuration type
is missing. The tools for the
configuration might not be installed.
use_script 6: Neither VC script nor SDK script found
msvc_setup_env()
get_default_version()
get_default_version(): msvc_version:None msvs_version:None
installed_vcs:['9.0Exp']
msvc_setup_env: using default installed MSVC version '9.0Exp'
msvc_setup_env: using specified MSVC version '9.0Exp'
find_vc_dir(): found VC in registry: D:\Program Files (x86)\Microsoft Visual Stu
dio 9.0\VC\
vc.py: find_batch_file() pdir:D:\Program Files (x86)\Microsoft Visual Studio 9.0
\VC\
sdk.py:get_installed_sdks()
sdk.py: get_sdk_vc_script():arch_string:amd64 host_arch:amd64 target_arch:amd64
sdk.py: get_sdk_vc_script():file:bin\vcvarsamd64.bat
vc.py:find_batch_file() sdk_bat_file_path:D:\Program Files (x86)\Microsoft Visua
l Studio 9.0\VC\bin\vcvarsamd64.bat
vc.py:find_batch_file() not found:D:\Program Files (x86)\Microsoft Visual Studio
9.0\VC\bin\vcvarsamd64.bat
vc.py:msvc_setup_env() vc_script:D:\Program Files (x86)\Microsoft Visual Studio
9.0\VC\vcvarsall.bat sdk_script:None
vc.py:msvc_setup_env() vc_script:D:\Program Files (x86)\Microsoft Visual Studio
9.0\VC\vcvarsall.bat sdk_script:None
use_script 2 u'D:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\vcvarsa
ll.bat', args:amd64
Calling 'D:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\vcvarsall.bat amd
64'
use_script 3: failed running VC script u'D:\\Program Files (x86)\\Microsoft Visu
al Studio 9.0\\VC\\vcvarsall.bat': amd64: Error:The specified configuration type
is missing. The tools for the
configuration might not be installed.
use_script 6: Neither VC script nor SDK script found
sdk.py:mssdk_setup_env()
sdk.py:mssdk_setup_env:Getting MSVS_VERSION from env:9.0Exp
vs.py:get_vs_by_version()
trying to find VS 9.0
find_vs_dir_by_reg(): no VS registry key 'Software\\Wow6432Node\\Microsoft\\Visu
alStudio\\9.0\\Setup\\VS\\ProductDir'
find_executable(): no vs_dir (None)
get_executable not in cache:None
trying to find VS 9.0Exp
find_vs_dir_by_reg(): found VS in registry: D:\Program Files (x86)\Microsoft Vis
ual Studio 9.0\
get_executable not in cache:D:\Program Files (x86)\Microsoft Visual Studio 9.0\C
ommon7\IDE\VCExpress.exe
found VS 9.0Exp
trying to find VS 8.0
find_vs_dir_by_reg(): no VS registry key 'Software\\Wow6432Node\\Microsoft\\Visu
alStudio\\8.0\\Setup\\VS\\ProductDir'
find_executable(): no vs_dir (None)
get_executable not in cache:None
trying to find VS 8.0Exp
find_vs_dir_by_reg(): no VS registry key 'Software\\Wow6432Node\\Microsoft\\VCEx
press\\8.0\\Setup\\VS\\ProductDir'
find_executable(): no vs_dir (None)
get_executable not in cache:None
trying to find VS 7.1
find_vs_dir_by_reg(): no VS registry key 'Software\\Wow6432Node\\Microsoft\\Visu
alStudio\\7.1\\Setup\\VS\\ProductDir'
find_executable(): no vs_dir (None)
get_executable not in cache:None
trying to find VS 7.0
find_vs_dir_by_reg(): no VS registry key 'Software\\Wow6432Node\\Microsoft\\Visu
alStudio\\7.0\\Setup\\VS\\ProductDir'
find_executable(): no vs_dir (None)
get_executable not in cache:None
trying to find VS 6.0
find_vs_dir_by_reg(): no VS registry key 'Software\\Wow6432Node\\Microsoft\\Visu
alStudio\\6.0\\Setup\\Microsoft Visual Studio\\ProductDir'
trying to find VC 10.0
find_vc_dir(): no VC registry key 'Software\\Wow6432Node\\Microsoft\\VisualStudi
o\\10.0\\Setup\\VC\\ProductDir'
find_vc_pdir return None for ver 10.0
trying to find VC 9.0
find_vc_dir(): no VC registry key 'Software\\Wow6432Node\\Microsoft\\VisualStudi
o\\9.0\\Setup\\VC\\ProductDir'
find_vc_pdir return None for ver 9.0
trying to find VC 9.0Exp
find_vc_dir(): found VC in registry: D:\Program Files (x86)\Microsoft Visual Stu
dio 9.0\VC\
found VC 9.0Exp
trying to find VC 8.0
find_vc_dir(): no VC registry key 'Software\\Wow6432Node\\Microsoft\\VisualStudi
o\\8.0\\Setup\\VC\\ProductDir'
find_vc_pdir return None for ver 8.0
trying to find VC 8.0Exp
find_vc_dir(): no VC registry key 'Software\\Wow6432Node\\Microsoft\\VCExpress\\
8.0\\Setup\\VC\\ProductDir'
find_vc_pdir return None for ver 8.0Exp
trying to find VC 7.1
find_vc_dir(): no VC registry key 'Software\\Wow6432Node\\Microsoft\\VisualStudi
o\\7.1\\Setup\\VC\\ProductDir'
find_vc_pdir return None for ver 7.1
trying to find VC 7.0
find_vc_dir(): no VC registry key 'Software\\Wow6432Node\\Microsoft\\VisualStudi
o\\7.0\\Setup\\VC\\ProductDir'
find_vc_pdir return None for ver 7.0
trying to find VC 6.0
find_vc_dir(): no VC registry key 'Software\\Wow6432Node\\Microsoft\\VisualStudi
o\\6.0\\Setup\\Microsoft Visual C++\\ProductDir'
find_vc_pdir return None for ver 6.0
find_vc_dir(): no VC registry key 'Software\\Wow6432Node\\Microsoft\\VisualStudi
o\\6.0\\Setup\\Microsoft Visual C++\\ProductDir'
find_vs_dir(): no installed VC 6.0
find_executable(): no vs_dir (None)
get_executable not in cache:None
InstalledVSMap:{'9.0Exp': <SCons.Tool.MSCommon.vs.VisualStudio instance at 0x025
BF828>}
vs.py:get_vs_by_version: found vs:<SCons.Tool.MSCommon.vs.VisualStudio instance
at 0x025BF828>
sdk.py:mssdk_setup_env:msvs is :<SCons.Tool.MSCommon.vs.VisualStudio instance at
0x025BF828>
sdk.py:msvs.sdk_version is 6.1
sdk.py:get_installed_sdks()
sdk.py:get_installed_sdks()
sdk.py:mssdk_setup_env: Using MSVS_VERSION:C:\Program Files\Microsoft SDKs\Windo
ws\v6.0A\
set_sdk_by_directory: Using dir:C:\Program Files\Microsoft SDKs\Windows\v6.0A\
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
Der Befehl "nmake" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
os.chdir('C:\\Cafu-src-r39')
scons: *** Error 1
C:\Cafu-src-r39>
Please type these commands, exactly as shown below, and post the output that they produce:
Didn't work, cmd.exe displays:
- C:\Cafu-src-r39>scons -v
Der Befehl "scons" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
Thanks for all
Bigjj
-
Carsten
- Site Admin
- Posts:2170
- Joined:2004-08-19, 13:46
- Location:Germany
-
Contact:
Post
by Carsten » 2010-04-07, 14:32
Ok, thanks!
It looks as if you're running Windows on the
amd64 architecture, but have installed VC++ 9 for
x86 architecture only. SCons tries to compile Cafu for
amd64 then...
Please insert
TARGET_ARCH='x86', after line 112 in the
SConstruct file, so that the entire block then looks like this:
Code: Select all
# Begin with an environment with settings that are common for debug, release and profile builds.
envCommon=Environment(
TARGET_ARCH='x86',
CCFLAGS = Split("/nologo /GR /EHsc"), # CCFLAGS is also taken as the default value for CXXFLAGS.
CPPDEFINES = ["_CRT_SECURE_NO_DEPRECATE", "_CRT_NONSTDC_NO_DEPRECATE"],
LINKFLAGS = Split("/nologo /incremental:no"))
Does this help?
If not, please post the full output with SCONS_MSCOMMON_DEBUG again.
Best regards,
Carsten
-
bigjj13
- Posts:68
- Joined:2010-04-04, 19:16
- Location:Germany
-
Contact:
Post
by bigjj13 » 2010-04-07, 15:14
Hi
thanks for that tip!
It starts building!!
But there are some errors left:
Here is the last part of the log:
- cl /c /nologo /TP /Fovc9_mswu\stclib_PlatWX.obj /MT /DWIN32 /Fd..\..\lib\vc9_lib\wxmsw29u_stc.pdb /O2 /D__WXMSW__ /D_UNICODE /I..\..\lib\vc9_lib\mswu /I..\..\include /W4 /DWXBUILDING /I..\..\src\tiff\libtiff /I..\..\src\jpeg /I..\..\src\png /I..\..\src\zlib /I..\..\src\regex /I..\..\src\expat\lib /I..\..\src\stc\scintilla\include /I..\..\src\stc\scintilla\src /D__WX__ /DSCI_LEXER /DLINK_LEXERS /GR /EHsc /Yu"wx/wxprec.h" /Fp"vc9_mswu\wxprec_stclib.pch" ..\..\src\stc\PlatWX.cpp
PlatWX.cpp
..\..\src\stc\PlatWX.cpp(143) : warning C4100: 'extraFontFlag': Unreferenzierter formaler Parameter
cl /c /nologo /TP /Fovc9_mswu\stclib_ScintillaWX.obj /MT /DWIN32 /Fd..\..\lib\vc9_lib\wxmsw29u_stc.pdb /O2 /D__WXMSW__ /D_UNICODE /I..\..\lib\vc9_lib\mswu /I..\..\include /W4 /DWXBUILDING /I..\..\src\tiff\libtiff /I..\..\src\jpeg /I..\..\src\png /I..\..\src\zlib /I..\..\src\regex /I..\..\src\expat\lib /I..\..\src\stc\scintilla\include /I..\..\src\stc\scintilla\src /D__WX__ /DSCI_LEXER /DLINK_LEXERS /GR /EHsc /Yu"wx/wxprec.h" /Fp"vc9_mswu\wxprec_stclib.pch" ..\..\src\stc\ScintillaWX.cpp
ScintillaWX.cpp
if exist ..\..\lib\vc9_lib\wxmsw29u_stc.lib del ..\..\lib\vc9_lib\wxmsw29u_stc.lib
link /LIB /NOLOGO /OUT:..\..\lib\vc9_lib\wxmsw29u_stc.lib @C:\Users\Besitzer\AppData\Local\Temp\nm2FBD.tmp
cl /c /nologo /TP /Fovc9_mswu\gllib_dummy.obj /MT /DWIN32 /Fd..\..\lib\vc9_lib\wxmsw29u_gl.pdb /O2 /D__WXMSW__ /D_UNICODE /I..\..\lib\vc9_lib\mswu /I..\..\include /W4 /DWXBUILDING /I..\..\src\tiff\libtiff /I..\..\src\jpeg /I..\..\src\png /I..\..\src\zlib /I..\..\src\regex /I..\..\src\expat\lib /GR /EHsc /Yu"wx/wxprec.h" /Fp"vc9_mswu\wxprec_gllib.pch" /Ycwx/wxprec.h ..\..\src\common\dummy.cpp
dummy.cpp
cl /c /nologo /TP /Fovc9_mswu\gllib_glcmn.obj /MT /DWIN32 /Fd..\..\lib\vc9_lib\wxmsw29u_gl.pdb /O2 /D__WXMSW__ /D_UNICODE /I..\..\lib\vc9_lib\mswu /I..\..\include /W4 /DWXBUILDING /I..\..\src\tiff\libtiff /I..\..\src\jpeg /I..\..\src\png /I..\..\src\zlib /I..\..\src\regex /I..\..\src\expat\lib /GR /EHsc /Yu"wx/wxprec.h" /Fp"vc9_mswu\wxprec_gllib.pch" ..\..\src\common\glcmn.cpp
glcmn.cpp
cl /c /nologo /TP /Fovc9_mswu\gllib_glcanvas.obj /MT /DWIN32 /Fd..\..\lib\vc9_lib\wxmsw29u_gl.pdb /O2 /D__WXMSW__ /D_UNICODE /I..\..\lib\vc9_lib\mswu /I..\..\include /W4 /DWXBUILDING /I..\..\src\tiff\libtiff /I..\..\src\jpeg /I..\..\src\png /I..\..\src\zlib /I..\..\src\regex /I..\..\src\expat\lib /GR /EHsc /Yu"wx/wxprec.h" /Fp"vc9_mswu\wxprec_gllib.pch" ..\..\src\msw\glcanvas.cpp
glcanvas.cpp
if exist ..\..\lib\vc9_lib\wxmsw29u_gl.lib del ..\..\lib\vc9_lib\wxmsw29u_gl.lib
link /LIB /NOLOGO /OUT:..\..\lib\vc9_lib\wxmsw29u_gl.lib @C:\Users\Besitzer\AppData\Local\Temp\nm3B04.tmp
os.chdir('C:\\Cafu-src-r39')
scons: done reading SConscript files.
scons: Building targets ...
scons: building terminated because of errors.
C:\Cafu-src-r39> C:\python26\scons -q
scons: Reading SConscript files ...
trying to find VC 10.0
find_vc_dir(): no VC registry key 'Software\\Wow6432Node\\Microsoft\\VisualStudio\\10.0\\Setup\\VC\\ProductDir'
find_vc_pdir return None for ver 10.0
trying to find VC 9.0
find_vc_dir(): no VC registry key 'Software\\Wow6432Node\\Microsoft\\VisualStudio\\9.0\\Setup\\VC\\ProductDir'
find_vc_pdir return None for ver 9.0
trying to find VC 9.0Exp
find_vc_dir(): found VC in registry: D:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\
found VC 9.0Exp
trying to find VC 8.0
find_vc_dir(): no VC registry key 'Software\\Wow6432Node\\Microsoft\\VisualStudio\\8.0\\Setup\\VC\\ProductDir'
find_vc_pdir return None for ver 8.0
trying to find VC 8.0Exp
find_vc_dir(): no VC registry key 'Software\\Wow6432Node\\Microsoft\\VCExpress\\8.0\\Setup\\VC\\ProductDir'
find_vc_pdir return None for ver 8.0Exp
trying to find VC 7.1
find_vc_dir(): no VC registry key 'Software\\Wow6432Node\\Microsoft\\VisualStudio\\7.1\\Setup\\VC\\ProductDir'
find_vc_pdir return None for ver 7.1
trying to find VC 7.0
find_vc_dir(): no VC registry key 'Software\\Wow6432Node\\Microsoft\\VisualStudio\\7.0\\Setup\\VC\\ProductDir'
find_vc_pdir return None for ver 7.0
trying to find VC 6.0
find_vc_dir(): no VC registry key 'Software\\Wow6432Node\\Microsoft\\VisualStudio\\6.0\\Setup\\Microsoft Visual C++\\ProductDir'
find_vc_pdir return None for ver 6.0
msvc_setup_env()
get_default_version()
get_default_version(): msvc_version:None msvs_version:None
installed_vcs:['9.0Exp']
msvc_setup_env: using default installed MSVC version '9.0Exp'
msvc_setup_env: using specified MSVC version '9.0Exp'
find_vc_dir(): found VC in registry: D:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\
vc.py: find_batch_file() pdir:D:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\
sdk.py:get_installed_sdks()
MSCommon/sdk.py: trying to find SDK 7.0
find_sdk_dir(): checking registry:Software\Microsoft\Microsoft SDKs\Windows\v7.0\InstallationFolder
find_sdk_dir(): no SDK registry key 'Software\\Microsoft\\Microsoft SDKs\\Windows\\v7.0\\InstallationFolder'
MSCommon/sdk.py: trying to find SDK 6.1
find_sdk_dir(): checking registry:Software\Microsoft\Microsoft SDKs\Windows\v6.1\InstallationFolder
find_sdk_dir(): no SDK registry key 'Software\\Microsoft\\Microsoft SDKs\\Windows\\v6.1\\InstallationFolder'
MSCommon/sdk.py: trying to find SDK 6.0A
find_sdk_dir(): checking registry:Software\Microsoft\Microsoft SDKs\Windows\v6.0A\InstallationFolder
find_sdk_dir(): Trying SDK Dir: C:\Program Files\Microsoft SDKs\Windows\v6.0A\
MSCommon/sdk.py:found SDK 6.0A
MSCommon/sdk.py: trying to find SDK 6.0
find_sdk_dir(): checking registry:Software\Microsoft\Microsoft SDKs\Windows\v6.0\InstallationFolder
find_sdk_dir(): no SDK registry key 'Software\\Microsoft\\Microsoft SDKs\\Windows\\v6.0\\InstallationFolder'
MSCommon/sdk.py: trying to find SDK 2003R2
find_sdk_dir(): checking registry:Software\Microsoft\MicrosoftSDK\InstalledSDKS\D2FF9F89-8AA2-4373-8A31-C838BF4DBBE1\Install Dir
find_sdk_dir(): no SDK registry key 'Software\\Microsoft\\MicrosoftSDK\\InstalledSDKS\\D2FF9F89-8AA2-4373-8A31-C838BF4DBBE1\\Install Dir'
MSCommon/sdk.py: trying to find SDK 2003R1
find_sdk_dir(): checking registry:Software\Microsoft\MicrosoftSDK\InstalledSDKS\8F9E5EF3-A9A5-491B-A889-C58EFFECE8B3\Install Dir
find_sdk_dir(): no SDK registry key 'Software\\Microsoft\\MicrosoftSDK\\InstalledSDKS\\8F9E5EF3-A9A5-491B-A889-C58EFFECE8B3\\Install Dir'
sdk.py: get_sdk_vc_script():arch_string:amd64 host_arch:amd64 target_arch:amd64
sdk.py: get_sdk_vc_script():file:bin\vcvarsamd64.bat
vc.py:find_batch_file() sdk_bat_file_path:D:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\vcvarsamd64.bat
vc.py:find_batch_file() not found:D:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\vcvarsamd64.bat
vc.py:msvc_setup_env() vc_script:D:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\vcvarsall.bat sdk_script:None
vc.py:msvc_setup_env() vc_script:D:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\vcvarsall.bat sdk_script:None
use_script 2 u'D:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\vcvarsall.bat', args:amd64
Calling 'D:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\vcvarsall.bat amd64'
use_script 3: failed running VC script u'D:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\vcvarsall.bat': amd64: Error:The specified configuration type is missing. The tools for the configuration might not be installed.
use_script 6: Neither VC script nor SDK script found
msvc_setup_env()
get_default_version()
get_default_version(): msvc_version:None msvs_version:None
installed_vcs:['9.0Exp']
msvc_setup_env: using default installed MSVC version '9.0Exp'
msvc_setup_env: using specified MSVC version '9.0Exp'
find_vc_dir(): found VC in registry: D:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\
vc.py: find_batch_file() pdir:D:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\
sdk.py:get_installed_sdks()
sdk.py: get_sdk_vc_script():arch_string:x86 host_arch:x86 target_arch:x86
sdk.py: get_sdk_vc_script():file:bin\vcvars32.bat
vc.py:find_batch_file() sdk_bat_file_path:D:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\vcvars32.bat
vc.py:msvc_setup_env() vc_script:D:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\vcvarsall.bat sdk_script:D:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\vcvars32.bat
vc.py:msvc_setup_env() vc_script:D:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\vcvarsall.bat sdk_script:D:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\vcvars32.bat
use_script 2 u'D:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\vcvarsall.bat', args:x86
Calling 'D:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\vcvarsall.bat x86'
vc.py:msvc_setup_env() env:PATH -> ['D:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\Common7\\IDE', 'D:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\BIN', 'D:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\Common7\\Tools', 'C:\\Windows\\Microsoft.NET\\Framework\\v3.5', 'C:\\Windows\\Microsoft.NET\\Framework\\v2.0.50727', 'D:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\VCPackages', 'C:\\Program Files\\Microsoft SDKs\\Windows\\v6.0A\\bin', 'C:\\Python26\\', 'C:\\Python26\\..', 'C:\\Windows\\system32', 'C:\\Windows', 'C:\\Windows\\System32\\Wbem', 'C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\', 'C:\\Program Files (x86)\\QuickTime\\QTSystem\\']
vc.py:msvc_setup_env() env:INCLUDE -> ['D:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\INCLUDE', 'C:\\Program Files\\Microsoft SDKs\\Windows\\v6.0A\\include']
vc.py:msvc_setup_env() env:LIB -> ['D:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\LIB', 'C:\\Program Files\\Microsoft SDKs\\Windows\\v6.0A\\lib']
vc.py:msvc_setup_env() env:LIBPATH -> ['C:\\Windows\\Microsoft.NET\\Framework\\v3.5', 'C:\\Windows\\Microsoft.NET\\Framework\\v2.0.50727', 'D:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\LIB']
sdk.py:mssdk_setup_env()
sdk.py:mssdk_setup_env:Getting MSVS_VERSION from env:9.0Exp
vs.py:get_vs_by_version()
trying to find VS 9.0
find_vs_dir_by_reg(): no VS registry key 'Software\\Wow6432Node\\Microsoft\\VisualStudio\\9.0\\Setup\\VS\\ProductDir'
find_executable(): no vs_dir (None)
get_executable not in cache:None
trying to find VS 9.0Exp
find_vs_dir_by_reg(): found VS in registry: D:\Program Files (x86)\Microsoft Visual Studio 9.0\
get_executable not in cache:D:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\VCExpress.exe
found VS 9.0Exp
trying to find VS 8.0
find_vs_dir_by_reg(): no VS registry key 'Software\\Wow6432Node\\Microsoft\\VisualStudio\\8.0\\Setup\\VS\\ProductDir'
find_executable(): no vs_dir (None)
get_executable not in cache:None
trying to find VS 8.0Exp
find_vs_dir_by_reg(): no VS registry key 'Software\\Wow6432Node\\Microsoft\\VCExpress\\8.0\\Setup\\VS\\ProductDir'
find_executable(): no vs_dir (None)
get_executable not in cache:None
trying to find VS 7.1
find_vs_dir_by_reg(): no VS registry key 'Software\\Wow6432Node\\Microsoft\\VisualStudio\\7.1\\Setup\\VS\\ProductDir'
find_executable(): no vs_dir (None)
get_executable not in cache:None
trying to find VS 7.0
find_vs_dir_by_reg(): no VS registry key 'Software\\Wow6432Node\\Microsoft\\VisualStudio\\7.0\\Setup\\VS\\ProductDir'
find_executable(): no vs_dir (None)
get_executable not in cache:None
trying to find VS 6.0
find_vs_dir_by_reg(): no VS registry key 'Software\\Wow6432Node\\Microsoft\\VisualStudio\\6.0\\Setup\\Microsoft Visual Studio\\ProductDir'
trying to find VC 10.0
find_vc_dir(): no VC registry key 'Software\\Wow6432Node\\Microsoft\\VisualStudio\\10.0\\Setup\\VC\\ProductDir'
find_vc_pdir return None for ver 10.0
trying to find VC 9.0
find_vc_dir(): no VC registry key 'Software\\Wow6432Node\\Microsoft\\VisualStudio\\9.0\\Setup\\VC\\ProductDir'
find_vc_pdir return None for ver 9.0
trying to find VC 9.0Exp
find_vc_dir(): found VC in registry: D:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\
found VC 9.0Exp
trying to find VC 8.0
find_vc_dir(): no VC registry key 'Software\\Wow6432Node\\Microsoft\\VisualStudio\\8.0\\Setup\\VC\\ProductDir'
find_vc_pdir return None for ver 8.0
trying to find VC 8.0Exp
find_vc_dir(): no VC registry key 'Software\\Wow6432Node\\Microsoft\\VCExpress\\8.0\\Setup\\VC\\ProductDir'
find_vc_pdir return None for ver 8.0Exp
trying to find VC 7.1
find_vc_dir(): no VC registry key 'Software\\Wow6432Node\\Microsoft\\VisualStudio\\7.1\\Setup\\VC\\ProductDir'
find_vc_pdir return None for ver 7.1
trying to find VC 7.0
find_vc_dir(): no VC registry key 'Software\\Wow6432Node\\Microsoft\\VisualStudio\\7.0\\Setup\\VC\\ProductDir'
find_vc_pdir return None for ver 7.0
trying to find VC 6.0
find_vc_dir(): no VC registry key 'Software\\Wow6432Node\\Microsoft\\VisualStudio\\6.0\\Setup\\Microsoft Visual C++\\ProductDir'
find_vc_pdir return None for ver 6.0
find_vc_dir(): no VC registry key 'Software\\Wow6432Node\\Microsoft\\VisualStudio\\6.0\\Setup\\Microsoft Visual C++\\ProductDir'
find_vs_dir(): no installed VC 6.0
find_executable(): no vs_dir (None)
get_executable not in cache:None
InstalledVSMap:{'9.0Exp': <SCons.Tool.MSCommon.vs.VisualStudio instance at 0x0258F878>}
vs.py:get_vs_by_version: found vs:<SCons.Tool.MSCommon.vs.VisualStudio instance at 0x0258F878>
sdk.py:mssdk_setup_env:msvs is :<SCons.Tool.MSCommon.vs.VisualStudio instance at 0x0258F878>
sdk.py:msvs.sdk_version is 6.1
sdk.py:get_installed_sdks()
sdk.py:get_installed_sdks()
sdk.py:mssdk_setup_env: Using MSVS_VERSION:C:\Program Files\Microsoft SDKs\Windows\v6.0A\
set_sdk_by_directory: Using dir:C:\Program Files\Microsoft SDKs\Windows\v6.0A\
os.chdir('ExtLibs/wxWidgets/build/msw')
nmake /nologo /f makefile.vc BUILD=debug SHARED=0 USE_OPENGL=1 RUNTIME_LIBS=static COMPILER_PREFIX=vc9
os.chdir('C:\\Cafu-src-r39')
os.chdir('ExtLibs/wxWidgets/build/msw')
nmake /nologo /f makefile.vc BUILD=release SHARED=0 USE_OPENGL=1 RUNTIME_LIBS=static COMPILER_PREFIX=vc9
os.chdir('C:\\Cafu-src-r39')
scons: done reading SConscript files.
scons: Building targets ...
scons: building terminated because of errors.
C:\Cafu-src-r39>
Thank you very much
BigJJ
-
Carsten
- Site Admin
- Posts:2170
- Joined:2004-08-19, 13:46
- Location:Germany
-
Contact:
Post
by Carsten » 2010-04-07, 21:17
To be honest, I cannot see where the error comes from in all that output.
Can you please re-run SCons from a new shell (that has SCONS_MSCOMMON_DEBUG not set) and post the output?
Best regards,
Carsten
-
bigjj13
- Posts:68
- Joined:2010-04-04, 19:16
- Location:Germany
-
Contact:
Post
by bigjj13 » 2010-04-07, 21:22
Hi,
Here is the Log
- C:\Cafu-src-r39>C:\python26\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('C:\\Cafu-src-r39')
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('C:\\Cafu-src-r39')
scons: done reading SConscript files.
scons: Building targets ...
scons: building terminated because of errors.
Thanks BigJJ
-
bigjj13
- Posts:68
- Joined:2010-04-04, 19:16
- Location:Germany
-
Contact:
Post
by bigjj13 » 2010-04-08, 11:24
HI,
Thanks for all
BigJJ
-
Carsten
- Site Admin
- Posts:2170
- Joined:2004-08-19, 13:46
- Location:Germany
-
Contact:
Post
by Carsten » 2010-04-09, 01:16
Hi again,
I'll be out of office tomorrow (Friday) and Saturday, so I can only get back to you on Sunday or Monday, but here is a work-around that you might try:
In the Cafu directory with the
SConscript file, create a new directory
site_scons, and inside that directory create a file with name
site_init.py that only has one line of contents:
DefaultEnvironment(TARGET_ARCH='x86')
You can achieve all this easily at the command-prompt (assuming you're in the Cafu directory where you also run SCons from) by typing these two commands:
Code: Select all
mkdir site_scons
echo DefaultEnvironment(TARGET_ARCH='x86') > site_scons\site_init.py
That's all. Re-run scons and let us know if it works!
Best regards,
Carsten
-
bigjj13
- Posts:68
- Joined:2010-04-04, 19:16
- Location:Germany
-
Contact:
Post
by bigjj13 » 2010-04-09, 09:29
Hi,
it shows me the same error:
- C:\Users\Besitzer>cd C:\Cafu-src-r39
C:\Cafu-src-r39>C:\python26\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('C:\\Cafu-src-r39')
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('C:\\Cafu-src-r39')
scons: done reading SConscript files.
scons: Building targets ...
scons: building terminated because of errors.
Thanks for all
BigJJ
-
Carsten
- Site Admin
- Posts:2170
- Joined:2004-08-19, 13:46
- Location:Germany
-
Contact:
Post
by Carsten » 2010-04-12, 10:55
Dear BigJJ,
please run the following commands in the Cafu directory, then restart scons:
Code: Select all
del .sconsign.dblite
rd /s ExtLibs\wxWidgets\lib\vc9_lib
rd /s ExtLibs\wxWidgets\build\msw\vc9_mswu
rd /s ExtLibs\wxWidgets\build\msw\vc9_mswud
(Be careful when you type, these commands delete some directories in order to get a clean start from scratch.)
If an error occurs, please post as much as possible of it (the occurrence of the
first error is especially important).
Best regards,
Carsten
-
bigjj13
- Posts:68
- Joined:2010-04-04, 19:16
- Location:Germany
-
Contact:
Post
by bigjj13 » 2010-04-12, 15:57
Hi
I think Here is the Error:
Code: Select all
cl /c /nologo /TP /Fovc9_mswu\gllib_glcmn.obj /MT /DWIN32 /Fd..\..\li
b\vc9_lib\wxmsw29u_gl.pdb /O2 /D__WXMSW__ /D_UNICODE /I..\..\lib\vc
9_lib\mswu /I..\..\include /W4 /DWXBUILDING /I..\..\src\tiff\libtiff /I..\..\sr
c\jpeg /I..\..\src\png /I..\..\src\zlib /I..\..\src\regex /I..\..\src\expat\lib
/GR /EHsc /Yu"wx/wxprec.h" /Fp"vc9_mswu\wxprec_gllib.pch" ..\..\src\common\
glcmn.cpp
glcmn.cpp
cl /c /nologo /TP /Fovc9_mswu\gllib_glcanvas.obj /MT /DWIN32 /Fd..\..
\lib\vc9_lib\wxmsw29u_gl.pdb /O2 /D__WXMSW__ /D_UNICODE /I..\..\lib
\vc9_lib\mswu /I..\..\include /W4 /DWXBUILDING /I..\..\src\tiff\libtiff /I..\..
\src\jpeg /I..\..\src\png /I..\..\src\zlib /I..\..\src\regex /I..\..\src\expat\
lib /GR /EHsc /Yu"wx/wxprec.h" /Fp"vc9_mswu\wxprec_gllib.pch" ..\..\src\msw\
glcanvas.cpp
glcanvas.cpp
if exist ..\..\lib\vc9_lib\wxmsw29u_gl.lib del ..\..\lib\vc9_lib\wxmsw29
u_gl.lib
link /LIB /NOLOGO /OUT:..\..\lib\vc9_lib\wxmsw29u_gl.lib @C:\Users\Besit
zer\AppData\Local\Temp\nm5CF2.tmp
os.chdir('C:\\Cafu-src-r39')
scons: done reading SConscript files.
scons: Building targets ...
scons: building terminated because of errors.
The whole Log is attached:
Thanks BigJJ
- Attachments
-
- run_without_debug.zip
- (31.52KiB)Downloaded 283 times
-
Carsten
- Site Admin
- Posts:2170
- Joined:2004-08-19, 13:46
- Location:Germany
-
Contact:
Post
by Carsten » 2010-04-13, 00:25
Thanks for posting the very good and complete log!
First a side observation:
Please note that
-q and
-Q are not the same. Please use
-Q or nothing at all, but not
-q.
The problem is that you're the first person ever (thanks!!) who tries to "cross-compile" Cafu (creating 32-bit binaries on a 64-bit OS), and it seems that this special case triggers a bug in SCons - and SCons unfortunately doesn't tell us what exactly the problem is.
The log that you sent is very good, it just doesn't contain an indication of the source of the problem.
I've once more sent two emails to the SCons mailing lists asking for help.
In the meanwhile, please try this:
- In file SConstruct, comment out lines 295 and 297 (or maybe 296 and 298 in your file, both lines start with if (result!=0): ...) by putting a # in front of them:
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.
Then try to re-run SCons.
- If that didn't help, please run SCons like this:
Code: Select all
C:\python26\scons --debug=stacktrace
Does that output anything new?
- Before you proceed to the next step, what does
output? (does it mention the .sconsign.dblite file?)
- Finally, if the above steps 1 and 2 did not produce anything new, try this:
It might build nothing or everything, so please send the full log again if you do this.
Best regards,
Carsten
-
bigjj13
- Posts:68
- Joined:2010-04-04, 19:16
- Location:Germany
-
Contact:
Post
by bigjj13 » 2010-04-13, 19:47
Hi,
it complied it!
But Im not able to run.
The Log is attached.
Before you proceed to the next step, what does
Code:
dir *scons*
output? (does it mention the .sconsign.dblite file?)
It is mentioned.
Finally, if the above steps 1 and 2 did not produce anything new, try this:
Code:
C:\python26\scons --ignore-errors
It might build nothing or everything, so please send the full log again if you do this.
Nothing else happens
Here is an aditional information:
- PS C:\Cafu-src-r39\build\win32\vc9\release> dir
Verzeichnis: C:\Cafu-src-r39\build\win32\vc9\release
Mode LastWriteTime Length Name
---- ------------- ------ ----
d---- 13.04.2010 19:03 Ca3DE
d---- 13.04.2010 19:04 CaBSP
d---- 13.04.2010 19:04 CaLight
d---- 13.04.2010 19:04 CaPVS
d---- 13.04.2010 19:04 CaSHL
d---- 13.04.2010 19:04 CaTools
d---- 13.04.2010 19:12 CaWE
d---- 13.04.2010 19:01 Common
-a--- 13.04.2010 19:04 1098752 CaSanity.exe
-a--- 13.04.2010 19:12 720896 MakeFont.exe
-a--- 13.04.2010 19:12 490496 MaterialViewer.exe
-a--- 13.04.2010 19:12 641024 ModelViewer.exe
-a--- 13.04.2010 19:12 79872 ReadDump.exe
-a--- 13.04.2010 19:12 488960 TerrainViewer.exe
-a--- 13.04.2010 19:12 448512 TerrainViewerOld.exe
Thanks
BigJJ
- Attachments
-
- run_without_debug_2.zip
- (84.4KiB)Downloaded 289 times
Users browsing this forum: No registered users and 92 guests