BZFlag Beta for Mac (I'm making a new one)

News and info about current and upcoming releases of the game client and server.
Post Reply
ryan42
Private First Class
Private First Class
Posts: 23
Joined: Sun Sep 12, 2004 2:28 am

BZFlag Beta for Mac (I'm making a new one)

Post by ryan42 » Thu Jan 06, 2005 12:38 am

Since the beta version on the build site is outdated I am gonna make a new one if I can. I'll find a place to submit it/put it on my server. I'll keep this updated on how it's going.

temporal distraction
Sergeant
Sergeant
Posts: 250
Joined: Wed Jan 05, 2005 3:12 pm

Post by temporal distraction » Thu Jan 06, 2005 3:22 am

Great - I would really appreciate it.

Thanks

ryan42
Private First Class
Private First Class
Posts: 23
Joined: Sun Sep 12, 2004 2:28 am

Post by ryan42 » Thu Jan 06, 2005 11:52 am

It's building, I started this morning. I'm on a dualie G4 (1.25) so it probably won't take long. (Even though compiling only uses one proc. anyway.) I'll 'put-er-up' on my .Mac page. I will make a non-SDL version later. For now, if you want SDL support, the package on the SDL page did NOT work for me. So get out there and Fink it or just compile it yourself. If this goes successfully (as most of my other attempts did not) then I'll try to release builds when versions come out important enough to make the current version not connect to the server. :wink:

ryan42
Private First Class
Private First Class
Posts: 23
Joined: Sun Sep 12, 2004 2:28 am

Post by ryan42 » Thu Jan 06, 2005 11:58 am

Failed. Any Mac developers that are better than I am, here's the output...

Code: Select all

Making all in platform
Making all in MacOSX
Making all in English.lproj
Making all in MainMenu.nib
make[5]: Nothing to be done for `all'.
make[5]: Nothing to be done for `all-am'.
Making all in BZFlag.pbproj
make[4]: Nothing to be done for `all'.
Making all in BZFlag.xcode
make[4]: Nothing to be done for `all'.
source='../../../../bzflag/src/platform/MacOSX/MacPlatformFactory.cxx' object='MacPlatformFactory.o' libtool=no \
depfile='.deps/MacPlatformFactory.Po' tmpdepfile='.deps/MacPlatformFactory.TPo' \
depmode=gcc3 /bin/sh ../../../../bzflag/depcomp \
g++ -DHAVE_CONFIG_H -I. -I../../../../bzflag/src/platform/MacOSX -I../../../include  -I/sw/include/SDL -D_THREAD_SAFE -I../../../../bzflag/src/platform -pipe -ansi -pedantic -fno-exceptions -W -Wall -Wundef -Wstrict-prototypes  -g -O2 -DBZ_BUILD_DATE=20050106 -O3 -ffast-math -fomit-frame-pointer -fexpensive-optimizations -fno-exceptions -c -o MacPlatformFactory.o `test -f '../../../../bzflag/src/platform/MacOSX/MacPlatformFactory.cxx' || echo '../../../../bzflag/src/platform/MacOSX/'`../../../../bzflag/src/platform/MacOSX/MacPlatformFactory.cxx
In file included from ../../../../bzflag/src/platform/MacOSX/MacPlatformFactory.cxx:13:
../../../../bzflag/src/platform/MacOSX/MacPlatformFactory.h:20:29: PlatformFactory.h: No such file or directory
In file included from ../../../../bzflag/src/platform/MacOSX/MacPlatformFactory.cxx:13:
../../../../bzflag/src/platform/MacOSX/MacPlatformFactory.h:23: error: parse 
   error before `{' token
../../../../bzflag/src/platform/MacOSX/MacPlatformFactory.h:26: error: destructors
   must be member functions
../../../../bzflag/src/platform/MacOSX/MacPlatformFactory.h:28: error: syntax 
   error before `*' token
../../../../bzflag/src/platform/MacOSX/MacPlatformFactory.h:29: error: syntax 
   error before `*' token
../../../../bzflag/src/platform/MacOSX/MacPlatformFactory.h:30: error: syntax 
   error before `*' token
../../../../bzflag/src/platform/MacOSX/MacPlatformFactory.h:44: error: syntax 
   error before `*' token
../../../../bzflag/src/platform/MacOSX/MacPlatformFactory.h:45: error: syntax 
   error before `*' token
../../../../bzflag/src/platform/MacOSX/MacPlatformFactory.h:46: error: syntax 
   error before `*' token
In file included from ../../../../bzflag/src/platform/MacOSX/MacPlatformFactory.cxx:19:
../../../../bzflag/src/platform/MacOSX/MacDisplay.h:5:20: common.h: No such file or directory
../../../../bzflag/src/platform/MacOSX/MacDisplay.h:6:24: BzfDisplay.h: No such file or directory
../../../../bzflag/src/platform/MacOSX/MacDisplay.h:7:22: BzfEvent.h: No such file or directory
../../../../bzflag/src/platform/MacOSX/MacDisplay.h:8:19: bzfgl.h: No such file or directory
In file included from ../../../../bzflag/src/platform/MacOSX/MacPlatformFactory.cxx:19:
../../../../bzflag/src/platform/MacOSX/MacDisplay.h:15: error: parse error 
   before `{' token
../../../../bzflag/src/platform/MacOSX/MacDisplay.h:18: error: parse error 
   before `const'
../../../../bzflag/src/platform/MacOSX/MacDisplay.h:19: error: destructors must 
   be member functions
../../../../bzflag/src/platform/MacOSX/MacDisplay.h:21: error: non-member 
   function `bool isValid()' cannot have `const' method qualifier
../../../../bzflag/src/platform/MacOSX/MacDisplay.h: In function `bool 
   isValid()':
../../../../bzflag/src/platform/MacOSX/MacDisplay.h:21: error: `is_valid' 
   undeclared (first use this function)
../../../../bzflag/src/platform/MacOSX/MacDisplay.h:21: error: (Each undeclared 
   identifier is reported only once for each function it appears in.)
../../../../bzflag/src/platform/MacOSX/MacDisplay.h: At global scope:
../../../../bzflag/src/platform/MacOSX/MacDisplay.h:22: error: non-member 
   function `bool isEventPending()' cannot have `const' method qualifier
../../../../bzflag/src/platform/MacOSX/MacDisplay.h:24: error: `BzfEvent' was 
   not declared in this scope
../../../../bzflag/src/platform/MacOSX/MacDisplay.h:24: error: parse error 
   before `)' token
../../../../bzflag/src/platform/MacOSX/MacDisplay.h:24: error: non-member 
   function `bool getEvent(...)' cannot have `const' method qualifier
../../../../bzflag/src/platform/MacOSX/MacDisplay.h:27: error: non-member 
   function `int getWidth()' cannot have `const' method qualifier
../../../../bzflag/src/platform/MacOSX/MacDisplay.h:28: error: non-member 
   function `int getHeight()' cannot have `const' method qualifier
../../../../bzflag/src/platform/MacOSX/MacDisplay.h:30: error: non-member 
   function `int getPassthroughWidth()' cannot have `const' method qualifier
../../../../bzflag/src/platform/MacOSX/MacDisplay.h:31: error: non-member 
   function `int getPassthroughHeight()' cannot have `const' method qualifier
../../../../bzflag/src/platform/MacOSX/MacDisplay.h:35: error: non-member 
   function `void setWindow(OpaqueGrafPtr*)' cannot have `const' method 
   qualifier
../../../../bzflag/src/platform/MacOSX/MacDisplay.h: In function `void 
   setWindow(OpaqueGrafPtr*)':
../../../../bzflag/src/platform/MacOSX/MacDisplay.h:35: error: `window' 
   undeclared (first use this function)
../../../../bzflag/src/platform/MacOSX/MacDisplay.h: At global scope:
../../../../bzflag/src/platform/MacOSX/MacDisplay.h:38: error: `CGLContextObj' 
   was not declared in this scope
../../../../bzflag/src/platform/MacOSX/MacDisplay.h:38: error: parse error 
   before `)' token
../../../../bzflag/src/platform/MacOSX/MacDisplay.h:38: error: non-member 
   function `void setContext(...)' cannot have `const' method qualifier
../../../../bzflag/src/platform/MacOSX/MacDisplay.h: In function `void 
   setContext(...)':
../../../../bzflag/src/platform/MacOSX/MacDisplay.h:38: error: `context' 
   undeclared (first use this function)
../../../../bzflag/src/platform/MacOSX/MacDisplay.h:38: error: `ctx' undeclared 
   (first use this function)
../../../../bzflag/src/platform/MacOSX/MacDisplay.h: At global scope:
../../../../bzflag/src/platform/MacOSX/MacDisplay.h:40: error: parse error 
   before `private'
../../../../bzflag/src/platform/MacOSX/MacDisplay.h:44: error: `BzfKeyEvent' 
   was not declared in this scope
../../../../bzflag/src/platform/MacOSX/MacDisplay.h:44: error: `bzf_event' was 
   not declared in this scope
../../../../bzflag/src/platform/MacOSX/MacDisplay.h:44: error: parse error 
   before `,' token
../../../../bzflag/src/platform/MacOSX/MacDisplay.h:44: error: non-member 
   function `void getKey(...)' cannot have `const' method qualifier
../../../../bzflag/src/platform/MacOSX/MacDisplay.h:51: error: `bool is_valid' 
   used prior to declaration
../../../../bzflag/src/platform/MacOSX/MacDisplay.h:55: error: syntax error 
   before `;' token
../../../../bzflag/src/platform/MacOSX/MacDisplay.h:56: error: `
   OpaqueGrafPtr*window' used prior to declaration
../../../../bzflag/src/platform/MacOSX/MacDisplay.h:61: error: parse error 
   before `}' token
