JC | 29 Apr 2012 19:17
Picon
Favicon

Demos compilation

Hello,

I compiled agar 1.4.1 on Windows XP system, following this procedure http://wiki.libagar.org/wiki/Install/Windows_%28MSYS%29. All executed successfully.

But now I try to compile the demos, when I execute "./configure" in the "demos" directory in the MinGW shell I get the followings :

checking whether FreeType works...yes
checking for Agar (http://libagar.org/)...yes (1.4.1)
checking whether Agar works...no
*
* This software requires agar installed on your system.
*
configure failed!
*
* If the previous test failed due to Agar not being found,
* make sure you have already installed Agar on your system
* and that the agar-config binary is in your PATH.
*
* To install Agar, go to the top-level directory and run:
*     make all install
*
make: *** [configure] Error 1

Of course, I tried to go to the top-level directory to run "make all install".

If I try "./configure" in the "themes" subproject I get a config.log file with this error :
checking for Agar (http://libagar.org/)...yes (1.4.1)
checking whether Agar works.../mingw/bin/cc   -Wall -Werror -I/usr/local/include/agar -I/usr/local/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main  -I/usr/local/include/freetype2 -I/usr/local/include         -o ./conftest conftest.c -L/usr/lib64 -L/usr/local/lib -lag_gui -lag_core -L/usr/local/lib -lmingw32 -lSDLmain -lSDL -mwindows -L/usr/local/lib -lfreetype  -L/usr/local/lib -lopengl32 -lgdi32 -lm    -lpthread   
C:/MinGW/msys/1.0/local/lib/libag_core.a(core.o):core.c:(.text+0xe6): undefined reference to `agTimeOps_win32'
collect2: ld returned 1 exit status
-> failed (0)
no
*
* This software requires agar installed on your system.
*

Is this a know problem ?

Thanks,
Erwin
_______________________________________________
Agar mailing list
Agar@...
http://libagar.org/lists.html

Gmane