Changes between Initial Version and Version 1 of Ticket #33679


Ignore:
Timestamp:
Mar 19, 2012, 12:31:27 AM (12 years ago)
Author:
ryandesign (Ryan Carsten Schmidt)
Comment:

Please provide a reproduction recipe: a set of steps we can perform on our systems to arrive at the error message you showed. Otherwise it's hard for us to test possible fixes.

MacPorts provides X11. See the dozens of xorg ports. MacPorts ports should depend where needed on these ports, and should not use the system X11.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #33679

    • Property Owner changed from macports-tickets@… to jmr@…
    • Property Port libsdl added
  • Ticket #33679 – Description

    initial v1  
    11When compiling a project against SDL installed with Macports (upgraded to current, and installed with +universal, which is x86_64 and i386 for me), I get errors indicating missing dependencies.  I believe this symbols are defined in Xlib, though I can't find Xlib on my system, nor is there a Macports package to be installed.
    22
     3{{{
    34Undefined symbols for architecture x86_64:
    45  "_XCreateIC", referenced from:
     
    89  "_XEventsQueued", referenced from:
    910      _X11_Pending in libSDL.a(SDL_x11events.o)
     11}}}
    1012
    1113Linking against the X11 libraries on OS X works, though I'm surprised that Macports doesn't have a dependency on X11.  A static build (using the OS X - provided X11 libraries) would be best for me in this case.