project-navigation
Personal tools

Author Topic: SVN 13899 on intel MacOS X  (Read 5243 times)

Offline proffles

  • Cannon Fodder
  • **
  • Posts: 3
    • View Profile
SVN 13899 on intel MacOS X
« on: January 14, 2008, 02:08:18 pm »
Hello,

Just tried compiling and running ufoai from svn (version 13899) on an intel based Mac, running OSX 10.5.

Initially had problems compiling src/common/md4.h and src/common/md4.c - I think this is a conflict with
the system defined uint32...  changing every "uint32" to "myuint32" in the two md4 files got passed this, but I don't know if it's a valid fix.  (Grepping the whole source found no other instances of uint32 in any other file (but plenty of uint32_t)

After making lang and maps as per the directions on the wiki, was not able to make a bundle...  Tried to just run it instead and found out the app would not take the keyboard focus - mouse seemed to work though.  This meant I couldn't get past the "intial setting" panel, since I could not enter a name.  Last bit of terminal output:

====== UFO Initialized ======

execing autoexec.cfg
"version" is "UFO: Alien Invasion 2.3-dev i386 Jan 14 2008 MacOSX DEBUG"
Switch grab input off
S_Music_Start: Could not load music: 'music/PsymongN3' ()
Save user settings to /Users/dave/.ufoai/2.3-dev/base/config.cfg
^CSave user settings to /Users/dave/.ufoai/2.3-dev/base/config.cfg
recursive shutdown

Any ideas?  (full log appended)

Proffles

---



[attachment deleted by admin]

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: SVN 13899 on intel MacOS X
« Reply #1 on: January 14, 2008, 03:24:20 pm »
maybe try to run in fullscreen mode - start ufo with parameter +set vid_fullscreen 1 or set this value in the config.cfg file in your userdata dir (named .ufoai/2.2/base/config.cfg)

i've tried to fix the uint32 stuff, feedback would be nice

Offline proffles

  • Cannon Fodder
  • **
  • Posts: 3
    • View Profile
Re: SVN 13899 on intel MacOS X
« Reply #2 on: January 15, 2008, 10:13:59 am »
The uint32 change compiles without problem on my intel OS X 10.5 mac.

Cheers.

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: SVN 13899 on intel MacOS X
« Reply #3 on: January 15, 2008, 11:35:47 am »
what is the problem when you try to build the bundle? any output?

Offline tchristney

  • Rookie
  • ***
  • Posts: 75
    • View Profile
Re: SVN 13899 on intel MacOS X
« Reply #4 on: January 20, 2008, 09:18:44 pm »
The bundle problem may be related to an issue I noticed that the make command creates some files in the UFO.app directory that should be directories, so the "cp" command fails. Simply delete those files and manually create them using "mkdir" and it should be fine after that. You should only have to do this once.

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: SVN 13899 on intel MacOS X
« Reply #5 on: January 21, 2008, 08:24:43 am »
can you maybe send a patch please?

Offline tchristney

  • Rookie
  • ***
  • Posts: 75
    • View Profile
Re: SVN 13899 on intel MacOS X
« Reply #6 on: January 21, 2008, 10:07:34 am »
OK, I've submitted a patch for this particular issue. I am working on a patch to macfixlibs.pl but I don't think it is quite ready.