pingus-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pingus-Devel] Re: [Clanlib-devel] ClanLib 0.8 (930) on Mac OS X


From: Tim Wilson-Brown
Subject: [Pingus-Devel] Re: [Clanlib-devel] ClanLib 0.8 (930) on Mac OS X
Date: Wed, 28 Jun 2006 12:36:16 +1000


On 2006-06-26, at 05:01 , address@hidden wrote:


Message: 1
Date: Sun, 25 Jun 2006 16:10:36 +0900
From: "Seth A. Robinson" <address@hidden>
Subject: Re: [Clanlib-devel] ClanLib 0.8 (930) on Mac OS X
To: "'For developers of the ClanLib Game SDK.'"
        <address@hidden>
Message-ID: <address@hidden>
Content-Type: text/plain;       charset="us-ascii"

Hi Tim,

Pingus: Unknown throw caught!

I'm not sure about that MikMod error, but if you'd like to get the throws working correctly you need to make a few changes to your XCode projects
(both the Clanlib library one and your app):

Look for "Symbols Hidden By Default" and set it to unchecked.  If it's
already unchecked, check it and uncheck it anyway, so it will override
whatever the default is.

I think that's all you need, but maybe you need Inline Functions Hidden unchecked as well, not sure, something to try if you have any problems.

The relevant flag in this case is:

Strip Debug Symbols During Copy

When Pingus copies the frameworks, this flag is on by default, and so the frameworks have their debug symbols stripped.

Strip Linked Product will also cause problems when deploying debug frameworks.

These only need to be enabled for development/debug.


These settings aren't available (or needed) in older XCode versions (they were introduced when XCode started supporting GCC 4) so we can't really add it to the default project as it is XCode 1.5 I believe. (so pre- Tiger people
can use it)

But I guess I should add this info to the mac readme at least.

Thanks,

Seth A. Robinson (mrfun)
www.rtsoft.com

-----Original Message-----
From: Tim Wilson-Brown [mailto:address@hidden
Sent: Saturday, June 24, 2006 8:56 PM
To: address@hidden
Cc: address@hidden
Subject: [Clanlib-devel] ClanLib 0.8 (930) on Mac OS X

Hi,

I have just installed ClanLib and Pingus from svn:

*Installing ClanLib:

Used the instructions at http://www.clanlib.org/wiki/Compiling
and the dependent libraries listed in the INSTALL.macosx document in
ClanLib:

I used Xcode 2.3, gcc version 4.0.1 (Apple Computer, Inc. build
5341), and zlib 1.2.3, all on Mac OS X 10.4.6 (8I127) on a PowerBook G4.


*Getting ClanLib and pingus source:

http://lists.gnu.org/archive/html/pingus-devel/2005-12/msg00060.html
says that ClanLib 0.9 is incompatible with (pingus/Mac OS X)?

So I downloaded ClanLib-0.8 using the instructions at: http://
www.clanlib.org/subversion.html
Charis:~/Projects/Pingus twilsonb$ svn co https://clanlib.org/svn/
ClanLib/Development/ClanLib-0.8
Error validating server certificate for 'https://clanlib.org:443':
- The certificate is not issued by a trusted authority. Use the
    fingerprint to validate the certificate manually!
- The certificate hostname does not match.
- The certificate has expired.
Certificate information:
- Hostname: esoteric.clanlib.org
- Valid: from Nov 20 18:32:19 2004 GMT until Nov 20 18:32:19 2005 GMT
- Issuer: SomeOrganizationalUnit, SomeOrganization, SomeCity,
SomeState, --
- Fingerprint: af:c6:43:f9:88:c5:24:ab:35:f2:52:86:a1:2c:
6e:f4:55:d9:19:f1
(R)eject, accept (t)emporarily or accept (p)ermanently? t
...
Checked out revision 930.

NOTE: The server certificate is outdated and has the wrong name.


*Building ClanLib 0.8:

I chose to use the universal binary instructions at http://
www.clanlib.org/wiki/XCode_Universal_Binaries
and used the binaries from http://www.clanlib.org/download-binaries-
osx-gcc40-universal.html

I opened the ClanLib.xcode project and upgraded it to an xcodeproj in
Xcode 2.3.

I downloaded the frameworks and put the in a Frameworks directory,
then reopened the project.

I changed the project settings to use the universal SDK, and (while I
was at it) activated Subversion version control. I also needed to
change the subversion tool path to /sw/bin/svn. I also needed to
accept the clanlib certificate permanently. I also changed it to
build for ppc and i386.

I then built using a dedicated build between the two Macs that I have.
(I decided not to wait for Xcode to sort out SCM status).

The build worked fine - about 5-10 minutes - there were some warnings
about deprecated QuickDraw functions - but nothing that's going to
cause any problems.

*Running/Debugging:

I get the message:

Pingus: Unknown throw caught!

when a CL_Error is thrown by ClanMikMod - the actual error (retrieved
by using debugging output before the throw) is:

Compressed sample is invalid for /tmp/build/products/Development/
Pingus.app/Contents/Resources/data/music/pingus-1.it

I remember RTTI errors like this having something to do with  gcc,
and classes in header files. (I do have RTTI and exceptions turned
on).  Does anyone know where I can find gcc documentation referring
to this problem? (Or some workarounds?)

I have read it somewhere but I can't find it now when I need it.

Apart from this problem, the game and engine run fine and compile
well on Mac OS X.  It's good to see game engines that are so portable!


Tim

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel? cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
clanlib-devel mailing list
address@hidden
https://lists.sourceforge.net/lists/listinfo/clanlib-devel




------------------------------

Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel? cmd=lnk&kid=120709&bid=263057&dat=121642


------------------------------

_______________________________________________
clanlib-devel mailing list
address@hidden
https://lists.sourceforge.net/lists/listinfo/clanlib-devel


End of clanlib-devel Digest, Vol 2, Issue 7
*******************************************





reply via email to

[Prev in Thread] Current Thread [Next in Thread]