[AD] scons on win32

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


I'm trying to fix scons on win32 but am getting some compilation errors.

scons: Reading SConscript files ...
Checking for C header file png.h... (cached) yes
Checking for C library png... (cached) yes
Checking for Freetype... (cached) no
Checking for OpenAL... (cached) no
Checking for Alsa... (cached) no
Checking for C header file soundcard.h... (cached) no
Checking for C header file sys/soundcard.h... (cached) no
Checking for C header file machine/soundcard.h... (cached) no
Checking for C header file linux/soundcard.h... (cached) no
Checking for Ogg... (cached) no
Checking for Flac... (cached) no
Checking for Sndfile... (cached) no
scons: done reading SConscript files.
scons: Building targets ...
gcc -o scons_build\release\library\win\wnewwin.o -c -g -Wall -Wno-unused -O2 -funroll-loops -ffast-math -fomit-frame-pointer -DALLEGRO_SRC -DALLEGRO_LIB_BUILD -Iscons_build\release\include -Iinclude -Iscons_build\release\include\allegro -Iinclude\allegro -Iscons_build\release src\win\wnewwin.c
In file included from include/allegro5/fmaths.h:42,
                from include/allegro5/allegro.h:55,
                from include/allegro5/allegro5.h:4,
                from src\win\wnewwin.c:17:
include/allegro5/inline/fmaths.inl: In function `fixtoi':
include/allegro5/inline/fmaths.inl:207: warning: implicit declaration of function `fixfloor'
src\win\wnewwin.c: In function `_al_win_create_faux_fullscreen_window':
src\win\wnewwin.c:248: error: `DM_POSITION' undeclared (first use in this function) src\win\wnewwin.c:248: error: (Each undeclared identifier is reported only once
src\win\wnewwin.c:248: error: for each function it appears in.)
scons: *** [scons_build\release\library\win\wnewwin.o] Error 1

There are two issues, one: fixfloor and two, DM_POSITION. Do I need new dx headers or something? I tried testing with cmake but after running cmakesetup using the "mingw makefiles" it said "allegro.def not found" and didn't generate any makefiles.




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