Hey everybody,
I'm trying to build the latest SFML2.0 snapshot from source, using MSVC++ 2010 Express. All packages were flawlessly compiled, except for the graphics package. Well, it works out great when building static libraries, but as soon as I try to build a DLL, my linker complains about 15 unresolved externals in the Freetype library.
I've built all the extlibs for x64 by hand, including Freetype. But even when I use the extlibs shipping with the snapshot my linker still isn't content with it.
If anyone is wondering why I would do all this: The reason is a crash occuring when sf::RenderImage::~RenderImage() is called after invoking sf::RenderImage::Create().
I was able to trace it back to ig4icd32.dll, which is my graphics driver, so I assume that there might be some trouble with the 32 bit binaries, especially when OpenGL is concerned.
Maybe this is the wrong approach for fixing the problem. If so, I'd of course appreciate any help fixing this problem and thus making a x64-build unnecessary.
However, my competitive spirit was aroused by these nasty linker errors, and I guess it's not exactly a bad idea having native 64 bit binaries instead of the 32 bit ones (although this should not pose a problem, usually).
It'd be great if you can help me out once again,
regards,
Debilo
Edit: Update: I don't know how, but somehow the sfml2-graphics.dll was finally built with no problem. Unfortunately, I don't remember having made a change in the configuration, so it's still nebulous what caused this problem. Building sfml2-graphics-d.dll still produces the errors, though.
Edit2: Well, well, well...just made a 3rd complete new attempt, and it worked. Yet again I have no idea what I might have done to finally convince my linker to swallow it...
And since I'm just in the act of asking:
I wonder how to build sfml2-module.lib. I have *-s.lib, *-s-d.lib, *.dll and *-d.dll, but no *.lib, if you know what I mean. I built SFML for targets "Release Static", "Debug Static", "Release DLL" and "Debug DLL", which
are 4 in number (and I have 4 output binaries). Where is the rest? (I guess I'm just not seeing it at the moment)
Edit3: Yay, everything works fine, 64bit libs built successfully...