Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Baa

Pages: [1]
1
Help and Support / compiling paintball2
« on: November 20, 2007, 12:23:37 PM »
Hey!
I'm trying to compile paintball2 on mac os x 10.4.11.
First, i modified the makefile

"OSTYPE :=FreeBSD" cuz it's more like mac os x, than Linux, and darwin is not supported.

'ARCH :=ppc" cuz uname -m returns "Power Macintosh"

then "make" it works...

ok, "sudo make release"

then i got these error massages:

molnar-gyulas-mac-mini-2:~/Desktop/paintball2 baa$ sudo make release
Password:
make targets BUILDDIR=build_release CFLAGS="-I/usr/local/include -I/usr/X11R6/include -Dstricmp=strcasecmp -D_inline= -DSleep=usleep -DGAME_NAME='\"game.so\"' -DPAINTBALL2_VERSION='\"2.0\"' -DBUILD_VERSION='\"17\"' -Wno-pointer-sign -D_THREAD_SAFE -DC_ONLY -DC_ONLY -O2 -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations"
cc -I/usr/local/include -I/usr/X11R6/include -Dstricmp=strcasecmp -D_inline= -DSleep=usleep -DGAME_NAME='"game.so"' -DPAINTBALL2_VERSION='"2.0"' -DBUILD_VERSION='"17"' -Wno-pointer-sign -D_THREAD_SAFE -DC_ONLY -DC_ONLY -O2 -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -o build_release/a3d/q2a3d.o -c a3d/q2a3d.c
In file included from a3d/../client/sound.h:21,
                 from a3d/../client/client.h:36,
                 from a3d/q2a3d.c:1:
a3d/../client/../a3d/a3d.h:27:21: error: Windows.h: No such file or directory
In file included from a3d/../client/sound.h:21,
                 from a3d/../client/client.h:36,
                 from a3d/q2a3d.c:1:
