Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » <URGENT !! NEED HELP> MAC OS X version Eclipse C++ Linking ERROR
<URGENT !! NEED HELP> MAC OS X version Eclipse C++ Linking ERROR [message #181320] Fri, 22 December 2006 04:27 Go to next message
Eclipse UserFriend
Originally posted by: rubingchiu.yahoo.com.tw

System: Mac, Eclips + CPP plugin

Question:

Our project is Cpp project on Eclips. We built it and found link error
for symbol not found: CFNumberCreate

We found that CFNumberCreate is in CarbonLib on Apple's web. We added
this file, CarbonLib, to the link library list in project setting.
However, we got another error: cannot locate file for CarbonLib.

Our problem seems that the correct library is not used in link. Does
anyone know how to solve this problem???
Re: <URGENT !! NEED HELP> MAC OS X version Eclipse C++ Linking ERROR [message #181337 is a reply to message #181320] Fri, 22 December 2006 14:28 Go to previous message
Eclipse UserFriend
On 2006-12-22 04:27:34 -0500, rubingchiu@yahoo.com.tw (Rubing Chiu) said:

> System: Mac, Eclips + CPP plugin
>
> Question:
>
> Our project is Cpp project on Eclips. We built it and found link error
> for symbol not found: CFNumberCreate
>
> We found that CFNumberCreate is in CarbonLib on Apple's web. We added
> this file, CarbonLib, to the link library list in project setting.
> However, we got another error: cannot locate file for CarbonLib.
>
> Our problem seems that the correct library is not used in link. Does
> anyone know how to solve this problem???


Carbon is really a framework.. so you might have to add a custom link
command which I think is something like -F Carbon and then it will
find the Carbon Framework and then link against it.

Also, If you have Xcode on the mac machine then just create a simple
Carbon Tool and then compile. Look at the detailed compile lines as
this should let you know what needs to be added.

Mike
Previous Topic:CDT isn't able to compile *.C files
Next Topic:when use CDT, what files to add to source control (CVS/SVN)?
Goto Forum:
  


Current Time: Thu May 29 08:39:45 EDT 2025

Powered by FUDForum. Page generated in 0.07467 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top