Advertisement Jump to content
Sign in to follow this  
roos

Compiling with libraries

This topic is 4916 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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
Advertisement
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  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!