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

Author Topic: bizarre error that isn't an error  (Read 1392 times)

0 Members and 2 Guests are viewing this topic.

jeroen clarysse

  • Newbie
  • *
  • Posts: 12
    • View Profile
bizarre error that isn't an error
« on: August 03, 2011, 04:16:18 pm »
when compiling the example in XCode4, I guet a "semantic issue", which is identified by the red exclamation that is used to indicate errors, but nonetheless the compiler claims "build succeeded", so it isn't a real error i suppose. Nonetheless it bothers me to see these red icons :-(

i made a screenshot here :

      http://imgur.com/t2ubz


anyone any idea what this is ? The class Text for sure exists, because selecting it and pressing cmd-D properly jumps to the class definition, which is inside namespace sf, inside class Unicode.

I tried to define the offending line as
Code: [Select]

   sf::Unicode::Text     text;


but that results in a "real" error :
Code: [Select]

    'sf::Unicode' has not been declared

jeroen clarysse

  • Newbie
  • *
  • Posts: 12
    • View Profile
duh.... found it
« Reply #1 on: August 03, 2011, 04:27:23 pm »
the problem was due to both SFML 2.0 and 1.6 being on my system : apparently the semantic parser used the frameworks of 1.6 in my /Library/Frameworks folder, and the compiler used the dylib files in /usr/local/lib/SFML !

solved !

 

anything