DaveN
2006.03.10, 06:35 AM
So, hi guys!
From a windows-using friend I just got a good tipp; he told me about the game "Super Mario War", a multiplayer-deathmatch-mario-clone ( also with an AI ) that's written in C and SDL. After seeing the good-lokking screenshots I decided to make a quick port, but 'cause I can't programm in any C-Language, I didn't got it to work, even not after a long time trying around with the sdl-libraries to kill those dumb errors.
So because it's written in languages, that are also avaible for the Mac, I thought it shouldn't be much work for a C-developer to make a short port of that game, the sources are also avaible at http://smw.72dpiarmy.com/.
It is avaible for Linux, Windows, the XBox and the PS2.
mfg Dave
Edit: That's where I get the error:
I use this command to compile:
g++ -I/usr/local/include/SDL -D_THREAD_SAFE -Wall -I. -Dstricmp=strcasecmp -DSleep=SDL_Delay build/MapList.o build/gfx.o build/map.o build/SFont.o build/main.o build/gamemodes.o build/player.o build/interactionobject.o build/menu.o build/splash.o build/eyecandy.o build/sfx.o -L/usr/local/lib -lSDLmain -lSDL -framework Cocoa -framework OpenGL -framework SDL_net -framework SDL_image -framework SDL_mixer -framework SDL_net -o smw
But he searches for the SDL Library at the @executable_path, but the executable isn't even compiled:
/usr/bin/ld: warning can't open dynamic library: @executable_path/../Frameworks/SDL.framework/Versions/A/SDL (checking for undefined symbols may be affected) (No such file or directory, errno = 2)
From a windows-using friend I just got a good tipp; he told me about the game "Super Mario War", a multiplayer-deathmatch-mario-clone ( also with an AI ) that's written in C and SDL. After seeing the good-lokking screenshots I decided to make a quick port, but 'cause I can't programm in any C-Language, I didn't got it to work, even not after a long time trying around with the sdl-libraries to kill those dumb errors.
So because it's written in languages, that are also avaible for the Mac, I thought it shouldn't be much work for a C-developer to make a short port of that game, the sources are also avaible at http://smw.72dpiarmy.com/.
It is avaible for Linux, Windows, the XBox and the PS2.
mfg Dave
Edit: That's where I get the error:
I use this command to compile:
g++ -I/usr/local/include/SDL -D_THREAD_SAFE -Wall -I. -Dstricmp=strcasecmp -DSleep=SDL_Delay build/MapList.o build/gfx.o build/map.o build/SFont.o build/main.o build/gamemodes.o build/player.o build/interactionobject.o build/menu.o build/splash.o build/eyecandy.o build/sfx.o -L/usr/local/lib -lSDLmain -lSDL -framework Cocoa -framework OpenGL -framework SDL_net -framework SDL_image -framework SDL_mixer -framework SDL_net -o smw
But he searches for the SDL Library at the @executable_path, but the executable isn't even compiled:
/usr/bin/ld: warning can't open dynamic library: @executable_path/../Frameworks/SDL.framework/Versions/A/SDL (checking for undefined symbols may be affected) (No such file or directory, errno = 2)