OSX Framework

For help with anything that CEGUI doesn't offer straight out-of-the-box, e.g.:
- Implementation of new features, such as new Core classes, widgets, WindowRenderers, etc. ...
- Modification of any existing features for specific purposes
- Integration of CEGUI in new engines or frameworks and writing of new plugins (Renderer, Parser, ...) or modules

Moderators: CEGUI MVP, CEGUI Team

User avatar
Lijat
Just popping in
Just popping in
Posts: 7
Joined: Sun Aug 28, 2005 12:36

OSX Framework

Postby Lijat » Sun Oct 09, 2005 10:40

I have tried to compile CEGUI on my ibook for quite some time now and must admit that i'm stuck. Whenever i solv a problem a new one pops up.
So would it bee posible to distribute CEGUI as a Framework so that no recompilation eould bee needed for client programers?

By the way just remember wath I read in a post a while back, is ht ecurrent project consider up to date or is it work in progress?

User avatar
Lijat
Just popping in
Just popping in
Posts: 7
Joined: Sun Aug 28, 2005 12:36

OT compile error

Postby Lijat » Sun Oct 09, 2005 12:46

I realise that the compilation error can bee of use to some maintainer

my overall impression of the current xcode projec is that the deployment version is neglected in favoure of the dev elopment version

I get this error when compiling both this module and the openGL renderer

Code: Select all

Ld /Users/johgra/libraries/source/cegui_mk2/makefiles/mac/Xcode2/
CrazyEddiesGUI/build/Deployment/LuaScriptModule.framework/Versions/A/
LuaScriptModule normal ppc
    mkdir /Users/johgra/libraries/source/cegui_mk2/makefiles/mac/Xcode2/
CrazyEddiesGUI/build/Deployment/LuaScriptModule.framework/Versions/A
    cd /Users/johgra/libraries/source/cegui_mk2/makefiles/mac/Xcode2/
CrazyEddiesGUI
    /usr/bin/g++-3.3 -o /Users/johgra/libraries/source/cegui_mk2/
makefiles/mac/Xcode2/CrazyEddiesGUI/build/Deployment/
LuaScriptModule.framework/Versions/A/LuaScriptModule -L/Users/johgra/
libraries/source/cegui_mk2/makefiles/mac/Xcode2/CrazyEddiesGUI/build/
Deployment -F/Users/johgra/libraries/source/cegui_mk2/makefiles/mac/
Xcode2/CrazyEddiesGUI/build/Deployment -filelist /Users/johgra/libraries/
source/cegui_mk2/makefiles/mac/Xcode2/CrazyEddiesGUI/build/
CrazyEddiesGUI.build/Deployment/LuaScriptModule.build/Objects-normal/
ppc/LuaScriptModule.LinkFileList -framework CEGUI -llua -framework Xerces
-arch ppc -Wl,-single_module -dynamiclib -compatibility_version 1 -
current_version 1 -install_name /Library/Frameworks/
LuaScriptModule.framework/Versions/A/LuaScriptModule -framework Carbon
ld: /Users/johgra/libraries/source/cegui_mk2/makefiles/mac/Xcode2/
CrazyEddiesGUI/build/Deployment/CEGUI.framework/CEGUI is input for the
dynamic link editor, is not relocatable by the static link editor again
/usr/bin/libtool: internal link edit command failed


EDIT: added some linebreaks

User avatar
Exsortis
CEGUI Team (Retired)
Posts: 42
Joined: Mon Feb 07, 2005 17:13
Location: Palmdale, CA
Contact:

Re: OSX Framework

Postby Exsortis » Mon Oct 10, 2005 04:14

Lijat,

I'll try to address all your issues:

1. I believe the general policy right now is not to distribute precompiled binaries.

2. I've not seen the linker error you're getting, but I believe it has to do with one of the frameworks being built as static, and the other as dynamic.

3. I apologize for neglecting the deployment build properties. The last few commits to CVS, I've been trying to make sure that the dev and deploy properties are, for all intents and purposes, identical.

4. Despite #3, I wouldn't recommend using the deployment build at the moment. Given that, in whichever build you decide to use, make sure that the library style of all of them, except the lua&tolua++ lib, are set to dynamic. Although, for the record, I'll only be "supporting" the dev build until 1.0 approaches.

5. The Mac portion of CEGUI is kept up-to-date, for the most part. I'm usually about a few days to a week behind CE and lindquist on project changes, but I do keep it current (I'm using CEGUI myself, so I'd like it stay current. :) )

6. I notice that you're building with GCC 3.3 instead of 4.0. I don't build any of it on anything but 4.0, so I'd recommend switching to using 4.0 for building CEGUI. In the future, I may also make sure it builds cleanly using GCC 3.x on 10.4, but since that's not the "official" compiler for Tiger....

Hope that helps you out.

-E

User avatar
Alexco
Just popping in
Just popping in
Posts: 6
Joined: Wed Sep 28, 2005 12:44
Location: Outer Rim

Re: OSX Framework

Postby Alexco » Mon Oct 10, 2005 08:04

Lijat,

are you using 10.3.x and XCode1.x? I found the XCode project for version 1.x out of date, and I could not compile CEGUI with this.

Greets,
Alex

