SDL_ttf on windows

Started by
2 comments, last by teamonkey 19 years, 8 months ago
Hi, I'm currently trying to use SDL_ttf under windows: the SDL site provides the sources, a dll for windows and a project for VC++. Since I don't have VC++ I downloaded the header and the .dll, but when compiling a linking error occours ('cause I don't have the lib). Where can I find the lib file for windows? Or have I no alternatives than using cygwin and compile everything (with freetype etc...)? Oh, I use DEV-C++ (with MinGW as compiler). Thank you!
Advertisement
You need reimp which is part of mingw-utils. It can convert MS import libraries into ones MinGW can use. Use that to convert the lib file which comes in the SDL_ttf-devel VC6 package and then you will have a .a file which you can use with MinGW.
Thank you, I saw that DevC++ already gives the possibility to import a VC++ project (don't know if it works, they say that it is work in progress).
...But I've found the lib file just in the downloads page of SDL_ttf!

The next time I'm going to post questions like this one, I should better search deeper first...
FWIW you can use both .lib and .a libraries with Dev-C++.
[teamonkey] [blog] [tinyminions]

This topic is closed to new replies.

Advertisement