<URGENT !! NEED HELP> MAC OS X version Eclipse C++ Linking ERROR [message #181320] |
Fri, 22 December 2006 04:27  |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.07467 seconds