Hello,
I've got another much simpler openGL program that I can compile an execute in Leopard.
In this program, there's a call to the glutDisplayFunc function.
If I remove that call, I got no window and traces shows the same error as in TuxRacer!
This call to glutDisplayFunc is present in several files of TR, but the including functions
are never called!
Maybe we must force such a call?
I cannot experiment this now, but I think it can be an interresting idea...
To be continued...
30 replies to this topic
#21
Posted 09 January 2008 - 06:31 AM
#22
Posted 09 January 2008 - 06:16 PM
YYYYYYEEEEESSSSSS!!!!!!!!!As I guessed, adding glutDisplayFunc( main_loop ); just before the call to winsys_process_events(); at the end of main.c, pops up the first window.... And everything's working!! You can race!If you run from XCode in normal mode, it's OK.If you run from XCode in debug mode, you won't see the mouse pointer unless you click on a XCode window (which is not easy when you can't see the pointer!)TuxRacer is back!Hello, In the previous message I told "everything's working"... I meant that I was able to play the game!I still have trouble with sound which doesn't work at all, and the image in fullscreen mode does not fit the screen and is stuck in the lower left corner... The project type chosen for XCode (Command line utility/Standard tool) does not produce an TUXR4.app but a normal executable file opening a shell at run time... I don't know how to build an app!I don't know either how to install the data directory that app...You see there still some work to do, but I probably won't have much time to do it!If you succeed in running TuxRacer using my file, if you have troubles, or if you solve the problems above, keep me informed, please!
#23
Posted 11 January 2008 - 01:59 AM
1) can you post (somewhere, maybe rapidshare?) the xcode project?
2) did you ever get an error related to varargs?
#24
Posted 12 January 2008 - 01:26 PM
Hello,
Here it is : I've built an archive that you can find here : http://antoine.sauta...fr/TUXR6.tar.gz
You suggested using rapidshare... I don't know how it works. Feel free to put my archive file in rapidshare if you can :
my internet provider will not be OK if there are too many downloads from my user space!
So as soon as you've put it in an accessible location, tell me I will remove the archive from my user space.
The archive contains source, XCode project and tuxracer data.
It produces a TUXR6.app which should be a usable application containing data.
(In XCode you compile as Debug first, ignore the error in script, then compile in Release... there should be no more error)
There is still no sound... I think SDL is needed for sound.
Fullscreen mode is still too small and not centered.
I got no errors about varargs!
Please tell me if you can compile and if it runs on your computer!
Here it is : I've built an archive that you can find here : http://antoine.sauta...fr/TUXR6.tar.gz
You suggested using rapidshare... I don't know how it works. Feel free to put my archive file in rapidshare if you can :
my internet provider will not be OK if there are too many downloads from my user space!
So as soon as you've put it in an accessible location, tell me I will remove the archive from my user space.
The archive contains source, XCode project and tuxracer data.
It produces a TUXR6.app which should be a usable application containing data.
(In XCode you compile as Debug first, ignore the error in script, then compile in Release... there should be no more error)
There is still no sound... I think SDL is needed for sound.
Fullscreen mode is still too small and not centered.
I got no errors about varargs!
Please tell me if you can compile and if it runs on your computer!
#25
Posted 13 January 2008 - 07:48 PM
hey when I clicked on that link I got a 404 document not found.
can you email it to me?
1plus2 equal3 [at] gmail [dot] com
can you email it to me?
1plus2 equal3 [at] gmail [dot] com
#26
Posted 13 January 2008 - 09:15 PM
Ooops!
The file name is right, but the link is false!
here is the true link : http://antoine.sauta...fr/TUXR6.tar.gz
The file name is right, but the link is false!
here is the true link : http://antoine.sauta...fr/TUXR6.tar.gz
#27
Posted 13 January 2008 - 10:24 PM
hey dou2, what OS are you on?
it sounds like you are on tiger. if you are, what version of xcode do you have?
it sounds like you are on tiger. if you are, what version of xcode do you have?
#28
Posted 14 January 2008 - 08:49 AM
Hello socal swimmer,
I do have Leopard! I think I use XCode 3.0, I'll check when back home...
why do you ask? Did you find references to Tiger in the XCode project?
I guess it's possible because I installed Leopard as an update on top of Tiger.
I do have Leopard! I think I use XCode 3.0, I'll check when back home...
why do you ask? Did you find references to Tiger in the XCode project?
I guess it's possible because I installed Leopard as an update on top of Tiger.
#29
Posted 14 January 2008 - 11:02 PM
ok. No, when looking through it it was definitely leopard oriented. Nothing relating to tiger.
I got it to compile, just like you said, and its great!
one thing, the camera is always facing forward. When you turn, the camera doesn't turn. I'm not sure why, but I will have to look through the code....
Also, I found out why you didn't get the varargs error. One of your source files was slightly different. Also, somehow you had different build options than the ones found in my project.
More to consider...
I got it to compile, just like you said, and its great!
one thing, the camera is always facing forward. When you turn, the camera doesn't turn. I'm not sure why, but I will have to look through the code....
Also, I found out why you didn't get the varargs error. One of your source files was slightly different. Also, somehow you had different build options than the ones found in my project.
More to consider...
#30
Posted 27 February 2008 - 07:29 PM
On official Extreme Tux racer site is a new build of tuxracer
Universal Binary Available NOW:
http://www.mediafire.com/?amisonbxzyg
Universal Binary Available NOW:
http://www.mediafire.com/?amisonbxzyg
#31
Posted 28 February 2008 - 02:43 AM
mattrb, on Feb 27 2008, 11:29 AM, said:
On official Extreme Tux racer site is a new build of tuxracer
Universal Binary Available NOW:
http://www.mediafire.com/?amisonbxzyg
Universal Binary Available NOW:
http://www.mediafire.com/?amisonbxzyg
YAY!!
thank you!
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users



Sign In
Create Account