In file included from ../../../../bzflag/src/platform/MacOSX/MacPlatformFactory.cxx:20:
../../../../bzflag/src/platform/MacOSX/MacVisual.h:20:19: bzfgl.h: No such file or directory
../../../../bzflag/src/platform/MacOSX/MacVisual.h:21:23: BzfVisual.h: No such file or directory
In file included from ../../../../bzflag/src/platform/MacOSX/MacPlatformFactory.cxx:20:
../../../../bzflag/src/platform/MacOSX/MacVisual.h:30: error: parse error 
   before `{' token
../../../../bzflag/src/platform/MacOSX/MacVisual.h:48: error: non-member 
   function `__AGLPixelFormatRec* get()' cannot have `const' method qualifier
../../../../bzflag/src/platform/MacOSX/MacVisual.h: In function `
   __AGLPixelFormatRec* get()':
../../../../bzflag/src/platform/MacOSX/MacVisual.h:48: error: `pixel_format' 
   undeclared (first use this function)
../../../../bzflag/src/platform/MacOSX/MacVisual.h: In function `void reset()':
../../../../bzflag/src/platform/MacOSX/MacVisual.h:50: error: `attributes' 
   undeclared (first use this function)
../../../../bzflag/src/platform/MacOSX/MacVisual.h: At global scope:
../../../../bzflag/src/platform/MacOSX/MacVisual.h:52: error: parse error 
   before `protected'
../../../../bzflag/src/platform/MacOSX/MacVisual.h:59: error: parse error 
   before `private'
