Page 1 of 1

Mac OS X Port

Posted: Fri Aug 26, 2005 10:28
by renchap
The current project for XCode is not up to date, and a lot of things are missing :
- Precompilated header is useless
- Some bad compiler options when using development style
- To switch between xml parser we must change framework bindings and some code
- The LUA parser is not present in the project
- The opengl renderer doesn't work due to endianness issue, so we must use Devil

And with the new CVS version :
- There is some files that are missing in the project (related to falagard)
- The Falagard module is not included in the project


I have made a new project from scratch, and with some new targets :
- CEGUI with Xerces C
- CEGUI with TinyXML
- Taharez, WindowsLook and Falagard Modules
- LUA and ToLUA++ framework
- LuaScriptModule framework
- OpenGL renderer without Devil (with the texture issue)
- OpelGL renderer with devil support

And i have a home made Devil framework that can be used to compile the renderer.

Are you interested by my xcode project to update the current one, or should i wait that someone take a look to the osx port ?

Re: Mac OS X Port

Posted: Fri Aug 26, 2005 12:46
by CrazyEddie
Hi,

Obviously MacOS X support has been non-existant since our maintainer for that system left, which is why things are in such a bad state for Mac users.

I'll gladly look at your updates. You will need to collect together any patches, new files, and what have you, and submit them with some additional information with regards to what old Mac OS files need removing, etc...

We really need the Mac build system to be updated, especially for the 0.4.0 release which will be happening very soon. We would very much like to find a new Mac OS X maintainer, would you be interested in this?

Re: Mac OS X Port

Posted: Sat Aug 27, 2005 11:04
by scriptkid
Hi renchap,

thanks for the "inspection" you have done :-)

I have a quick question about the pre-compiled header issue. Do you mean that Mac OS doesn't support these? I ask this because it is also important for the new layout editor, which should compile on multiple platforms.

Thanks! :-)

Re: Mac OS X Port

Posted: Sat Aug 27, 2005 15:13
by _mental_
scriptkid, precompiled headers do work under OSX as we use them for OGRE. Linux also supports precompiled headers using gcc 3.4+ but we don't use them yet for CEGUI (or OGRE).

Re: Mac OS X Port

Posted: Sat Aug 27, 2005 20:51
by renchap
hum, iam not very skilled with c/c++ but i think i can maintain a project up to date (if there is no big changes to do in the code, so for example i cant fix the endian problem on opengl renderer, too difficult for me atm)

but i can make a clean xcode project and maintain it, thats not too difficult :)

i will post here my project after cleaning it a bit :)

scriptkid : precompiled headers works fine, but the current project use carbon.h as precompiled header, and precompile it two times, but this header is only used in 1 file, so i think thats quite useless

Re: Mac OS X Port

Posted: Mon Aug 29, 2005 07:33
by CrazyEddie
Ok. Once we see the changes, we'll take it form there.

Only in rare cases is there any portability issues with the actual code side of things - I'll take a look at the built-n Targa loader in the OpenGL renderer and see about fixing that shortly.

Re: Mac OS X Port

Posted: Mon Aug 29, 2005 22:37
by Exsortis
Hi guys,

(I find it oddly ironic that the day that I decide to have a peek at the CEGUI forums to catch up on the state of things, mostly because I'm thinking about resuming my OS X work on CEGUI :hammer: , that the second topic on this area is about the OS X port.)

renchap, I'd love to work with on bringing the Xcode project back up with the rest of the platforms and working out its issues.

Cheers,
-E

Re: Mac OS X Port

Posted: Tue Aug 30, 2005 08:44
by CrazyEddie
This would be very cool; to basically restore the 'full team' as it were :twisted: .

It's not nice to know that there are issues with the system that the rest of us are virtually powerless to do anything about.

Re: Mac OS X Port

Posted: Thu Sep 22, 2005 00:16
by Backov
I'm currently trying to get this compiled with the XCode project and it doesn't seem to be updated as of yet. I take it this is still being worked on?

Is there a work in progress XCode project I can grab?

Also - what's the best place to get xerces-c for OS X? Fink only has xerces-j.

Re: Mac OS X Port

Posted: Thu Sep 22, 2005 22:24
by renchap
i am still working on this, but i have some irl problems so i havent yet released my project. i hope i will have some hours this week end to finish it :)

Re: Mac OS X Port

Posted: Fri Sep 23, 2005 21:19
by Exsortis
Backov wrote:
I'm currently trying to get this compiled with the XCode project and it doesn't seem to be updated as of yet. I take it this is still being worked on?

Is there a work in progress XCode project I can grab?

Also - what's the best place to get xerces-c for OS X? Fink only has xerces-j.


The xerces package from Apache includes a build for Xcode. It's biggest deficiency is that it doesn't package the headers into the framework. I've modified the project to do that, and have a working Xerces.framework. I should probably create a DMG of it and upload for others to use.

The Xcode project for CEGUI in the Xcode2 folder should work out of the box for Xcode 2.0. I haven't updated the Xcode 1.5 project yet. Check it out from CVS, the 'v0-4' branch.

-E