Re: Where to put static libraries?
Re: Where to put static libraries?
- Subject: Re: Where to put static libraries?
- From: Marty Ray <email@hidden>
- Date: Wed, 11 Feb 2004 22:21:33 -0500
I'm fairly new at writing software, so forgive the "basic-ness" of
this, but I selected 'Add File...' from the project menu and added the
library to my project and I still get an error stating that libmysql.a
could not be found.
How do I specify the location of my library in my #include < >
statement? Actually, I'm not even sure where my include should go. I
just put it in the header file for my first block of code...
Thanks for any tutoring you can offer.
Regards,
Marty Ray
On Feb 10, 2004, at 5:30 AM, Markus Hitter wrote:
Am 10.02.2004 um 05:02 schrieb Marty Ray:
I am trying to write an application that allows me to access a mysql
database. They have a static library "libmysqlclient.a" that I need
to link to, but I can't figure out how to do that.
Put it anywhere you want and add it like a framework or resource to
the project.
To test wether you can distribute your app, build the app, move the
lib aside and run the app. Since it's a static lib, this should work.
In opposite, dynamic libs need to be embedded into the app since they
are needed at runtime.
HTH,
Markus
- - - - - - - - - - - - - - - - - - -
Dipl. Ing. Markus Hitter
http://www.jump-ing.de/
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.