New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus • Advice and insight from world-class Apple enthusiasts • Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Development and Darwin Discussion and questions about development for Mac OS X.

Linking problem with xCode 3.1.1 on Mac OSX 10.5


Post Reply New Thread Subscribe

 
Thread Tools
kamleshwark

 
Member Since: Mar 06, 2009
Posts: 1
kamleshwark is on a distinguished road

kamleshwark is offline
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
QUOTE Thanks

Post Reply New Thread Subscribe


« Java - Ultimate Beginner help | Pre-compile for dev team distribution? »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Connecting to Mac from PC problem beetlejelly OS X - Operating System 11 08-23-2012 10:47 AM
Dual Boot / Virtual Windows XP Machine on Mac OS X 10.5 Leopard in 20 Steps applesanity Running Windows (or anything else) on your Mac 3 03-22-2009 12:38 PM
Disillusioned Mac desigener switches to Windows mogwai Schweb's Lounge 21 05-11-2006 03:05 PM
Mac Users Get More ISP Choices schweb Apple Rumors and Reports 1 03-06-2003 11:57 AM

All times are GMT -4. The time now is 02:22 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?