@all
As a part of my learning curve, now I trying to compile this Mario clone.
https://github.com/jakowskidev/uMario_JakowskiI think I copied all dependecies to SDK, and I compile with following command line,
ppc-amigaos-g++ -athread=native -Wall -Wextra -pedantic -std=c++11 -g -O2 AboutMenu.cpp Beetle.cpp Block.cpp BlockDebris.cpp Bowser.cpp BulletBill.cpp BulletBillSpawner.cpp CFG.cpp Cheep.cpp CheepSpawner.cpp Coin.cpp Console.cpp Core.cpp Event.cpp Fire.cpp Fireball.cpp Flag.cpp Hammer.cpp HammerBro.cpp IMG.cpp Koppa.cpp Lakito.cpp LevelEditor.cpp LevelText.cpp LoadingMenu.cpp main.cpp MainMenu.cpp Map.cpp MapLevel.cpp Menu.cpp MenuManager.cpp MenuOption.cpp Minion.cpp Mushroom.cpp Music.cpp MusicManager.cpp OptionsMenu.cpp PauseMenu.cpp Pipe.cpp Plant.cpp Platform.cpp Player.cpp PlayerFireBall.cpp Points.cpp Spikey.cpp Spring.cpp Sprite.cpp Squid.cpp Star.cpp Text.cpp Texture.cpp Toad.cpp UpFire.cpp Vector2.cpp Vine.cpp -o uMario -lSDL2 -lSDL2_image -lSDL2_mixer -ljpeg -lpng -ltiff -lwebp -lz -lpthread -lsmpeg2 -lflac -lmikmod -lmodplug -lvorbis -logg -lopus -lmpg123
but I am having following errors:
/usr/local/amiga/ppc-amigaos/SDK/local/newlib/lib/libSDL2_mixer.a(mixer.o): In function `Mix_LoadWAV_RW':
/home/Michael/SDL2_mixer-2.0.1/mixer.c:627: undefined reference to `SDL_LoadWAV_RW'
/usr/local/amiga/ppc-amigaos/SDK/local/newlib/lib/libSDL2_mixer.a(dynamic_ogg.o): In function `Mix_InitOgg':
/home/Michael/SDL2_mixer-2.0.1/dynamic_ogg.c:119: undefined reference to `ov_clear'
/home/Michael/SDL2_mixer-2.0.1/dynamic_ogg.c:119: undefined reference to `ov_clear'
/home/Michael/SDL2_mixer-2.0.1/dynamic_ogg.c:120: undefined reference to `ov_info'
/home/Michael/SDL2_mixer-2.0.1/dynamic_ogg.c:120: undefined reference to `ov_info'
/home/Michael/SDL2_mixer-2.0.1/dynamic_ogg.c:121: undefined reference to `ov_open_callbacks'
/home/Michael/SDL2_mixer-2.0.1/dynamic_ogg.c:121: undefined reference to `ov_open_callbacks'
/home/Michael/SDL2_mixer-2.0.1/dynamic_ogg.c:122: undefined reference to `ov_pcm_total'
/home/Michael/SDL2_mixer-2.0.1/dynamic_ogg.c:122: undefined reference to `ov_pcm_total'
/home/Michael/SDL2_mixer-2.0.1/dynamic_ogg.c:123: undefined reference to `ov_read'
/home/Michael/SDL2_mixer-2.0.1/dynamic_ogg.c:123: undefined reference to `ov_read'
/home/Michael/SDL2_mixer-2.0.1/dynamic_ogg.c:124: undefined reference to `ov_time_seek'
/home/Michael/SDL2_mixer-2.0.1/dynamic_ogg.c:124: undefined reference to `ov_time_seek'