User avatar
Lijat
Just popping in
Just popping in
Posts: 7
Joined: Sun Aug 28, 2005 12:36

Re: OSX Framework

Postby Lijat » Mon Oct 10, 2005 20:17

Exsortis:
I got the development build to work with the folowing changes

CEGUI version the 0.4 release (not the cvs)

CEGUIbase
changed linkstyle to dynamic (will try with static later think it would bee cleaner)

OPENGLrenderer & TaharezLook & windowsLook & falagardBase
giwes this error

ld: warning can't open dynamic library: /Users/pauly/Projects/Frameworks/misc/xerces-c-src_2_6_0/Projects/MacOS/Xcode/XercesLib/build/Deployment GCC3/Xerces.framework/Versions/A/Xerces (checking for undefined symbols may be affected) (No such file or directory, errno = 2)

solution add xerec to frameworks to link to

(deployment)
plist called
CEGUIOpenGLRenderer-Info.plist
OpenGLRenderer-Info.plist

I will post back when I have tried to get the deployment build working

Alexco:
I use tiger 10.4.2 and Xcode 2.2

User avatar
Exsortis
CEGUI Team (Retired)
Posts: 42
Joined: Mon Feb 07, 2005 17:13
Location: Palmdale, CA
Contact:

Re: OSX Framework

Postby Exsortis » Tue Oct 11, 2005 03:32

@Lijat:
Aha. The Mac build in the 0.4.0 tarball is slightly broken (as you've noticed). :oops:

I would recommend, if you don't want to be bleeding edge with CVS HEAD, to check out the "v0-4" branch from CVS, as it has updates that are not in the tarball, one of which should fix the linker error.

@Alexco:
I apologize for the brokenness of the Xcode 1.x build. I have a 2nd Mac that still has Panther on it with Xcode 1.5, but I haven't had time to update that build. I will try to get some of that done this week, but I can't make any promises. :hammer:

-E

User avatar
Alexco
Just popping in
Just popping in
Posts: 6
Joined: Wed Sep 28, 2005 12:44
Location: Outer Rim

Re: OSX Framework

Postby Alexco » Tue Oct 11, 2005 09:04

No Problem, I am using Tiger and Xcode 2.2.
I only tried the xcode1 project out of curiosity, but now I have all my Macs running Tiger (and building CEGUI just fine) so for me it does not really matter anymore.

regards,
Alex

User avatar
Lijat
Just popping in
Just popping in
Posts: 7
Joined: Sun Aug 28, 2005 12:36

Re: OSX Framework

Postby Lijat » Tue Oct 11, 2005 11:15

Ok mabe not so usefull now that I know that the cvs is more update but here is wath i did to compile th deployment version

copied the search paths from development to deployment in openglrenderer ,
lua , luascriptmodule ,taharezlook , windowslook and falagard
changed CEGUIBase to dynamic linkage
added xcerec to glrenderer and the skining systems

I will try the cvs version you sugested

User avatar
exien
Just popping in
Just popping in
Posts: 7
Joined: Sat Oct 22, 2005 22:26

Re: OSX Framework

Postby exien » Sat Oct 22, 2005 22:34

Hi, I'm stuck at the same point Lija was stuck at:
ld: warning can't open dynamic library: /Users/pauly/Projects/Frameworks/misc/xerces-c-src_2_6_0/Projects/MacOS/Xcode/XercesLib/build/Deployment GCC3/Xerces.framework/Versions/A/Xerces (checking for undefined symbols may be affected) (No such file or directory, errno = 2)

I read your recommendation on checking out the v0-4 branch from CVS but I can't find it, and really don't know how to fix this.

I would like to use cegui in my project, but if I can't even get the framework compiled... what the point??

Can someone give me a suggestion? Maybe, the exact terminal command to type in to get a stable working cegui source for mac 10.4 xcode 2.1.

Thanks

User avatar
Lijat
Just popping in
Just popping in
Posts: 7
Joined: Sun Aug 28, 2005 12:36

Re: OSX Framework

Postby Lijat » Mon Oct 24, 2005 11:33

exien: Did you read my last two posts? and tried to do wath i wrote i did? and you spelled my nick wrong it's Lijat not Lija :D.

I also hav truble with the cvs version it looks to me as if the server dont respond and my connection times out so if someone can post the exact commands I would bee greatefull.

User avatar
exien
Just popping in
Just popping in
Posts: 7
Joined: Sat Oct 22, 2005 22:26

Re: OSX Framework

Postby exien » Thu Oct 27, 2005 19:04

Hey Lijat, sorry, now I'll spell your name accurately.

So, I figured it out, I finally found the v0-4 taged branch in cv at:
http://cvs.sourceforge.net/viewcvs.py/c ... h_tag=v0-4

And from that, I figured out the cvs command to grab the source. So I did and it compiled correctly this time (just remember to put xerces source in /System/Library).

cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/crayzedsgui checkout -r v0-4 cegui_mk2

User avatar
Lijat
Just popping in
Just popping in
Posts: 7
Joined: Sun Aug 28, 2005 12:36

Re: OSX Framework

Postby Lijat » Sat Oct 29, 2005 07:49

Thanks exien I will try it as soon as I get time =)


Return to “Modifications / Integrations / Customisations”

Who is online

Users browsing this forum: No registered users and 7 guests