Th3Ya0vi / vdrift-ogre

Automatically exported from code.google.com/p/vdrift-ogre
0 stars 0 forks source link

Mac OSX build #18

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Shouldnt be difficult, all the libraries and cmake are also for mac. Just need 
someone to actually try to build it and maybe fix cmake or other errors.

Original issue reported on code.google.com by scrawl...@gmail.com on 21 Mar 2011 at 8:22

GoogleCodeExporter commented 8 years ago
Someone actually having an Apple :)

Original comment by Cry...@gmail.com on 21 Mar 2011 at 8:25

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
When porting programs, some problems usually arise even if the libraries are 
cross-platform and application compiles. Disregarding that, I think the biggest 
task here is to create a bundle (Mac equivalent of Windows installers or Linux 
.deb/.rpm packages) that includes all the needed libraries in a proper way.

But yeah, we would first need to find the person to do the job.

Original comment by tapiovie...@gmail.com on 22 Mar 2011 at 2:56

GoogleCodeExporter commented 8 years ago
Hi
I have been trying build the latest git of Stuntrally on Mac for the last few 
days. So far I have got all the dependencies built (MyGUI was a bit of a 
struggle, so just the main executable now. Two compiling errors so far:

/Users/timothyfurlong/Documents/StuntRally/stuntrally/source/ogre/QTimer.cpp:20:
16: error: use of undeclared identifier 'CLOCK_MONOTONIC' [3]
         clock_gettime(CLOCK_MONOTONIC, &startTime);
                       ^
/Users/timothyfurlong/Documents/StuntRally/stuntrally/source/ogre/QTimer.cpp:55:
16: error: use of undeclared identifier 'CLOCK_MONOTONIC' [3]
         clock_gettime(CLOCK_MONOTONIC, &newt);

clock_gettime is seemingly not implement on mac. Also:

/Users/timothyfurlong/Documents/StuntRally/stuntrally/source/ogre/common/Materia
lFactory.cpp:37:63:{37:29-37:63}: error: no member named 'ms_Singleton' in 
'Ogre::Singleton<MaterialFactory>' [3]
 template<> MaterialFactory* Ogre::Singleton<MaterialFactory>::ms_Singleton = 0; 

A couple of disclaimers - I am not a programmer but can find my way around 
xcode, so I will probably need quite a bit of help. Finally I have no idea if 
I'll get anything remotely releasable at the end of this, but I like a 
challenge!

Original comment by timothyf...@gmail.com on 27 Nov 2011 at 10:56

GoogleCodeExporter commented 8 years ago
Hello,
Great to see you trying!
Regarding clock_gettime(), you should probably look up gettimeofday() and use 
that (it's less precise, but should suffice). I could implement that myself in 
the coming days if you find it hard.

Also, if you use IRC, it would be great if you could hang around our IRC 
channel, #stuntrally in the freenode network for some real time discussion 
(provided our time zones are not too different :) )

Original comment by tapiovie...@gmail.com on 28 Nov 2011 at 12:03

GoogleCodeExporter commented 8 years ago
Hi! For the second error, I just made a change in git, hope that it's fixed now 
:)

Original comment by scrawl...@gmail.com on 28 Nov 2011 at 12:36

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
It's been too long. Closing. Also I'm not interested in Mac's at all, would 
recommend using Linux anyway.

Original comment by Cry...@gmail.com on 20 Nov 2012 at 5:11