• 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
Trouble linking library
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Trouble linking library


  • Subject: Trouble linking library
  • From: Marty Ray <email@hidden>
  • Date: Fri, 13 Feb 2004 19:04:16 -0500

Hi, all.

Preface: I am fairly new to writing code and even newer to Xcode. I am trying to write an application to use MySQL.

I finally figured out how to properly add a static library (libmysqlclient.a) to my project (thanks to Markus Hitter), but I get over 13,000 errors when I build. It's as if Xcode is trying to compile the library like it was source code. I haven't added any source code to my project yet, just an #include "..." in 'main.m'. I just wanted to see if I can get the library to link before I start.

I tried choosing the info button and picking different types such as "compiled" and "archive". Anybody have any suggestions?

Thanks.

Marty Ray
_______________________________________________
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: Cross development question
  • Next by Date: CVS (SCM) status doesn't display properly
  • Previous by thread: Cross development question
  • Next by thread: CVS (SCM) status doesn't display properly
  • Index(es):
    • Date
    • Thread