Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Fixing Win32 build with SCons
07-08-2007, 03:25 PM,
#3
 
Alright I have done some research and turns out that there are no GL headers newer than 1.1 for Windows, so it's more of a pain to get newer extensions working on that platform. The solution to the above problem was to use SGI's glext.h, which is now included in the tools/win/include dir in SVN, as noted in this handy GL extensions article on GameDev.net (thanks for the link Joe).

With this change and a few other little changes to Win32 specific code SCons now builds for me all the way to the linker line, where it fails with
Code:
C:\Dev-Cpp\bin\..\lib\gcc\wingw32\3.4.2\..\..\..\..\wingw32\bin\ld.exe: cannot find -lGL

Oh, and one other thing I forgot to mention about building with SCons is that you have to change line 65 of SConstruct to point to your Dev-C++ installation's bin directory (or wherever your gcc.exe and g++.exe are if you don't have Dev-C++). I haven't figured out a good way to find this automatically...
Reply


Messages In This Thread
Fixing Win32 build with SCons - by thelusiv - 07-08-2007, 04:56 AM
[No subject] - by joevenzon_phpbb2_import3 - 07-08-2007, 01:48 PM
[No subject] - by thelusiv - 07-08-2007, 03:25 PM
[No subject] - by thelusiv - 07-09-2007, 01:10 AM
[No subject] - by mak77 - 07-09-2007, 03:45 PM
[No subject] - by thelusiv - 07-09-2007, 05:09 PM
[No subject] - by mak77 - 07-09-2007, 05:15 PM
[No subject] - by thelusiv - 07-09-2007, 05:26 PM
[No subject] - by mak77 - 07-09-2007, 05:32 PM
[No subject] - by thelusiv - 07-09-2007, 05:44 PM
[No subject] - by mak77 - 07-09-2007, 05:48 PM
[No subject] - by thelusiv - 07-09-2007, 05:54 PM
[No subject] - by mak77 - 07-09-2007, 06:23 PM
[No subject] - by joevenzon_phpbb2_import3 - 07-09-2007, 11:03 PM
[No subject] - by thelusiv - 07-10-2007, 03:02 AM
[No subject] - by mak77 - 07-10-2007, 07:43 AM
[No subject] - by joevenzon_phpbb2_import3 - 07-10-2007, 10:13 AM
[No subject] - by thelusiv - 07-10-2007, 11:56 AM
[No subject] - by joevenzon_phpbb2_import3 - 07-10-2007, 09:01 PM
[No subject] - by mak77 - 07-11-2007, 04:20 PM
[No subject] - by mak77 - 07-12-2007, 05:38 AM
[No subject] - by thelusiv - 07-13-2007, 02:36 PM
[No subject] - by mak77 - 07-14-2007, 05:18 AM
[No subject] - by thelusiv - 07-16-2007, 01:46 AM
[No subject] - by mak77 - 07-16-2007, 06:22 AM
[No subject] - by joevenzon_phpbb2_import3 - 07-16-2007, 10:13 AM
[No subject] - by mak77 - 07-16-2007, 11:41 AM
[No subject] - by thelusiv - 07-16-2007, 12:50 PM
[No subject] - by rookie1 - 07-17-2007, 07:10 AM
[No subject] - by thelusiv - 07-17-2007, 11:33 PM
[No subject] - by joevenzon_phpbb2_import3 - 07-18-2007, 10:04 AM
[No subject] - by rookie1 - 07-19-2007, 08:28 AM
[No subject] - by joevenzon_phpbb2_import3 - 07-19-2007, 09:58 AM
[No subject] - by rookie1 - 07-19-2007, 11:23 AM
[No subject] - by abs1nth - 07-19-2007, 01:10 PM
[No subject] - by thelusiv - 07-19-2007, 01:17 PM
[No subject] - by joevenzon_phpbb2_import3 - 07-19-2007, 08:56 PM
[No subject] - by joevenzon_phpbb2_import3 - 07-19-2007, 09:07 PM
[No subject] - by rookie1 - 07-20-2007, 12:21 AM
[No subject] - by joevenzon_phpbb2_import3 - 07-20-2007, 10:00 AM
[No subject] - by thelusiv - 08-15-2007, 11:30 PM
[No subject] - by joevenzon_phpbb2_import3 - 08-16-2007, 12:43 PM
[No subject] - by mak77 - 08-24-2007, 05:06 AM
[No subject] - by thelusiv - 08-27-2007, 02:06 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)