> just yet. As a quick workaround, in gui/drv_wgl.c, replace the line:
> #include "drv_wgl_common.h"
> with:
> #include "opengl.h"
Thank you, for this quick fix but there are still problems.
After replacing this line I did:
./configure --enable-threads
make depend
make
make install
The latter failed (after making the folder /usr/local/share/aclocal/ )
with the final lines of output as appended below.
Trying anyway to configure "demos/table" yields a "config.log"
with the final lines as appended further below (obviously symbols
timebeginper...@4 and timegett...@0 are missing in libag_core.a(time_win32.o)).
(Btw: As far as I am concerned, there is no need to rush.
It'll take some time until I am ready to incorporate some GUI
into my little private project.)
Appended error logs:
$ make install
----
install -c -m 644 include/agar/math/math_pub.h
/usr/local/include/agar/agar
/math.h
install -c -m 644 include/agar/dev/dev_pub.h
/usr/local/include/agar/agar
/dev.h
install -c -m 755 agar-config /usr/local/bin
install -c -m 755 agar-core-config /usr/local/bin
install -c -m 755 agar-dev-config /usr/local/bin
install -c -m 755 agar-math-config /usr/local/bin
install -c -m 755 agar-rg-config /usr/local/bin
install -c -m 755 agar-vg-config /usr/local/bin
mkdir -p /usr/local/share/aclocal
install -c -m 644 /home/agar-1.4.0_linux-svn8867/agar1/mk/agar.m4
/usr/local/share/aclocal
../install: line 2: Prerequisites: command not found
../install: line 3: -------------: command not found
../install: line 4: Starting: command not found
../install: line 6: Options: command not found
../install: line 7: -------: command not found
../install: line 8: syntax error near unexpected token `('
../install: line 8: `- The OpenGL rendering drivers ("glx", "wgl", "sdlgl")
require an OpenGL'
make: *** [install-config] Error 2
----
$ cd demos/table
$ ./configure
$ tail config.log
----
checking whether FreeType works.../mingw/bin/gcc -mno-cygwin
-I/usr/local/include -Wall -Werror -I/usr/local/include/freetype2
-I/usr/local/include -o ./conftest conftest.c -L/usr/local/lib -lfreetype
yes
checking for Agar (http://libagar.org/)...yes, found 1.4.1
checking whether Agar works.../mingw/bin/gcc -mno-cygwin -I/usr/local/include
-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 -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 -lm -L/usr/local/lib -lpthreadGCE2
C:/msys/1.0/local/lib/libag_core.a(time_win32.o):time_win32.c:(.text+0xe):
undefined reference to `timebeginper...@4'
C:/msys/1.0/local/lib/libag_core.a(time_win32.o):time_win32.c:(.text+0x16):
undefined reference to `timegett...@0'
C:/msys/1.0/local/lib/libag_core.a(time_win32.o):time_win32.c:(.text+0x28):
undefined reference to `timegett...@0'
collect2: ld returned 1 exit status
-> failed (0)
no
*
* This software requires agar installed on your system.
*
----
_______________________________________________
Agar mailing list
[email protected]
http://libagar.org/lists.html