Sign in to follow this  
roos

Compiling with libraries

Recommended Posts

Hi, I'm working on a cross platform game with some other guys. They're all developing in Linux and I'm developing in Windows for the time being due to some driver problems in linux. So, yesterday I made my first code commit and ended up breaking things :( I think the code itself is fine, but the problem is that the guy who tried compiling got undefined references to SDL_ttf functions. (one of the things I'm adding in this commit is text rendering using SDL_ttf). I think all I need to do is update the makefile and tell everyone "go download SDl_ttf", right? It's been a long time since I've used GCC so I just want to make sure since I've gotten used to Visual c++ now Thanks roos

Share this post


Link to post
Share on other sites
Yeah in my experience I've never seen Linux come with SDL_ttf (despite coming with most of the other add-ons). You can get it here

Then just make sure you link to it.

Share this post


Link to post
Share on other sites
Sign in to follow this