[SDL] SDL doesn't like C++...

Mark Bishop sealfin at sealfin.com
Sun Sep 10 14:00:37 PDT 2006


Thanks, but I'd guess there is a solution out there *somewhere*, as I 
have C++ and SDL 1.2.9 compiling using Xcode 1.1 under Mac OS X 10.3.9 
on a different Mac; however, I installed that system a long time ago - 
and there have never been any problems with that system - so I can't 
remember the steps I took...

Thanks,

	Mark Bishop

On 10 Sep 2006, at 21:37, Mando Escamilla wrote:

> This isn't an SDL problem: it's a problem with the way Apple packaged 
> their libstdc++ libraries (at least, that's what google says).
>
> I never could find a way around it:  I had to upgrade to 10.4, which 
> comes with a new Xcode and, more importantly, a new gcc.
>
> --
> Mando
>
> On 9/10/06, Mark Bishop <sealfin at sealfin.com> wrote:
>> OS X 10.3.9), and I've run into a problem after installing the
>> development tools (Xcode 1.1) and SDL: whenever I try to compile a C++
>> project using SDL (even the SDL template-projects), I receive the
>> following error:
>>
>> > ld: /usr/lib/gcc/darwin/3.3/libstdc++.a(eh_exception.o) illegal
>> > reference to symbol: operator delete(void*) defined in indirectly
>> > referenced dynamic library /usr/lib/libstdc++.6.dylib
>>
>> These are the steps I've taken from a clean (but fully updated) 
>> install
>> of Mac OS X10.3.9 to try to install the development tools and SDL:
>>
>>         1       Installed Xcode 1.1 (Easy Install)
>>         2       Copied SDL.framework 1.2.9 to /Library/Frameworks/
>>         3       Installed the SDL 1.2.8 development project-templates 
>> et al via the
>> .pkg installer.
>>         4       Compiled a C++ Tool template-project, no problem.
>>          5       Compiled an C SDL Application template-project 
>> project, no problem.
>>         6       Created a fresh C SDL Application template-project, 
>> renamed main.c
>> to main.cpp, tried to compile, no joy...
>>
>>  Any help would be appreciated!
>>
>> Thanks,
>>
>>                 Mark Bishop
>>
>> _______________________________________________
>> SDL mailing list
>> SDL at libsdl.org
>>  http://www.libsdl.org/mailman/listinfo/sdl
>>
>>
> _______________________________________________
> SDL mailing list
> SDL at libsdl.org
> http://www.libsdl.org/mailman/listinfo/sdl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 2294 bytes
Desc: not available
URL: <http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20060910/1501d94d/attachment-0008.bin>


More information about the SDL mailing list