Title: uintptr_t error Post by: RC4-GaryOakPhD on May 17, 2014, 06:17:07 PM I'm trying to compile on a 32 bit debian 6 box, but I get this error when compiling the engine:
Code: In file included from code/SDL12/include/SDL_config.h:42, Title: Re: uintptr_t error Post by: andrewj on May 18, 2014, 01:49:08 AM A quick fix may be to edit the "code/SDL12/include/SDL_config_minimal.h" file and on line 39, where uintptr is declared, replace "long" with "int".
A better fix is probably to install the "libsdl1.2-dev" package and get the Makefile to use it -- I can't remember exactly what is needed, perhaps nothing. Title: Re: uintptr_t error Post by: RC4-GaryOakPhD on May 18, 2014, 06:31:07 AM A quick fix may be to edit the "code/SDL12/include/SDL_config_minimal.h" file and on line 39, where uintptr is declared, replace "long" with "int". Alright, I've done that. Now look :PA better fix is probably to install the "libsdl1.2-dev" package and get the Makefile to use it -- I can't remember exactly what is needed, perhaps nothing. http://pastebin.com/zUFN4wuL Title: Re: uintptr_t error Post by: grey matter on May 18, 2014, 10:17:40 AM Code: $ make USE_LOCAL_HEADERS=0 |