Re: [AD] macro namespaces

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On Sat, February 23, 2008 9:04 pm, Peter Wang said:
> Did you spell it WANT_OGL or WANT_OPENGL?  Otherwise, I can't see
> what
> the problem might be.  Does it happen if you reconfigure from
> scratch?
>
> Peter

Oh, I was using "WANT_OGL", for some reason. Well, it still doesn't
work for me with -DWANT_OPENGL=off, I get a bunch of errors:

[ 51%] Building C object
CMakeFiles/alleg_shared.dir/src/win/wnewsys.obj
C:\Users\trent\4.9\src\win\wnewsys.c: In function
'win_get_num_display_modes':
C:\Users\trent\4.9\src\win\wnewsys.c:121: warning: implicit
declaration of funct
ion '_al_wgl_get_num_display_modes'
C:\Users\trent\4.9\src\win\wnewsys.c: In function
'win_get_display_mode':
C:\Users\trent\4.9\src\win\wnewsys.c:145: warning: implicit
declaration of funct
ion '_al_wgl_get_display_mode'
C:\Users\trent\4.9\src\win\wnewsys.c:145: warning: return makes
pointer from int
eger without a cast
[ 51%] Building C object
CMakeFiles/alleg_shared.dir/src/win/wnewwin.obj
[ 51%] Building C object
CMakeFiles/alleg_shared.dir/src/win/d3d_bmp.obj
[ 52%] Building C object
CMakeFiles/alleg_shared.dir/src/win/d3d_disp.obj
Linking C shared library lib/liballeg-4.9.3.dll
Creating library file: lib/liballeg-4.9.3.dll.a
Warning: .drectve `/DEFAULTLIB:"uuid.lib" /DEFAULTLIB:"uuid.lib" '
unrecognized
Warning: .drectve `/DEFAULTLIB:"uuid.lib" /DEFAULTLIB:"uuid.lib" '
unrecognized
Warning: .drectve `/DEFAULTLIB:"uuid.lib" /DEFAULTLIB:"uuid.lib" '
unrecognized
Warning: .drectve `/DEFAULTLIB:"uuid.lib" /DEFAULTLIB:"uuid.lib" '
unrecognized
CMakeFiles/alleg_shared.dir/src/win/wnewsys.obj:wnewsys.c:(.text+0x200):
undefin
ed reference to `__al_wgl_get_display_mode'
CMakeFiles/alleg_shared.dir/src/win/wnewsys.obj:wnewsys.c:(.text+0x24d):
undefin
ed reference to `__al_wgl_get_num_display_modes'
collect2: ld returned 1 exit status
mingw32-make[2]: *** [lib/liballeg-4.9.3.dll] Error 1
mingw32-make[1]: *** [CMakeFiles/alleg_shared.dir/all] Error 2
mingw32-make: *** [all] Error 2



Trent




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/