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

Author Topic: OSX / Ecplipse Symbol not Found  (Read 1494 times)

0 Members and 1 Guest are viewing this topic.

kiuzhack

  • Newbie
  • *
  • Posts: 2
    • View Profile
OSX / Ecplipse Symbol not Found
« on: October 22, 2011, 04:16:33 pm »
Hallo to all,
I use OSX Lion where I have installed SFML2 with CMAKE and "sudo make install" command...

Next time I create new c++ project into Ecplise and and SFML-folder are correctly into "Serch Path" and I can inlcude all file of library, but if I build this code ecplise return this error.

Why?... How can I resolve it?

thanks very mutch

sbroadfoot90

  • Jr. Member
  • **
  • Posts: 77
    • View Profile
OSX / Ecplipse Symbol not Found
« Reply #1 on: October 23, 2011, 07:17:53 am »
It looks like you aren't linking to the libraries properly

kiuzhack

  • Newbie
  • *
  • Posts: 2
    • View Profile
OSX / Ecplipse Symbol not Found
« Reply #2 on: October 23, 2011, 11:52:16 am »
But live "building" read correctly all classes's information...

Hiura

  • SFML Team
  • Hero Member
  • *****
  • Posts: 4321
    • View Profile
    • Email
OSX / Ecplipse Symbol not Found
« Reply #3 on: October 24, 2011, 08:07:59 pm »
I've no idea how eclipse live building works however, according to your error log, on line 12 (g++  -o "sfml2_1"  ./src/sfml2_1.o), we can see that -lsfml-[system&window] are missing.

Check your project settings. I've no clue how it works but you should be able to add SFML libraries to your project's linker options.
SFML / OS X developer

 

anything