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?
OSX Framework
Moderators: CEGUI MVP, CEGUI Team
OT compile error
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
EDIT: added some linebreaks
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
- Exsortis
- CEGUI Team (Retired)
- Posts: 42
- Joined: Mon Feb 07, 2005 17:13
- Location: Palmdale, CA
- Contact:
Re: OSX Framework
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
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
Re: OSX Framework
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
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
Re: OSX Framework
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
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
- Exsortis
- CEGUI Team (Retired)
- Posts: 42
- Joined: Mon Feb 07, 2005 17:13
- Location: Palmdale, CA
- Contact:
Re: OSX Framework
@Lijat:
Aha. The Mac build in the 0.4.0 tarball is slightly broken (as you've noticed).
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.
-E
Aha. The Mac build in the 0.4.0 tarball is slightly broken (as you've noticed).
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.
-E
Re: OSX Framework
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
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
Re: OSX Framework
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
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
Re: OSX Framework
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
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
Re: OSX Framework
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 .
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.
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.
Re: OSX Framework
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
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
Re: OSX Framework
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 3 guests