Wrecked Games
September 05, 2010, 03:45:55 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: We're just that awesome.
 
   Home   Help Search Members Login Register  
Pages: [1]
  Print  
Author Topic: Xcode project fixes  (Read 159 times)
hostep
Newbie
*
Posts: 17


View Profile WWW
« 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
*****
Posts: 2544



View Profile WWW
« 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
*
Posts: 17


View Profile WWW
« 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
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!