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

Author Topic: MingW compiler errors with sfml-graphics  (Read 3948 times)

0 Members and 1 Guest are viewing this topic.

Daevius

  • Newbie
  • *
  • Posts: 12
    • View Profile
MingW compiler errors with sfml-graphics
« on: March 13, 2008, 10:21:10 pm »
E:\MinGW\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe: BFD 2.17.50 20060824 assertion fail ../../src/bfd/cofflink.c:2266
E:\MinGW\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe: E:\Packs\SFML\lib/libsfml-window.a(dukfs00021.o): illegal symbol index -1962934271 in relocs
collect2: ld returned 1 exit status
Process terminated with status 1 (0 minutes, 0 seconds)
0 errors, 0 warnings


Thats what I get with my MingW compiler in CodeBlocks. I've rebuild the library myself, still got this problem, what can I do to fix this?

Thanks.

theanzelm

  • Newbie
  • *
  • Posts: 7
    • View Profile
MingW compiler errors with sfml-graphics
« Reply #1 on: May 01, 2008, 08:36:10 pm »
Same problem here.

Anyone could help?
Would be great.

theanzelm

  • Newbie
  • *
  • Posts: 7
    • View Profile
MingW compiler errors with sfml-graphics
« Reply #2 on: May 01, 2008, 09:50:24 pm »
I got it fixed now.
I'm not sure which of my tries fixed it but I think it has something to do with the order you include libraries for the linker.

First keep the order like in the SFML-Code::Blocks tutorial, and put SFML-libraries after all other libraries you link.