Linking problem with xCode 3.1.1 on Mac OSX 10.5

Joined
Mar 6, 2009
Messages
1
Reaction score
0
Points
1
Hi,



I am having problem linking a dynamic library (.dylib) with an executable. I have following setup

1. I have a dynamic library created as “C++ Standard Dynamic Library” in xCode

2. I have an executable created as Command Line Utility->C++ Tool in xCode. I intend to link the dynamic library with this executable

3. I can call any method of any class of the dynamic library from the executable if and only if the method is declared and defined in .h file

4. When I try to call any method which are declared in .h file but defined in .cpp file, I get linking errors which says “Symbol(s) not found”


Appreciate your help on the same.

Regards,
Kamlesh
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top