Installing 3rd party libraries/XCode

Oldtimer
Posts: 834
Joined: 2002.09
Post: #1
I'm cleaning up my dependencies a bit, and wanted to move them into install locations at /usr/local/lib and /usr/local/include.

For instance, I moved all the cxxtest headers into /usr/local/include/cxxtest/, and include #include <cxxtest/TestSuite.h>, but XCode can't find it.

Am I missing anything, or is it finally my turn to have XCode let me down? Smile
Quote this message in a reply
Member
Posts: 64
Joined: 2005.06
Post: #2
Note that I haven't tried this myself, but have you checked to see if it works if you place the library in the system library instead of on a per user basis? I have a feeling that XCode is just checking the system framework folder and not user locations.

Does that count as XCode letting you down? To be fair, XCode has never really given me any problems either until lately when not only does it seem to hack some gcc flags, but it keeps giving me extraneous errors because one of my class methods had a method name that's a couple characters off but otherwise similar to a NSString method. I know this is the case because if I change the name to something way out there, like foo:, it has no trouble.
Quote this message in a reply
Member
Posts: 245
Joined: 2005.11
Post: #3
Is /usr/local/ in your search path? I don't think it is included as standard (although I'm not at a Mac at the moment to check).
Quote this message in a reply
Sage
Posts: 1,199
Joined: 2004.10
Post: #4
I always add /usr/local to my header search paths so I can use boost and ODE. Hopefully that's the problem you're seeing.
Quote this message in a reply
Oldtimer
Posts: 834
Joined: 2002.09
Post: #5
Thanks, that worked just fine!
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Installing and using SDL in Mac OS X filfil96 5 6,095 Jul 7, 2009 09:10 PM
Last Post: TythosEternal