Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Cross Compiling linux->win32  (Read 1135 times)

0 Members and 1 Guest are viewing this topic.

cheeseboy

  • Newbie
  • *
  • Posts: 36
    • View Profile
Cross Compiling linux->win32
« 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
I've added -DSFML_STATIC as you can see so why the errors?

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Re: Cross Compiling linux->win32
« Reply #1 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.
Laurent Gomila - SFML developer

 

anything