Page 1 of 1

[SVN 3772]Compile issue FIXED

Posted: Sat Jul 02, 2011 6:21 am
by madmonk
I get this on compile in the TEngine section:

Code: Select all

==== Building TEngine ====
Creating ../obj/Debug/TEngine
particles.c
struct.c
core_lua.c
glew.c
display_sdl.c
physfs.c
../src/physfs.c: In function ‘lua_fs_get_real_path’:
../src/physfs.c:311: warning: incompatible implicit declaration of built-in function ‘free’
dmnd_square.c
map.c
../src/map.c: In function ‘map_set_grid’:
../src/map.c:749: warning: cast from pointer to integer of different size
serial.c
main.c
In file included from ../src/main.c:41:
../src/music.h:33:19: warning: AL/al.h: No such file or directory
../src/music.h:34:20: warning: AL/alc.h: No such file or directory
In file included from ../src/main.c:41:
../src/music.h:48: error: expected specifier-qualifier-list before ‘ALuint’
In file included from ../src/main.c:41:
../src/music.h:60: error: expected specifier-qualifier-list before ‘ALuint’
make[1]: *** [../obj/Debug/TEngine/main.o] Error 1
make: *** [TEngine] Error 2
Looks like you are not pathing correctly in the Makefile to get to the src directory from the obj directory

Re: [SVN 3772]Compile issue

Posted: Sat Jul 02, 2011 6:51 am
by darkgod
Are you sure you have openal libs installed ?

Re: [SVN 3772]Compile issue

Posted: Sat Jul 02, 2011 7:10 am
by madmonk
I have now, recompiled, and got the same error!

Re: [SVN 3772]Compile issue FIXED

Posted: Sat Jul 02, 2011 7:29 am
by madmonk
It also need the developer library and then all is good.

Thanks for the pointer!