• 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
Headers for Darwin installed lib
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Headers for Darwin installed lib


  • Subject: Headers for Darwin installed lib
  • From: "Fen Soares" <email@hidden>
  • Date: Fri, 16 Mar 2007 15:03:06 +0000

I'm trying to use the GNU Triangulated Surface Library (http://gts.sourceforge.net/) in my Xcode project.

I'm not too familiar with how the search paths should be configured, and in order to avoid the compilation errors I was getting, resorted to setting the USER_HEADER_SEARCH_PATHS = /opt/local/bin/** /opt/local/lib/** /opt/local/include/**
It's obviously very slow but compiles (eventually)

The problem now is that I'm getting undefined symbol errors:

void sphere()
{
  GtsSurface * s;

    /* generate triangulated sphere */   
    s = gts_surface_new (gts_surface_class (),
                                                gts_face_class (),
                                                gts_edge_class (),
                                                gts_vertex_class ());
}

results in these errors in the log:

Undefined symbols:
 _gts_edge_class
 _gts_face_class
 _gts_surface_class
 _gts_surface_generate_sphere
 _gts_surface_new
 _gts_vertex_class

 So it likes this: GtsSurface * s;
but nothing else.

Any help is much appreciated. This is for including a .c file in a cocoa project. I've set the C Language Dialect flag to: GCC_C_LANGUAGE_STANDARD = c99, due to a Macro that I'm using in Objective-C, which requires it. That's the only difference out-of-the-box




 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Headers for Darwin installed lib
      • From: Chris Espinosa <email@hidden>
  • Prev by Date: Re: -[MyClass mySelector] + 99. How interpret "99"?
  • Next by Date: Re: Headers for Darwin installed lib
  • Previous by thread: Re: -[MyClass mySelector] + 99. How interpret "99"?
  • Next by thread: Re: Headers for Darwin installed lib
  • Index(es):
    • Date
    • Thread