Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Alexiel

macrumors newbie
Original poster
Mar 7, 2009
3
0
Hello!

It seems that I finally managed to download all those OpenGL frameworks, darwin ports packages, more packages for SDL, XCode and Eclipse can compile the most part of my project.

Though... I'm stuck now at another error: "symbol(s) not found". I have a main.cpp and a int main() method inside, so that's not the error.

Any ideas to solve this?

Thanks in advance.
 

kainjow

Moderator emeritus
Jun 15, 2000
7,958
7
Which symbol(s)? You most likely aren't linking against a certain framework/library, or don't even have it on your computer.
 

Alexiel

macrumors newbie
Original poster
Mar 7, 2009
3
0
Which symbol(s)?
Nice question... The only information Eclipse returns is:

symbol(s) not found, on element: <Project Name>, location: line 0

Am I missing some 'framework'? Currently mi list in /Library/Frameworks is:

FxPlug.framework
HPDeviceModel.framework
HPPml.framework
HPServicesInterface.framework
HPSmartPrint.framework
MacFUSE.framework
PluginManager.framework
ProFX.framework
SDL.framework
OpenGL.framework

Do I need more or maybe I have to "link" them to the Eclipse? (In the last case I am totally newbie; I have never added/imported libraries nor plugins to Eclipse)

Thanks.
 

Zortrium

macrumors 6502
Jun 23, 2003
461
0
Your error message isn't very informative...however, you're definitely going to need to tell Eclipse where to find things. I've done some OpenGL-based programming on Eclipse on a Mac (though probably with a different graphics library than you), and the primary things you'll need to do are go to Properties->C/C++ Build->Settings, then select Miscellaneous under MacOS X C++ Linker and add to the Linker flags field the various Mac OS X frameworks you're using (in my case, I was using "-framework Carbon -framework OpenGL -framework SDL"). Other libraries, most likely including whatever graphics libraries you're using, go into Libraries (right above Miscellaneous).

I can't really be of any more specific help without better information from you on what the problem is.
 

Alexiel

macrumors newbie
Original poster
Mar 7, 2009
3
0
Tried it, but no results...... I guess that Ganymede doesn't like me. Hah.

Thanks for your help anyway .')
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.