../../../../bzflag/src/platform/MacOSX/MacVisual.h:63: error: `
   std::vector<GLint, std::allocator<GLint> > attributes' used prior to 
   declaration
../../../../bzflag/src/platform/MacOSX/MacVisual.h:64: error: `
   __AGLPixelFormatRec*pixel_format' used prior to declaration
../../../../bzflag/src/platform/MacOSX/MacVisual.h:65: error: parse error 
   before `}' token
In file included from ../../../../bzflag/src/platform/MacOSX/MacPlatformFactory.cxx:21:
../../../../bzflag/src/platform/MacOSX/MacWindow.h:6:19: bzfgl.h: No such file or directory
../../../../bzflag/src/platform/MacOSX/MacWindow.h:8:23: BzfWindow.h: No such file or directory
In file included from ../../../../bzflag/src/platform/MacOSX/MacPlatformFactory.cxx:21:
../../../../bzflag/src/platform/MacOSX/MacWindow.h:12: error: parse error 
   before `{' token
../../../../bzflag/src/platform/MacOSX/MacWindow.h:15: error: destructors must 
   be member functions
../../../../bzflag/src/platform/MacOSX/MacWindow.h:17: error: non-member 
   function `bool isValid()' cannot have `const' method qualifier
../../../../bzflag/src/platform/MacOSX/MacWindow.h:22: error: non-member 
   function `void getSize(int&, int&)' cannot have `const' method qualifier
../../../../bzflag/src/platform/MacOSX/MacWindow.h:31: error: non-member 
   function `void getMouse(int&, int&)' cannot have `const' method qualifier
../../../../bzflag/src/platform/MacOSX/MacWindow.h:38: error: non-member 
   function `float getGamma()' cannot have `const' method qualifier
../../../../bzflag/src/platform/MacOSX/MacWindow.h:39: error: non-member 
   function `bool hasGammaControl()' cannot have `const' method qualifier
../../../../bzflag/src/platform/MacOSX/MacWindow.h:46: error: parse error 
   before `private'
../../../../bzflag/src/platform/MacOSX/MacWindow.h:49: error: conflicting types 
   for `OpaqueWindowPtr*window'
../../../../bzflag/src/platform/MacOSX/MacDisplay.h:56: error: previous 
   declaration as `OpaqueGrafPtr*window'
../../../../bzflag/src/platform/MacOSX/MacWindow.h:50: error: 'CGLContextObj' 
   is used as a type, but is not defined as a type.
../../../../bzflag/src/platform/MacOSX/MacWindow.h:51: error: parse error 
   before `}' token
In file included from ../../../../bzflag/src/platform/MacOSX/MacPlatformFactory.cxx:22:
../../../../bzflag/src/platform/MacOSX/MacMedia.h:18:22: BzfMedia.h: No such file or directory
In file included from ../../../../bzflag/src/platform/MacOSX/MacPlatformFactory.cxx:22:
../../../../bzflag/src/platform/MacOSX/MacMedia.h:22: error: parse error before 
   `{' token
../../../../bzflag/src/platform/MacOSX/MacMedia.h:25: error: destructors must 
   be member functions
../../../../bzflag/src/platform/MacOSX/MacMedia.h:32: error: non-member 
   function `bool isAudioBrainDead()' cannot have `const' method qualifier
../../../../bzflag/src/platform/MacOSX/MacMedia.h:35: error: non-member 
   function `bool hasAudioThread()' cannot have `const' method qualifier
../../../../bzflag/src/platform/MacOSX/MacMedia.h:36: error: non-member 
   function `bool isAudioTooEmpty()' cannot have `const' method qualifier
../../../../bzflag/src/platform/MacOSX/MacMedia.h:42: error: non-member 
   function `int getAudioOutputRate()' cannot have `const' method qualifier
../../../../bzflag/src/platform/MacOSX/MacMedia.h:43: error: non-member 
   function `int getAudioBufferSize()' cannot have `const' method qualifier
../../../../bzflag/src/platform/MacOSX/MacMedia.h:44: error: non-member 
   function `int getAudioBufferChunkSize()' cannot have `const' method 
   qualifier
../../../../bzflag/src/platform/MacOSX/MacMedia.h:52: error: parse error before 
   `private'
../../../../bzflag/src/platform/MacOSX/MacMedia.h:70: error: parse error before 
   `}' token
../../../../bzflag/src/platform/MacOSX/MacPlatformFactory.cxx:25: error: syntax 
   error before `*' token
../../../../bzflag/src/platform/MacOSX/MacPlatformFactory.cxx:37: error: syntax 
   error before `*' token
../../../../bzflag/src/platform/MacOSX/MacPlatformFactory.cxx:49: error: syntax 
   error before `*' token
../../../../bzflag/src/platform/MacOSX/MacPlatformFactory.cxx:60: error: syntax 
   error before `*' token
../../../../bzflag/src/platform/MacOSX/MacPlatformFactory.cxx:71: error: syntax 
   error before `*' token
../../../../bzflag/src/platform/MacOSX/MacPlatformFactory.cxx:88: error: invalid
   use of undefined type `class MacPlatformFactory'
../../../../bzflag/src/platform/MacOSX/MacPlatformFactory.h:22: error: forward 
   declaration of `class MacPlatformFactory'
../../../../bzflag/src/platform/MacOSX/MacPlatformFactory.cxx: In constructor `
   MacPlatformFactory::MacPlatformFactory()':
../../../../bzflag/src/platform/MacOSX/MacPlatformFactory.cxx:89: error: `
   display' undeclared (first use this function)
../../../../bzflag/src/platform/MacOSX/MacPlatformFactory.cxx:90: error: `
   visual' undeclared (first use this function)
../../../../bzflag/src/platform/MacOSX/MacPlatformFactory.cxx:92: error: `media
   ' undeclared (first use this function)
../../../../bzflag/src/platform/MacOSX/MacPlatformFactory.cxx: At global scope:
../../../../bzflag/src/platform/MacOSX/MacPlatformFactory.cxx:95: error: invalid
   use of undefined type `class MacPlatformFactory'
../../../../bzflag/src/platform/MacOSX/MacPlatformFactory.h:22: error: forward 
   declaration of `class MacPlatformFactory'
../../../../bzflag/src/platform/MacOSX/MacDisplay.h:53: warning: `bool pending' 
   defined but not used
make[4]: *** [MacPlatformFactory.o] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
That's not from the beginning, just about halfway.

User avatar
Scorch
Private First Class
Private First Class
Posts: 747
Joined: Thu Sep 30, 2004 12:16 am
Contact:

Post by Scorch » Thu Jan 06, 2005 3:12 pm

Told you pl!

User avatar
chandler583
Private First Class
Private First Class
Posts: 33
Joined: Fri Jan 07, 2005 12:01 am
Location: Brenham
Contact:

Post by chandler583 » Fri Jan 07, 2005 12:47 am

Ryan, just let the ppl that usually build the new beta version :roll:
Reality is nice place to visit, but i wouldn't want to live there. :)

User avatar
Scorch
Private First Class
Private First Class
Posts: 747
Joined: Thu Sep 30, 2004 12:16 am
Contact:

Post by Scorch » Fri Jan 07, 2005 1:09 am

Chandler, thats what he just tried to do!

ryan42
Private First Class
Private First Class
Posts: 23
Joined: Sun Sep 12, 2004 2:28 am

Post by ryan42 » Fri Jan 07, 2005 10:05 pm

Chandler:
A) It is compiled or so it says. It just doesn't work. I didn't get any particular errors though. May be because I haven't cleaned the old builds outta the work dir. yet.
B) There ARE no people that usually build BZFlag Betas for Mac.
C) anyone willing to team up to do this?

User avatar
Freedom_fig
Private First Class
Private First Class
Posts: 72
Joined: Tue Aug 17, 2004 6:15 pm
Contact:

Post by Freedom_fig » Fri Jan 07, 2005 11:47 pm

i would (if i knew enough:( )

User avatar
learner
General
General
Posts: 270
Joined: Sun May 11, 2003 2:06 am
Location: Maryland
Contact:

Post by learner » Sat Jan 08, 2005 1:30 am

ryan42 wrote:Chandler:
A) It is compiled or so it says. It just doesn't work. I didn't get any particular errors though. May be because I haven't cleaned the old builds outta the work dir. yet.
B) There ARE no people that usually build BZFlag Betas for Mac.
C) anyone willing to team up to do this?
Sure there are people that build bzflag betas for mac. I rebuild almost every single day, usually many times a day. I just don't have time to package them up properly and haven't gotten around to scripting/automating the process yet for mass consumption.

p.s. as for your build error -- install sdl via fink and restart the build from scratch.

User avatar
JeffM
Staff Sergeant
Staff Sergeant
Posts: 5172
Joined: Fri Dec 13, 2002 4:11 am
Location: [Redacted]
Contact:

Post by JeffM » Sat Jan 08, 2005 2:33 am

The person who used to build mac beta's found that it realy wasn't worth the trouble to build them each time for what amounts to a bunch whining children.

You'll get a release build when it's done.

User avatar
Freedom_fig
Private First Class
Private First Class
Posts: 72
Joined: Tue Aug 17, 2004 6:15 pm
Contact:

Post by Freedom_fig » Sat Jan 08, 2005 2:51 am

i really don't care about waiting:P I just wish i could help:(

ryan42
Private First Class
Private First Class
Posts: 23
Joined: Sun Sep 12, 2004 2:28 am

Post by ryan42 » Sat Jan 08, 2005 8:02 pm

I have installed SDL from Fink, I even suggested other people do so in the third post on this topic.

Learner, what process do you use to build your copy?
I'm just doing a standard ./configure && make

User avatar
JeffM
Staff Sergeant
Staff Sergeant
Posts: 5172
Joined: Fri Dec 13, 2002 4:11 am
Location: [Redacted]
Contact:

Post by JeffM » Sat Jan 08, 2005 10:47 pm

that's all I do an it works just fine, as long as configure can FIND sdl. check the config output and make sure it is using SDL.

ryan42
Private First Class
Private First Class
Posts: 23
Joined: Sun Sep 12, 2004 2:28 am

Post by ryan42 » Sat Jan 08, 2005 11:49 pm

it says will compiel with
curses
SDL
and two otherthings IIRC
I wonder if it finds curses.

What are the config options.

ryan42
Private First Class
Private First Class
Posts: 23
Joined: Sun Sep 12, 2004 2:28 am

Post by ryan42 » Sun Jan 09, 2005 2:19 am

It is almost complete.

ryan42
Private First Class
Private First Class
Posts: 23
Joined: Sun Sep 12, 2004 2:28 am

Post by ryan42 » Sun Jan 09, 2005 2:40 am

Okay. I need two files.
OpenGLTexFont
and
Ray.cxx

They are not in the CVS apparantly.

User avatar
JeffM
Staff Sergeant
Staff Sergeant
Posts: 5172
Joined: Fri Dec 13, 2002 4:11 am
Location: [Redacted]
Contact:

Post by JeffM » Sun Jan 09, 2005 2:55 am

all files are in CVS. CVS is all that there is. There IS no other place to get files.

You may have just had a bad update.

ryan42
Private First Class
Private First Class
Posts: 23
Joined: Sun Sep 12, 2004 2:28 am

Post by ryan42 » Mon Jan 10, 2005 2:55 am

Ok, I redid the CVS.
I still do not have
OpenGLTexFont.cxx

User avatar
DTRemenak
General
General
Posts: 625
Joined: Thu Jan 16, 2003 4:54 am
Location: U.S.
Contact:

Post by DTRemenak » Mon Jan 10, 2005 2:58 am

It no longer exists, you should not need it.

It was functionally replaced by 3D/FontManager.cxx and 3D/TextureFont.cxx.

If something is trying to compile it, then something is wrong.

ryan42
Private First Class
Private First Class
Posts: 23
Joined: Sun Sep 12, 2004 2:28 am

Post by ryan42 » Fri Jan 14, 2005 12:33 am

Something is trying to compile it. The XCode project.

User avatar
roboguy
Private First Class
Private First Class
Posts: 6
Joined: Thu Sep 09, 2004 9:37 pm

Post by roboguy » Fri Jan 14, 2005 2:56 pm

Try just removing the file from the project(it will probably be in red, since it doesn't exist)

User avatar
DTRemenak
General
General
Posts: 625
Joined: Thu Jan 16, 2003 4:54 am
Location: U.S.
Contact:

Post by DTRemenak » Fri Jan 14, 2005 7:26 pm

The xcode project was unmaintained for a long time. It should be working now (fixed within the last day or so), although I'm not quite sure. Try cvs updating and see if you get some better results.

User avatar
tadd
Master Sergeant
Master Sergeant
Posts: 93
Joined: Sun Aug 22, 2004 2:25 pm
Location: Raleigh, NC
Contact:

status request

Post by tadd » Sun Jan 16, 2005 7:38 am

ryan42.. there are many silent Mac users who will love you for at least an hour if you can give us a recent build for macOS.
Thanks for all the hard work you've put in so far!!
Tadd
This is a block of text that can be added to posts you make. There is a 800 character limit

User avatar
Scorch
Private First Class
Private First Class
Posts: 747
Joined: Thu Sep 30, 2004 12:16 am
Contact:

Post by Scorch » Sun Jan 16, 2005 3:14 pm

haha tadd, yeah im one of them ;)

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests