Author Topic: MacOSX build process broken due to SVN 5694 commit  (Read 6142 times)

0 Members and 1 Guest are viewing this topic.

Offline Tinman

  • 27
  • Released: WCS mini campaign
Re: MacOSX build process broken due to SVN 5694 commit
Gah... I am having a frustrating time trying to apply this patch file (last time I had to make the changes manually).
[...]
I've Google'd for newline and CRLF issues when using a Windows produced patch on OS X / Unix with no success with any of the suggested fixes, nor with --ignore-whitespaces or -Fn. Any help or suggestions?

I ran into the same problems on MacOS X for both patches.
I used my Win7 box with TortoiseSVN to merge the patch and copied both files gr...cpp/.h to my Mac.
(And also compiled it on Win7 VS2008Pro)

edit: files attached, HTH  :D

[attachment deleted by admin]

 

Offline Echelon9

  • 210
Re: MacOSX build process broken due to SVN 5694 commit
Thanks Tinman!

Update: Attached is a .patch file that is of Hery's most recent changes (December 19, 2009, 07:30:58 pm), in a format that will work on Mac OS X.

[attachment deleted by admin]
« Last Edit: December 19, 2009, 12:31:02 pm by Echelon9 »

 

Offline Echelon9

  • 210
Re: MacOSX build process broken due to SVN 5694 commit
Committed in r5727, at Hery's request.

 

Offline Tinman

  • 27
  • Released: WCS mini campaign
Re: MacOSX build process broken due to SVN 5694 commit
MacOS X compiling is broken due to TrackIR ->gTirDll_TrackIR stuff in freespace.c and lua.c and maybe somewhere else?
I think it needs to be in win32 only.

Maybe a SCP Mac developer can look into it.  :)

 
Re: MacOSX build process broken due to SVN 5694 commit
Need build log please.
STRONGTEA. Why can't the x86 be sane?

 

Offline Tinman

  • 27
  • Released: WCS mini campaign
Re: MacOSX build process broken due to SVN 5694 commit
Code: [Select]

Undefined symbols:
  "_gTirDll_TrackIR", referenced from:
      _gTirDll_TrackIR$non_lazy_ptr in freespace.o
ld: symbol(s) not found
collect2: ld returned 1 exit status

Undefined symbols:
  "_gTirDll_TrackIR", referenced from:
      _gTirDll_TrackIR$non_lazy_ptr in libcode.a(lua.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status


HTH

 

Offline Zacam

  • Magnificent Bastard
  • Administrator
  • 211
  • I go Sledge-O-Matic on Spammers
    • Minecraft
    • Steam
    • Twitter
    • ModDB Feature
Re: MacOSX build process broken due to SVN 5694 commit
I have absolutely no idea if this will help in the slightest, but here is an SVN .patch based off of nothing at all other than logical assumption:

(Apple-Click or Right-Click and Save-As)
http://zacam.ueuo.com/scp/Patches/TrackIR_xcode.patch
Report MediaVP issues, now on the MediaVP Mantis! Read all about it Here!
Talk with the community on Discord
"If you can keep a level head in all this confusion, you just don't understand the situation"

¤[D+¬>

[08/01 16:53:11] <sigtau> EveningTea: I have decided that I am a 32-bit registerkin.  Pronouns are eax, ebx, ecx, edx.
[08/01 16:53:31] <EveningTea> dhauidahh
[08/01 16:53:32] <EveningTea> sak
[08/01 16:53:40] * EveningTea froths at the mouth
[08/01 16:53:40] <sigtau> i broke him, boys

 

Offline Echelon9

  • 210
Re: MacOSX build process broken due to SVN 5694 commit
Revision 5789 build fine with Xcode 3.2.1

  

Offline chief1983

  • Still lacks a custom title
  • Moderator
  • 212
  • ⬇️⬆️⬅️⬅️🅰➡️⬇️
    • Minecraft
    • Skype
    • Steam
    • Twitter
    • Fate of the Galaxy
Re: MacOSX build process broken due to SVN 5694 commit
Yup fixed it last night with commit 5788.  Thought there were still some issues, so I updated SVN, reverted the xcodeproj to 5762, before any TrackIR stuff went in, then added and deleted the necessary files in Xcode.  It looked pretty clean compared to the 5762 version, so I committed over whatever was currently in SVN.  If there were any other xcodeproj changes made, which it did not seem they were, they may have been missed.  Pretty sure it was all related to TrackIR fixery though.
Fate of the Galaxy - Now Hiring!  Apply within | Diaspora | SCP Home | Collada Importer for PCS2
Karajorma's 'How to report bugs' | Mantis
#freespace | #scp-swc | #diaspora | #SCP | #hard-light on EsperNet

"You may not sell or otherwise commercially exploit the source or things you created based on the source." -- Excerpt from FSO license, for reference

Nuclear1:  Jesus Christ zack you're a little too hamyurger for HLP right now...
iamzack:  i dont have hamynerge i just want ptatoc hips D:
redsniper:  Platonic hips?!
iamzack:  lays