Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
mac os x port
09-28-2005, 08:06 PM,
#1
mac os x port
hello alli wanted to compile a macosx binary of vdrivft, expecting that it would be more or less straightforward, since it only depends on libraries that are available on macosx too (opengl, sdl, openal, etc.).first i had big troubles using ./configure, it did not find opengl or openal, even with some tweaking...finally gave up on the autotools route and i produced an xcode (the free mac-IDE) project. to get it to compile not many changes were needed, mainly replacing outdated (not defined) opengl *_EXT_* defines with their *_ARB_* counterparts. getting the executable to do something was a bit trickier, since vdrift has some c++ initializers call opengl functions, which lead to crashes, had to move those call to places that are called later...(when opengl is initialized). after these steps i finally had an executable that would allow me to start some race, just to soon after crash in some audio related code.... what lead me to abandon my effort (for now) was looking at some errors spit out in some file-loading code (.joe files or something like that) .... and realizing that the whole file would only work on little-endian machines, and i would have to add quite some bit of byte-swapping to make it work on big-endian...i guess it's also endian issues that led to the audio crash.so if you ever want a mac (ppc), linuxppc, or sparc port you should look into making your code endian independent...if these issues are taken care of it will be easy for me to produce a macosx binary, in case there is any interest.if none of you has any big-endian machines, you could use qemu with linuxppc to do some testing without spending money...
Reply


Messages In This Thread
mac os x port - by abs1nth - 09-28-2005, 08:06 PM
mac os x port - by thelusiv - 09-28-2005, 08:33 PM
mac os x port - by joevenzon_phpbb2_import3 - 09-28-2005, 09:15 PM
mac os x port - by thelusiv - 09-29-2005, 08:05 AM
mac os x port - by abs1nth - 09-29-2005, 09:25 AM
mac os x port - by joevenzon_phpbb2_import3 - 09-29-2005, 09:41 AM
mac os x port - by abs1nth - 09-29-2005, 09:44 AM
mac os x port - by joevenzon_phpbb2_import3 - 10-18-2005, 10:41 PM
mac os x port - by abs1nth - 10-19-2005, 06:47 AM
mac os x port - by thelusiv - 10-19-2005, 09:37 AM
mac os x port - by joevenzon_phpbb2_import3 - 10-19-2005, 09:45 AM
mac os x port - by joevenzon_phpbb2_import3 - 10-19-2005, 11:21 PM
mac os x port - by abs1nth - 10-20-2005, 12:11 PM
mac os x port - by thelusiv - 10-20-2005, 02:08 PM
mac os x port - by abs1nth - 10-20-2005, 02:40 PM
mac os x port - by thelusiv - 10-20-2005, 03:21 PM
mac os x port - by abs1nth - 10-20-2005, 04:24 PM
mac os x port - by abs1nth - 10-20-2005, 04:57 PM
mac os x port - by joevenzon_phpbb2_import3 - 10-20-2005, 08:33 PM
mac os x port - by joevenzon_phpbb2_import3 - 10-20-2005, 08:36 PM
mac os x port - by abs1nth - 10-20-2005, 09:05 PM
mac os x port - by joevenzon_phpbb2_import3 - 10-23-2005, 12:21 PM
mac os x port - by abs1nth - 10-23-2005, 05:24 PM
mac os x port - by abs1nth - 10-23-2005, 06:42 PM
mac os x port - by joevenzon_phpbb2_import3 - 10-24-2005, 09:52 PM
mac os x port - by thelusiv - 10-24-2005, 11:56 PM
mac os x port - by abs1nth - 10-28-2005, 05:09 PM
mac os x port - by thelusiv - 10-29-2005, 01:02 AM
mac os x port - by abs1nth - 11-04-2005, 02:18 PM
mac os x port - by abs1nth - 11-04-2005, 02:39 PM
mac os x port - by abs1nth - 11-04-2005, 02:41 PM
mac os x port - by abs1nth - 11-04-2005, 03:36 PM
mac os x port - by thelusiv - 11-04-2005, 04:08 PM
mac os x port - by abs1nth - 11-04-2005, 04:12 PM
mac os x port - by thelusiv - 11-05-2005, 01:57 AM
mac os x port - by abs1nth - 11-05-2005, 06:12 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)