cxong / cdogs-sdl

Classic overhead run-and-gun game
https://cxong.github.io/cdogs-sdl/
GNU General Public License v2.0
891 stars 114 forks source link

Mac Version fails with SDL installed using homebrew #232

Closed sternenseemann closed 10 years ago

sternenseemann commented 10 years ago
dyld: Library not loaded: @rpath/SDL.framework/Versions/A/SDL
  Referenced from: /Applications/cdogs-sdl/bin/cdogs-sdl
  Reason: image not found
./C-Dogs SDL: line 2: 13397 Trace/BPT trap: 5       ( cd /Applications/cdogs-sdl/bin && exec /Applications/cdogs-sdl/bin/cdogs-sdl )

My Problem is that if I try to compile it by myself it throws errors about missing CmakeLists and so.

cxong commented 10 years ago

Can you try installing the SDL libraries to /Library/Frameworks? Detailed instructions here: https://github.com/cxong/cdogs-sdl/wiki/Developer-Getting-Started:-OSX-Xcode

cxong commented 10 years ago

Hi @lukasepple , sorry for taking a long time; the latest mac version (0.5.5.1) comes with SDL libraries bundled, so it should work regardless of whether or how you've installed SDL. Could you please try it out and see if it works?

sternenseemann commented 10 years ago

It works now! Thanks!