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

Author Topic: local symbol `' has no section  (Read 1950 times)

0 Members and 1 Guest are viewing this topic.

greeniekin

  • Jr. Member
  • **
  • Posts: 66
    • View Profile
local symbol `' has no section
« on: May 12, 2011, 09:42:10 am »
I am trying to use two libraries to make a program. One is obviously SFML. The other is RtMidi.

Though I have have this annoying issues where I have everything linked as it should to get both working.
Though when I only have sfml code it is fine.
If I use only RtMidi code it is fine.
Though if i have even a single line from either in the other code I can not compile.

This is the error. There is a square where the question make is(obviously an odd ascii char of some kind) though it doesn't copy well.

warning: C:\SFML-1.6\lib\mingw/libsfml-window-s.a(dwzes00087.o): local symbol `?' has no section


I use code::blocks with mingw.

It has been driving me nuts. I have no idea what is wrong.
Also i'm not using it for midi out if thats what people are thinking. I'm using it for midi in, and it has to be in real time.

Any help would be much appreciated.

greeniekin

  • Jr. Member
  • **
  • Posts: 66
    • View Profile
local symbol `' has no section
« Reply #1 on: May 13, 2011, 10:10:34 am »
It is very strange. After trying a billion things. Updating everything trying different build of sfml. I managed to get it working.

For some reason if I linked the SFML libraries before winmm and the others i used. It wouldn't work. If i linked it after the rtMidi it would not work. If i put them in the middle it worked.

I don't get why. Especially since they do not depend on each other.

I am just thankful for getting it working. just sucks how many hours it took.