The SDL forums have moved to discourse.libsdl.org.
This is just a read-only archive of the previous forums, to keep old links working.


SDL Forum Index
SDL
Simple Directmedia Layer Forums
using SDL with OSX C++
Chris Ball
Guest

Hi everyone,

I'm trying to put SDL into an OSX C++ (carbon) project.
The problem is that SDL seems to be written in objective-C,
and when I compile it gives me:

ld: /usr/lib/crt1.o illegal reference to symbol:
__objcInit defined in indirectly referenced dynamic library
/usr/lib/libobjc.A.dylib

Does anyone know how to glue my C++ project to SDL?

Thank you
Chris
using SDL with OSX C++
Olivier Delannoy
Guest

SDL is written in C not objective C.

On 1/13/06, Chris Ball <CBall20 at aol.com> wrote:
Quote:
Hi everyone,

I'm trying to put SDL into an OSX C++ (carbon) project.
The problem is that SDL seems to be written in objective-C,
and when I compile it gives me:

ld: /usr/lib/crt1.o illegal reference to symbol:
__objcInit defined in indirectly referenced dynamic library
/usr/lib/libobjc.A.dylib

Does anyone know how to glue my C++ project to SDL?

Thank you
Chris



_______________________________________________
SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl