• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Novice and Static Libraries
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Novice and Static Libraries


  • Subject: Novice and Static Libraries
  • From: Kevin Jaques <email@hidden>
  • Date: Wed, 11 Aug 2004 20:01:43 -0600

I am trying to get mySQL++ working in XCode. There is both a source
distribution and a precompiled static library for Mac OS X available.

I drag the library to my new XCode project, to External Frameworks. I
add a path (in unix format) to the source tree which leads to the
various header files. I put
> #include <sqlplus.hh>
at the top of my main.cpp.

It said it couldn't find it. I changed it to
> #include "sqlplus.hh"

Then I get 86 errors saying "no such file or directory" for every
#include in the sqlplus.hh file. Every one which I have checked is in
the same folder as sqlplus.hh, and all the #include statements are
written with the quotation marks. So, why can it find the one, but not
the others?

I looked at the XCode help documentation and googled for it, but got
nowhere. I will gladly RTFM if someone can direct me to it, although I
could search better if I knew what I was looking for..

And is this what I need to do to use the library, or is there more?

--
Sincerely, Kevin Jaques (at home)

Use email@hidden for work related messages

"Send lawyers, guns and money! Dad get me out of this!" - Warren Zevon
_______________________________________________
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.


  • Prev by Date: Re: Build variables in .strings files? - Followup
  • Next by Date: After upgrades iMac won't boot
  • Previous by thread: Re: Build variables in .strings files? - Followup
  • Next by thread: After upgrades iMac won't boot
  • Index(es):
    • Date
    • Thread