SDL_ttf in DevC++ - WTF does it take?
How in the world do you get the file 'SDL_ttf.a'? Why isn't it just freely available from the site? I tried all the information about building it, but holy crap it's been 5 hours and I'm STUMPED.
- A momentary maniac with casual delusions.
Here ya go! Just use Dev-CPP package manager to add it in. If you need help with that I can assist you. I think you need at least the 1.2.7 Dev-Pak avaliable here or the 1.2.8 avaliable here. I would not reccomend using the 1.2.6 version avaliable for it is outdated.
- Drew
- Drew
Awesome! I knew there was an easy way so thanks for pointing it out. I'm also new to Dev C++, and I'm finding out I'm a little spoiled by VS.NET!
What in the world would cause [Linker error] undefined reference to `WinMain@16' ? That's nowhere in my code as I'm simply trying to port a tetris clone to Dev C++ - a console app.
What in the world would cause [Linker error] undefined reference to `WinMain@16' ? That's nowhere in my code as I'm simply trying to port a tetris clone to Dev C++ - a console app.
- A momentary maniac with casual delusions.
You will need to link (in this order):
Then your main function needs to be in this format:
- Drew
[edit] This can be done by hitting Alt+P, then choose "Parameters" and add them in the "Linker" box.
-lmingw32-lSDLmain-lSDL
Then your main function needs to be in this format:
int main( int argc,char* argv[] ){ return 0;}
- Drew
[edit] This can be done by hitting Alt+P, then choose "Parameters" and add them in the "Linker" box.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement