-
-
Notifications
You must be signed in to change notification settings - Fork 21.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows 7 build failure #12
Comments
Same problem here. Something in the |
I managed to fix this by adding the following lines to
|
Having that fixed, I am now getting a lot of linker errors on
|
Also stuck on the FreeType, Win8 and VS 2013 Ultimate.. |
Bump. |
This is occurring because the SCsub file under the freetype folder is including C files, which are then also included by other c files in the freetype folder, causing conflicts. I've no idea why this isn't causing problems for the godot team, but I guess mingw handles duplicate obj files differently to VC. To fix this change the ft_sources array in SCsub to the following ] |
I've also submitted a pull request with my fix. Hopefully I've done this right, I've not really used github before. |
Fantastic, that fixed the problem and the project actually built quite quickly. Thank you so much bwzuk. |
Make MessageQueue growable
The following formats are now accepted (leading `#` is optional): - `#1` -> `#111111` - `godotengine#12` -> `#121212` - `godotengine#12345` -> `#11223344` (`5` at the end is discarded) - `#1234567` -> `#123456` (`7` at the end is discarded)
The following formats are now accepted (leading `#` is optional): - `godotengine#1` -> `#111111` - `godotengine#12` -> `#121212` - `godotengine#12345` -> `#11223344` (`5` at the end is discarded) - `#1234567` -> `#123456` (`7` at the end is discarded)
Building on Win7 with VS2013.
Python 2.7.6
Scons 2.3.0
Ran "scons bin/godot.exe" from a VS2013 cmd prompt at the root of the godot repo and got the following:
[code]
C:\Users\Desktop\godot>scons bin/godot.exe
scons: Reading SConscript files ...
Detected Platforms: ['windows']
Detected Modules: ['gridmap']
open path: platform\android/logo.png
open path: platform\bb10/logo.png
open path: platform\iphone/logo.png
open path: platform\javascript/logo.png
open path: platform\nacl/logo.png
open path: platform\osx/logo.png
open path: platform\server/logo.png
open path: platform\windows/logo.png
open path: platform\x11/logo.png
scons: warning: The Options class is deprecated; use the Variables class instead
.
File "C:\Users\Robert\Desktop\godot\SConstruct", line 90, in
V: no
scons: done reading SConscript files.
scons: Building targets ...
cl /Foplatform\windows\godot_win.obj /c platform\windows\godot_win.cpp /TP /TP /
nologo /DFREETYPE_ENABLED /Zi /DDEBUG_ENABLED /DD3D_DEBUG_INFO /O1 /MT /Gd /GR /
nologo "/IC:\Program Files (x86)\Windows Kits\8.1/Include" /DWINDOWS_ENABLED /D
RTAUDIO_ENABLED /DWIN32 /DTYPED_METHOD_BIND /DGLES_ENABLED /DGLEW_ENABLED "/IC:
Program Files (x86)\Microsoft Visual Studio 12.0\VC/Include" "/IC:\Program File
s (x86)\Microsoft DirectX SDK (June 2010)/Include" -DDEBUG_MEMORY_ALLOC -DSCI_N
AMESPACE /DMSVC /GR -DMUSEPACK_ENABLED -DOLD_SCENE_FORMAT_ENABLED -DSQUISH_ENABL
ED -DVORBIS_ENABLED -DTHEORA_ENABLED -DPNG_ENABLED -DDDS_ENABLED -DPVR_ENABLED -
DJPG_ENABLED -DWEBP_ENABLED -DSPEEX_ENABLED -DTOOLS_ENABLED -DGDSCRIPT_ENABLED -
DMINIZIP_ENABLED -DXML_ENABLED /Icore /Icore\math /Itools /Idrivers /I. /Iplatfo
rm\windows /Iplatform\windows\include /Itools\freetype /Itools\freetype\freetype
\include /Idrivers\builtin_zlib\zlib /Iplatform\windows\vorbis
godot_win.cpp
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\Include\xlocale(337) : wa
rning C4530: C++ exception handler used, but unwind semantics are not enabled. S
pecify /EHsc
cl /Foplatform\windows\context_gl_win.obj /c platform\windows\context_gl_win.cpp
/TP /TP /nologo /DFREETYPE_ENABLED /Zi /DDEBUG_ENABLED /DD3D_DEBUG_INFO /O1 /MT
/Gd /GR /nologo "/IC:\Program Files (x86)\Windows Kits\8.1/Include" /DWINDOWS_
ENABLED /DRTAUDIO_ENABLED /DWIN32 /DTYPED_METHOD_BIND /DGLES_ENABLED /DGLEW_ENAB
LED "/IC:\Program Files (x86)\Microsoft Visual Studio 12.0\VC/Include" "/IC:\Pr
ogram Files (x86)\Microsoft DirectX SDK (June 2010)/Include" -DDEBUG_MEMORY_ALL
OC -DSCI_NAMESPACE /DMSVC /GR -DMUSEPACK_ENABLED -DOLD_SCENE_FORMAT_ENABLED -DSQ
UISH_ENABLED -DVORBIS_ENABLED -DTHEORA_ENABLED -DPNG_ENABLED -DDDS_ENABLED -DPVR
_ENABLED -DJPG_ENABLED -DWEBP_ENABLED -DSPEEX_ENABLED -DTOOLS_ENABLED -DGDSCRIPT
_ENABLED -DMINIZIP_ENABLED -DXML_ENABLED /Icore /Icore\math /Itools /Idrivers /I
. /Iplatform\windows /Iplatform\windows\include /Itools\freetype /Itools\freetyp
e\freetype\include /Idrivers\builtin_zlib\zlib /Iplatform\windows\vorbis
context_gl_win.cpp
cl /Foplatform\windows\os_windows.obj /c platform\windows\os_windows.cpp /TP /TP
/nologo /DFREETYPE_ENABLED /Zi /DDEBUG_ENABLED /DD3D_DEBUG_INFO /O1 /MT /Gd /GR
/nologo "/IC:\Program Files (x86)\Windows Kits\8.1/Include" /DWINDOWS_ENABLED
/DRTAUDIO_ENABLED /DWIN32 /DTYPED_METHOD_BIND /DGLES_ENABLED /DGLEW_ENABLED "/IC
:\Program Files (x86)\Microsoft Visual Studio 12.0\VC/Include" "/IC:\Program Fi
les (x86)\Microsoft DirectX SDK (June 2010)/Include" -DDEBUG_MEMORY_ALLOC -DSCI
_NAMESPACE /DMSVC /GR -DMUSEPACK_ENABLED -DOLD_SCENE_FORMAT_ENABLED -DSQUISH_ENA
BLED -DVORBIS_ENABLED -DTHEORA_ENABLED -DPNG_ENABLED -DDDS_ENABLED -DPVR_ENABLED
-DJPG_ENABLED -DWEBP_ENABLED -DSPEEX_ENABLED -DTOOLS_ENABLED -DGDSCRIPT_ENABLED
-DMINIZIP_ENABLED -DXML_ENABLED /Icore /Icore\math /Itools /Idrivers /I. /Iplat
form\windows /Iplatform\windows\include /Itools\freetype /Itools\freetype\freety
pe\include /Idrivers\builtin_zlib\zlib /Iplatform\windows\vorbis
os_windows.cpp
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\Include\xlocale(337) : wa
rning C4530: C++ exception handler used, but unwind semantics are not enabled. S
pecify /EHsc
platform\windows\os_windows.cpp(1240) : warning C4129: 'E' : unrecognized charac
ter escape sequence
platform\windows\os_windows.cpp(1241) : warning C4129: 'E' : unrecognized charac
ter escape sequence
platform\windows\os_windows.cpp(1244) : warning C4129: 'E' : unrecognized charac
ter escape sequence
platform\windows\os_windows.cpp(1245) : warning C4129: 'E' : unrecognized charac
ter escape sequence
platform\windows\os_windows.cpp(1634) : error C2065: 'gl_context' : undeclared i
dentifier
platform\windows\os_windows.cpp(1634) : error C2227: left of '->release_current'
must point to class/struct/union/generic type
type is 'unknown-type'
platform\windows\os_windows.cpp(1640) : error C2065: 'gl_context' : undeclared i
dentifier
platform\windows\os_windows.cpp(1640) : error C2227: left of '->make_current' mu
st point to class/struct/union/generic type
type is 'unknown-type'
platform\windows\os_windows.cpp(1645) : error C2065: 'gl_context' : undeclared i
dentifier
platform\windows\os_windows.cpp(1645) : error C2227: left of '->swap_buffers' mu
st point to class/struct/union/generic type
type is 'unknown-type'
scons: *** [platform\windows\os_windows.obj] Error 2
scons: building terminated because of errors.
[/code]
The text was updated successfully, but these errors were encountered: