[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On 2008-09-16, Jon Rafkind <workmin@xxxxxxxxxx> wrote:
> 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?
You need to upgrade your win32 headers for DM_POSITION.
(or just add this:)
wingdi.h:#define DM_POSITION 0x00000020
I don't know why you would get a warning about fixfloor.
> 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.
You need to run misc/fixdll.sh first. We should fix that.
Peter