a3d/../client/../a3d/a3d.h:46: error: parse error before 'HINSTANCE'
a3d/../client/../a3d/a3d.h:46: warning: no semicolon at end of struct or union
a3d/../client/../a3d/a3d.h:49: warning: data definition has no type or storage class
a3d/../client/../a3d/a3d.h:51: error: parse error before 'a3d'
a3d/../client/../a3d/a3d.h:51: warning: data definition has no type or storage class
a3d/q2a3d.c:8: error: parse error before 'a3d'
a3d/q2a3d.c:8: warning: data definition has no type or storage class
a3d/q2a3d.c: In function 'S_Q2A3DPCMStream':
a3d/q2a3d.c:12: error: request for member 'A3D_PCMStream' in something not a structure or union
a3d/q2a3d.c: In function 'S_Q2A3DCloseLibrary':
a3d/q2a3d.c:16: error: request for member 'reflib' in something not a structure or union
a3d/q2a3d.c:21: error: request for member 'reflib' in something not a structure or union
a3d/q2a3d.c:23: error: request for member 'reflib' in something not a structure or union
a3d/q2a3d.c:25: error: request for member 'A3D_OggStreamStart' in something not a structure or union
a3d/q2a3d.c:26: error: request for member 'A3D_OggStreamStop' in something not a structure or union
a3d/q2a3d.c:27: error: request for member 'A3D_PCMStream' in something not a structure or union
a3d/q2a3d.c:28: error: request for member 'A3D_Update' in something not a structure or union
a3d/q2a3d.c:29: error: request for member 'Init_A3D' in something not a structure or union
a3d/q2a3d.c:30: error: request for member 'A3D_Shutdown' in something not a structure or union
a3d/q2a3d.c:31: error: request for member 'A3D_cachefile' in something not a structure or union
a3d/q2a3d.c:32: error: request for member 'A3D_StartSound' in something not a structure or union
a3d/q2a3d.c:33: error: request for member 'A3D_UpdateSound' in something not a structure or union
a3d/q2a3d.c:34: error: request for member 'A3D_StopSound' in something not a structure or union
a3d/q2a3d.c:35: error: request for member 'A3D_SetEnv' in something not a structure or union
a3d/q2a3d.c: In function 'S_Q2A3DInit':
a3d/q2a3d.c:48: error: request for member 'reflib' in something not a structure or union
a3d/q2a3d.c:50: error: request for member 'reflib' in something not a structure or union
a3d/q2a3d.c:52: error: request for member 'reflib' in something not a structure or union
a3d/q2a3d.c:68: error: request for member 'reflib' in something not a structure or union
a3d/q2a3d.c:83: error: request for member 'A3D_OggStreamStart' in something not a structure or union
a3d/q2a3d.c:83: error: request for member 'reflib' in something not a structure or union
a3d/q2a3d.c:84: error: request for member 'A3D_OggStreamStop' in something not a structure or union
a3d/q2a3d.c:84: error: request for member 'reflib' in something not a structure or union
a3d/q2a3d.c:85: error: request for member 'A3D_PCMStream' in something not a structure or union
a3d/q2a3d.c:85: error: request for member 'reflib' in something not a structure or union
a3d/q2a3d.c:86: error: request for member 'A3D_Update' in something not a structure or union
a3d/q2a3d.c:86: error: request for member 'reflib' in something not a structure or union
a3d/q2a3d.c:87: error: request for member 'Init_A3D' in something not a structure or union
a3d/q2a3d.c:87: error: request for member 'reflib' in something not a structure or union
a3d/q2a3d.c:88: error: request for member 'A3D_Shutdown' in something not a structure or union
a3d/q2a3d.c:88: error: request for member 'reflib' in something not a structure or union
a3d/q2a3d.c:89: error: request for member 'A3D_cachefile' in something not a structure or union
a3d/q2a3d.c:89: error: request for member 'reflib' in something not a structure or union
a3d/q2a3d.c:90: error: request for member 'A3D_StartSound' in something not a structure or union
a3d/q2a3d.c:90: error: request for member 'reflib' in something not a structure or union
a3d/q2a3d.c:91: error: request for member 'A3D_UpdateSound' in something not a structure or union
a3d/q2a3d.c:91: error: request for member 'reflib' in something not a structure or union
a3d/q2a3d.c:92: error: request for member 'A3D_StopSound' in something not a structure or union
a3d/q2a3d.c:92: error: request for member 'reflib' in something not a structure or union
a3d/q2a3d.c:93: error: request for member 'A3D_SetEnv' in something not a structure or union
a3d/q2a3d.c:93: error: request for member 'reflib' in something not a structure or union
a3d/q2a3d.c:94: error: request for member 'A3D_OggStreamStart' in something not a structure or union
a3d/q2a3d.c:94: error: request for member 'A3D_OggStreamStop' in something not a structure or union
a3d/q2a3d.c:94: error: request for member 'A3D_PCMStream' in something not a structure or union
a3d/q2a3d.c:95: error: request for member 'A3D_Update' in something not a structure or union
a3d/q2a3d.c:95: error: request for member 'Init_A3D' in something not a structure or union
a3d/q2a3d.c:95: error: request for member 'A3D_Shutdown' in something not a structure or union
a3d/q2a3d.c:96: error: request for member 'A3D_cachefile' in something not a structure or union
a3d/q2a3d.c:96: error: request for member 'A3D_StartSound' in something not a structure or union
a3d/q2a3d.c:96: error: request for member 'A3D_UpdateSound' in something not a structure or union
a3d/q2a3d.c:97: error: request for member 'A3D_StopSound' in something not a structure or union
a3d/q2a3d.c:97: error: request for member 'A3D_SetEnv' in something not a structure or union
a3d/q2a3d.c:123: error: request for member 'Init_A3D' in something not a structure or union
a3d/q2a3d.c: In function 'S_Q2A3DStartSound':
a3d/q2a3d.c:226: error: request for member 'A3D_StartSound' in something not a structure or union
a3d/q2a3d.c:231: error: request for member 'A3D_cachefile' in something not a structure or union
a3d/q2a3d.c:237: error: request for member 'A3D_StartSound' in something not a structure or union
a3d/q2a3d.c:241: error: request for member 'A3D_cachefile' in something not a structure or union
a3d/q2a3d.c:248: error: request for member 'A3D_StartSound' in something not a structure or union
a3d/q2a3d.c:257: error: request for member 'A3D_StartSound' in something not a structure or union
a3d/q2a3d.c: In function 'S_Q2A3DUpdate':
a3d/q2a3d.c:328: error: request for member 'A3D_Update' in something not a structure or union
a3d/q2a3d.c:366: error: request for member 'A3D_StopSound' in something not a structure or union
a3d/q2a3d.c:379: error: request for member 'A3D_UpdateSound' in something not a structure or union
a3d/q2a3d.c:392: error: request for member 'A3D_StopSound' in something not a structure or union
a3d/q2a3d.c: In function 'S_Q2A3DStopAllSounds':
a3d/q2a3d.c:413: error: request for member 'A3D_OggStreamStop' in something not a structure or union
a3d/q2a3d.c:416: error: request for member 'A3D_StopSound' in something not a structure or union
make[1]: *** [build_release/a3d/q2a3d.o] Error 1
make: *** [release] Error 2

what i did wrong? am i need openAL? Or... what? How to compile?

Pages: [1]