Wrecked Games

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're just that awesome.

Author Topic: Xcode project fixes  (Read 692 times)

hostep

  • Newbie
  • *
  • Karma: +0/-0
  • Posts: 17
    • View Profile
    • Black Pillow
Xcode project fixes
« on: April 01, 2010, 06:27:41 AM »

Hi

I noticed you switched to svn, so I pulled the latest version from svn and tried building with the Xcode project file.
But there were some issues.

There was a problem with the path of the OISMultiTouch.h file.

And I use Snow Leopard, the default compiler of Xcode in Snow Leopard is GCC 4.2, which isn't compatible with the 10.4 SDK.
I manually had to change the compiler of all the projects to GCC 4.0 for it to work again.
I think this will still work in Tiger and Leopard, but you may need to test that.

I made a patch with the fixes:
http://pieterhoste.be/ois/patch2


It might also be a good idea to add some ignore properties, for example to the XCode-2.2 directory you can add "build", so the build directory is ignored by svn.
Also in the OIS.xcodeproj directory, you can add "*.pbxuser" and "*.mode1v3" to the ignore list.
Logged

pjcast

  • Administrator
  • Veteran
  • *****
  • Karma: +0/-0
  • Posts: 2653
    • View Profile
    • http://www.wreckedgames.com
Re: Xcode project fixes
« Reply #1 on: April 01, 2010, 05:42:35 PM »

Thanks for the feedback. Don't know how/why the path got messed up with xcode. Odd... though, I really do despise xcodes interface. I checked the gcc 4.0 and it doesn't seem to impact Leopard building. Svn updated.

Thanks
Logged

hostep

  • Newbie
  • *
  • Karma: +0/-0
  • Posts: 17
    • View Profile
    • Black Pillow
Re: Xcode project fixes
« Reply #2 on: April 02, 2010, 04:18:07 AM »

Great, thanks for submitting the changes!

Ow, another thing I just noticed, you might want to comment line 209 in MacKeyboard.cpp
std::cout << "String length: " << stringsize << std::endl;
as it generates quite some noise in the output.
Logged