[DEBUG] Update glew for windows 64 bits

This commit is contained in:
Edouard DUPIN 2014-09-17 00:30:14 +02:00
parent eaa3e40ef0
commit 8b5f3e1eea
5 changed files with 12 additions and 3 deletions

View File

@ -32,6 +32,7 @@ Dependency packages
sudo apt-get install gcc-mingw-w64
# on 64 bits processor for compatibility
sudo apt-get install ia32-libs
sudo apt-get install g++-multilib libc6-dev-i386
License (APACHE v2.0)
=====================

2
build

@ -1 +1 @@
Subproject commit 33dc55d84bcf8ba1a4b1dcb0f8db13458febea92
Subproject commit 0cb58135fd88d7506ab9d6e75dd435d091a11d29

2
external/glew/glew vendored

@ -1 +1 @@
Subproject commit 471ea3cba3bf82e9b9351ea18b6744b06558082d
Subproject commit 1b28edd7b1b7e9864609cc77357bdc4a3cc1e719

1
external/glew/info.txt vendored Normal file
View File

@ -0,0 +1 @@
find binary on http://glew.sourceforge.net/

View File

@ -12,8 +12,15 @@ def create(target):
myModule = module.Module(__file__, 'glew', 'PREBUILD')
myModule.add_export_path(tools.get_current_path(__file__) + "/glew/include/")
if target.config["bus-size"] == "32":
myModule.add_export_flag_LD([
tools.get_current_path(__file__) + "/glew/lib/Release/Win32/glew32s.lib"
])
else:
myModule.add_export_flag_LD([
tools.get_current_path(__file__) + "/glew/lib/Release/x64/glew32s.lib",
])
myModule.add_export_flag_LD([
tools.get_current_path(__file__) + "/glew/lib/glew32s.lib",
"-lopengl32",
"-lgdi32",
"-static-libgcc",