SFML community forums

Help => General => Topic started by: cheeseboy on May 12, 2013, 04:51:01 am

Title: Cross Compiling linux->win32
Post by: cheeseboy on May 12, 2013, 04:51:01 am
I'm trying to cross compile from linux to windows. Using dynamic libs work but static ones get linker errors:
http://paste2.org/2dpU0xs8 (http://paste2.org/2dpU0xs8)
I've added -DSFML_STATIC as you can see so why the errors?
Title: Re: Cross Compiling linux->win32
Post by: Laurent on May 12, 2013, 10:45:26 am
Quote
undefined reference to `_imp___ZN2sf11SoundBufferC1Ev'
The _imp___ prefix is for dynamically-linked functions. So somehow these files where not compiled with SFML_STATIC.