Page 7 of 17

Re: MAC users, where are you guys?

Posted: 06 Jul 2008, 15:06
by aracon
Mates you get me wrong, i tried to use Xcode but it lacks of the "quesoglc" package. Like Twilight said on page 2:
6.: xcodebuild (that builds the game, but before it can, it fetches some libs,
like SDL, gettext, zlib and stuff and builds these, puts its output into the svn-directory)
7.: download and build quesoglc (
- quesoglc.sourceforge.net
- untar
- ./configure
- make
- sudo make install
8.: now again "xcodebuild"

the command "xcodebuild" trys to download and build quesoglc on its own, but can't since
the server-fingerprint does not match it's certificate. That is why I downloaded and compiled
it manually. That was succesful, but a new "xcodebuild" trys to download and build quesoglc again :-(

That is where I am stuck!!
Well i solved this with:

Code: Select all

svn list https://quesoglc.svn.sourceforge.net
and typing 'p' to add the certificate permanently.

I ran xcodebuild again but now it fails with compiling quesoglc:

Code: Select all

Ld /Users/strobelm/Warzone/warzone/macosx/build/Warzone.build/Release/QuesoGLC.build/Objects-normal/ppc/QuesoGLC normal ppc
    cd /Users/strobelm/Warzone/warzone/macosx
    /Developer/usr/bin/gcc-4.0 -o /Users/strobelm/Warzone/warzone/macosx/build/Warzone.build/Release/QuesoGLC.build/Objects-normal/ppc/QuesoGLC -L/Users/strobelm/Warzone/warzone/macosx/build/Release -L/Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/lib -L/Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/lib -F/Users/strobelm/Warzone/warzone/macosx/build/Release -F/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks -F/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks -filelist /Users/strobelm/Warzone/warzone/macosx/build/Warzone.build/Release/QuesoGLC.build/Objects-normal/ppc/QuesoGLC.LinkFileList -lfontconfig -lfreetype -framework OpenGL -arch ppc -Wl,-single_module -compatibility_version 1 -current_version 1 -install_name @executable_path/../Frameworks/QuesoGLC.framework/Versions/A/QuesoGLC -dynamiclib -mmacosx-version-min=10.4 -framework Carbon -isysroot /Developer/SDKs/MacOSX10.4u.sdk
ld: cycle in dylib re-exports with /Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/lib/libGL.dylib
collect2: ld returned 1 exit status

CompileC build/Warzone.build/Release/QuesoGLC.build/Objects-normal/i386/font.o /Users/strobelm/Warzone/warzone/macosx/external/quesoglc/src/font.c normal i386 c com.apple.compilers.gcc.4_0
    cd /Users/strobelm/Warzone/warzone/macosx
    /Developer/usr/bin/gcc-4.0 -x c -arch i386 -pipe -std=gnu99 -Wno-trigraphs -fpascal-strings -fasm-blocks -Os -DSIZEOF_INT=4 -DSIZEOF_SHORT=2 -DQUESOGLC_VERSION="0.6.5" -DGLEW_DISABLE_VBOS -DGLEW_MX -D__MACOSX__ -fmessage-length=0 -ftree-vectorize -mmacosx-version-min=10.4 -I/Users/strobelm/Warzone/warzone/macosx/build/Warzone.build/Release/QuesoGLC.build/QuesoGLC.hmap -F/Users/strobelm/Warzone/warzone/macosx/build/Release -F/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks -F/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks -I/Users/strobelm/Warzone/warzone/macosx/build/Release/include -Iexternal/quesoglc/src -Iexternal/quesoglc/include -I/Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/include/freetype2 -I/Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/include -I/Users/strobelm/Warzone/warzone/macosx/build/Warzone.build/Release/QuesoGLC.build/DerivedSources -isysroot /Developer/SDKs/MacOSX10.4u.sdk -include /Library/Caches/com.apple.Xcode.501/SharedPrecompiledHeaders/Carbon-byrmtubigyqrceddahrrfozatdpu/Carbon.h -c /Users/strobelm/Warzone/warzone/macosx/external/quesoglc/src/font.c -o /Users/strobelm/Warzone/warzone/macosx/build/Warzone.build/Release/QuesoGLC.build/Objects-normal/i386/font.o
/Users/strobelm/Warzone/warzone/macosx/external/quesoglc/src/ofont.h:76: warning: inline function ‘__glcFontOutlineEmpty’ declared but never defined
/Users/strobelm/Warzone/warzone/macosx/external/quesoglc/src/ofont.h:74: warning: inline function ‘__glcFontGetBitmap’ declared but never defined
/Users/strobelm/Warzone/warzone/macosx/external/quesoglc/src/ofont.h:71: warning: inline function ‘__glcFontOutlineDecompose’ declared but never defined
/Users/strobelm/Warzone/warzone/macosx/external/quesoglc/src/ofont.h:68: warning: inline function ‘__glcFontGetMaxMetric’ declared but never defined
/Users/strobelm/Warzone/warzone/macosx/external/quesoglc/src/ofont.h:66: warning: inline function ‘__glcFontGetBitmapSize’ declared but never defined
/Users/strobelm/Warzone/warzone/macosx/external/quesoglc/src/ofont.h:58: warning: inline function ‘__glcFontClose’ declared but never defined
/Users/strobelm/Warzone/warzone/macosx/external/quesoglc/src/ofont.h:57: warning: inline function ‘__glcFontOpen’ declared but never defined
/Users/strobelm/Warzone/warzone/macosx/external/quesoglc/src/ofont.h:76: warning: inline function ‘__glcFontOutlineEmpty’ declared but never defined
/Users/strobelm/Warzone/warzone/macosx/external/quesoglc/src/ofont.h:74: warning: inline function ‘__glcFontGetBitmap’ declared but never defined
/Users/strobelm/Warzone/warzone/macosx/external/quesoglc/src/ofont.h:71: warning: inline function ‘__glcFontOutlineDecompose’ declared but never defined
/Users/strobelm/Warzone/warzone/macosx/external/quesoglc/src/ofont.h:68: warning: inline function ‘__glcFontGetMaxMetric’ declared but never defined
/Users/strobelm/Warzone/warzone/macosx/external/quesoglc/src/ofont.h:66: warning: inline function ‘__glcFontGetBitmapSize’ declared but never defined
/Users/strobelm/Warzone/warzone/macosx/external/quesoglc/src/ofont.h:58: warning: inline function ‘__glcFontClose’ declared but never defined
/Users/strobelm/Warzone/warzone/macosx/external/quesoglc/src/ofont.h:57: warning: inline function ‘__glcFontOpen’ declared but never defined
** BUILD FAILED **

The opengl-error concerns to manually compiling "quesoglc" and not the xcode project. *shrug*

Re: MAC users, where are you guys?

Posted: 06 Jul 2008, 16:25
by EvilGuru
The Xcode project takes care of GLC for you.

The only 'caveat' is that the first time you do it, you must manually accept the sourceforge SSL certificate. One can do this by checking it out on the command line and saying you want to accept the certificate forever. The Xcode project should now build GLC.

Regards, Freddie.

Re: MAC users, where are you guys?

Posted: 06 Jul 2008, 17:01
by aracon
EvilGuru wrote:The Xcode project takes care of GLC for you.

The only 'caveat' is that the first time you do it, you must manually accept the sourceforge SSL certificate. One can do this by checking it out on the command line and saying you want to accept the certificate forever. The Xcode project should now build GLC.

Regards, Freddie.
Well thats exactly what i did and xcode returns the error shown in my quote above.

Re: MAC users, where are you guys?

Posted: 06 Jul 2008, 23:23
by Baum
aracon, it looks like you're having the same problem as I_S: https://gna.org/bugs/?11940 . I might have an idea of what could solve the problem so I may be posting a patch (on the bug report) later today for you Leopard users to try out.

Re: MAC users, where are you guys?

Posted: 07 Jul 2008, 16:54
by aracon
As devurandom suggested i filled a bug at the sourceforge tracker of quesoglc.

https://sourceforge.net/tracker/index.p ... tid=472059

Re: MAC users, where are you guys?

Posted: 10 Jul 2008, 11:20
by aracon
I didn't see any edit button, so i'll double post.

Well warzone is running on my macbook, what's to do now?

Re: MAC users, where are you guys?

Posted: 10 Jul 2008, 12:57
by Kamaze
aracon wrote:I didn't see any edit button, so i'll double post.

Re: MAC users, where are you guys?

Posted: 11 Jul 2008, 10:39
by aracon
Hum,

very strange i researched the commander turret and build a commander relay center (or whatever its called) but i'm not able to create a tank with an commander turret. It isn't in findable in both categories: neither weapons nor systems. There's nothing to research in this direction any longer. Is it a bug or am i just an idiot? :P

*edit*

today the edit buttons works, dunno what happend last time. Anyway i started a multiplayer skirmish and there i'm able to use the commander turret.

Re: MAC users, where are you guys?

Posted: 13 Jul 2008, 18:06
by Milhouse
Hello,

Is there anyway to get the last Intel build ?
The 2.0.1 is quite crashy in multiplayers games, so I assume the 2.1 is better.

The last beta I dit get is -ari and the ground is black, so unaplayable. I'm not in mood of trying to compile it myselft, but I guess I can use a binary version if you have a link to download.

Thanks.

Re: MAC users, where are you guys?

Posted: 13 Jul 2008, 23:21
by Baum
I don't think there are any up-to-date OS X binaries for 2.1 available (although don't take my word for it). 2.1 is still in the beta stage and there are still bugs (especially OS X specific bugs, although the black textures has been fixed) so your mileage may vary.

Also, is anybody using Leopard getting jumbled texture issues with texture sizes >32? I'm still getting problems on Tiger with the latest 2.1 branch and trunk code.

Re: MAC users, where are you guys?

Posted: 14 Jul 2008, 10:33
by twilight
me too, I still have those jumbled textures :-(

But it really would be nice to know if that was part of the bugs apple fixed with 10.5.4 or
if that is "supposed" behaviour. (Just thinking: Other projects don't seem to have jumbled
textures?!!)

Re: MAC users, where are you guys?

Posted: 15 Jul 2008, 23:50
by I_S
Good news. With help from Baum and Aracon, I was able to successfully build the Warzone 2100 trunk. If anyone can tell me where to upload, I'll upload it for everyone.

Re: MAC users, where are you guys?

Posted: 16 Jul 2008, 00:02
by EvilGuru
I_S wrote:Good news. With help from Baum and Aracon, I was able to successfully build the Warzone 2100 trunk. If anyone can tell me where to upload, I'll upload it for everyone.
You'll need an account @ Gna! and to be a member of 'the project' (no pun intended!).

On that note we are currently in search of a mac maintainer or two. If anyone here is interested just post to the ML and we can probably get you commit access (and by extension upload abilities) at Gna! in a jiffy.

Good work by the way :D

Regards, Freddie.

Re: MAC users, where are you guys?

Posted: 16 Jul 2008, 01:03
by I_S
I don't know how much help I could be, since I don't have a good grasp on coding yet, but I can at least provide built trunks for anyone who wants to debug them. I just need a way to upload the build trunks, send the built trunks to an Admin that can upload them, or get the information of how to compile it to an Admin.

Well, I would post the compile instructions on the wiki, if it would let me log in on the wiki. Right now it's just saying that my password is incorrect (despite being correct) and not letting me add instructions to the OS X Warzone 2.1 Compiling page.

Re: MAC users, where are you guys?

Posted: 16 Jul 2008, 12:22
by Kamaze
I_S wrote:Well, I would post the compile instructions on the wiki, if it would let me log in on the wiki. Right now it's just saying that my password is incorrect (despite being correct) and not letting me add instructions to the OS X Warzone 2.1 Compiling page.
I just looked into this, this has todo with your user name. MediaWiki doesn't support user names like yours internally, even when i add the user by hand. I'm a bit short in time, you may post the guide here, I'll look later then if i can touch MediaWiki in it's special places... :stare: