home home

downloads files

forum forum

docs docs

wiki wiki

faq faq

Cube & Cube 2 FORUM


Mac OS X instant quit out of sauer

by Der/Nalia on 10/01/2006 05:07, 64 messages, last message: 04/17/2007 12:04, 17424 views, last view: 05/18/2024 23:04

It seems that ever since one of the updates last week, the engine will not run on OS X. It will compile. The launcher will launch the engine, but it will only be on screen for less than a second, and then exit itsself, without warning. OS X doesn't even recognize it as an 'unexpected quit' or whatever. I was wondering if anyone else was hacing the same problem.

   Board Index    Go to next 20 messagesGo to last 20 messages

#1: ..

by Max of S2D [Fr] on 10/01/2006 07:32

Maybe an system(pause); or a getchar(); where forgotten somewhere ? :p

Mainloop not done ? dunno...

reply to this message

#2: Re: ..

by guest57 on 10/01/2006 14:59, refers to #1

Working here with todays latest CSV update. Please run /Aplications/Utilities/Console.log before running Sauerbraten and report back what console messages it generates along with your system specs - thank you.

reply to this message

#3: Re: ..

by Der/Nalia on 10/01/2006 15:34, refers to #2

init: sdl
init: enet
init: video: mode
init: video: misc
init: console
init: gl
Renderer: ATI Radeon X1600 OpenGL Engine (ATI Technologies Inc.)
Driver: 1.5 ATI-1.4.32
Using GL_ARB_vertex_buffer_object extension.
WARNING: Using floating point vertexes. (use "/floatvtx 0" to disable)
Rendering using the OpenGL 1.5 assembly shader path.
Using GL_ARB_occlusion_query extension.
Using GL_EXT_framebuffer_object extension.
Using GL_ARB_texture_rectangle extension.
WARNING: Non-power-of-two textures not supported!
init: world
ZeroLink: unknown symbol '__Z13g3d_windowhitbb'



My Specs: Amazingness

MacBook Pro 17"
OS X 10.4.7
2GB Ram
100GB HDD, 7200 RPM
2.16 Intel Core Duo
ATI Radeon x1600
1680x1050 res (Native)

reply to this message

#4: Re: ..

by guest57 on 10/01/2006 16:10, refers to #3

Turn off zerolink when you compile!!

reply to this message

#5: Re: ..

by guest57 on 10/01/2006 16:29, refers to #4

...and adding missing files into your project

reply to this message

#6: ..

by Der/Nalia on 10/01/2006 16:38

zerolink is off, i went to project->edit project settings, scrolled down to where it says zerolink, and it is unchecked.

and what do you mean missing files? xCode doesn't say there are any missing files. =/

reply to this message

#7: Re: ..

by guest57 on 10/01/2006 17:16, refers to #6

Well, console _is_ saying zerolink probs. So check again carefully for whatever config you're building for... use build info on target, etc...

Wonderful zerolink will hide the fact there are missing files/functions by assuming the app links to them later.

Recent files you'll need to add to the project include 3dgui.cpp/crypt.cpp/hash.h - may be others, I can't remember...

reply to this message

#8: ..

by absinth on 10/01/2006 18:53

i updated the xcode project files to include the files mentioned, everything should be fine now

reply to this message

#9: Re: ..

by Der/Nalia on 10/01/2006 20:26, refers to #8

Thank You, i'm very active with sauer, i'll post anything goofy with the Mac OS X version of sauer if anything comes up.

Thank You!

reply to this message

#10: compile errors

by Der/Nalia on 10/02/2006 04:53

Command /usr/bin/gcc-4.0 failed with exit code 1
[location: Tool:0]

i686-apple-darwin8-gcc-4.0.1: no input files

i686-apple-darwin8-gcc-4.0.1: warning: '-x c++' after last input file has no effect

i686-apple-darwin8-gcc-4.0.1: /Users/../engine/treeui.cpp: No such file or directory

reply to this message

#11: ..

by absinth on 10/02/2006 14:17

removing treeui.cpp from the xcode project file should fix that

reply to this message

#12: Compile Errors in menus.cpp

by Der/Nalia on 10/05/2006 16:32

this line errors twice

if(cgui && cgui->button(name, 0xFFFFFF, *icon ? icon : "sauer")&G3D_UP) s_strcpy(executelater, *action ? action : name);


I'm still very new to C++, so... just thought i'd post it here.

initializing argument 3 of 'virtual int g3d_gui::button(char*, int, char*)'

invalid conversion from 'const char*' to 'char'

reply to this message

#13: Re: Compile Errors in menus.cpp

by MeatROme on 10/05/2006 16:51, refers to #12

usage of CVS checked-out stuff is at your own risk - it's not a stable release ... for reasons like the one your experiencing right now.

reply to this message

#14: Re: Compile Errors in menus.cpp

by rpointon on 10/05/2006 16:53, refers to #12

alter line to: (char*)"sauer"

Meanwhile please find a good C/C++ book and take the time to read it, maybe there are forums somewhere for people learning C/C++...

reply to this message

#15: Re: Compile Errors in menus.cpp

by Der/Nalia on 10/05/2006 17:18, refers to #14

amazing... i will get a C++ book, on of y friends has one. ^_^

reply to this message

#16: Re: Compile Errors in menus.cpp

by rpointon on 10/05/2006 17:48, refers to #15

My appolgies - I tend to sound a little sarcastic... With more experience the debugging and C/C++ stuff will be much easier - and it's then easier for us to give feedback on the hard/fun stuff for you.

reply to this message

#17: free c/c++ books

by absinth on 10/05/2006 18:02

http://publications.gbdirect.co.uk/c_book/
http://en.wikibooks.org/wiki/C_Programming
http://www.computer-books.us/c.php
http://www.ibiblio.org/obp/thinkCS/cpp/english/
http://www.computer-books.us/cpp.php
http://mindview.net/Books/TICPP/ThinkingInCPP2e.html
http://www.relisoft.com/book/index.htm
http://en.wikibooks.org/wiki/C%2B%2B_Programming

have fun ;->

reply to this message

#18: Tools.h

by Der/Nalia on 11/02/2006 03:45

http://ed.faithnation.com/Picture1.png

reply to this message

#19: Re: Tools.h

by Der/Nalia on 11/02/2006 03:46, refers to #18

This one makes no sense to me, it works on windows, but not mac..

reply to this message

#20: Re: Tools.h

by pushplay on 11/02/2006 07:18, refers to #19

Cast the params to uints. The compiler should have figured out that's what you meant.

reply to this message

   Board Index    Go to next 20 messagesGo to last 20 messages


Unvalidated accounts can only reply to the 'Permanent Threads' section!


content by Aardappel & eihrul © 2001-2024
website by SleepwalkR © 2001-2024
54040148 visitors requested 71821191 pages
page created in 0.060 seconds using 9 queries
hosted by Boost Digital