Wrecked Games
September 10, 2010, 09:43:59 AM *
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: (Snow) leopard in 64-bit  (Read 442 times)
noobs
Newbie
*
Posts: 1


View Profile
« on: December 15, 2009, 05:27:11 PM »

Well i tried to compile OIS in snow leopard whit x86_64 architecture only to find thats it's impossible due to the lac of 64bit support in carbon.
Is there any plan on moving away from carbon to cocoa?

The errors where:
Code:
/ois/Mac/XCode-2.2/../../src/mac/MacInputManager.cpp:94:0 ois/Mac/XCode-2.2/../../src/mac/MacInputManager.cpp:94: error: 'ActiveNonFloatingWindow' was not declared in this scope

ois/Mac/XCode-2.2/../../src/mac/MacMouse.cpp:75:0 ois/Mac/XCode-2.2/../../src/mac/MacMouse.cpp:75: error: 'GetWindowBounds' was not declared in this scope

/ois/Mac/XCode-2.2/../../demos/OISConsole.cpp:295:0 /ois/Mac/XCode-2.2/../../demos/OISConsole.cpp:295: error: 'CreateNewWindow' was not declared in this scope

/ois/Mac/XCode-2.2/../../demos/OISConsole.cpp:298:0 /ois/Mac/XCode-2.2/../../demos/OISConsole.cpp:298: error: 'SetThemeWindowBackground' was not declared in this scope

/ois/Mac/XCode-2.2/../../demos/OISConsole.cpp:302:0 /ois/Mac/XCode-2.2/../../demos/OISConsole.cpp:302: error: 'SetWindowTitleWithCFString' was not declared in this scope

/ois/Mac/XCode-2.2/../../demos/OISConsole.cpp:305:0 /ois/Mac/XCode-2.2/../../demos/OISConsole.cpp:305: error: 'RepositionWindow' was not declared in this scope

/ois/Mac/XCode-2.2/../../demos/OISConsole.cpp:308:0 /ois/Mac/XCode-2.2/../../demos/OISConsole.cpp:308: error: 'GetWindowEventTarget' was not declared in this scope

/ois/Mac/XCode-2.2/../../demos/OISConsole.cpp:308:0 /ois/Mac/XCode-2.2/../../demos/OISConsole.cpp:308: error: 'InstallStandardEventHandler' was not declared in this scope

/ois/Mac/XCode-2.2/../../demos/OISConsole.cpp:316:0 /ois/Mac/XCode-2.2/../../demos/OISConsole.cpp:316: error: 'ShowWindow' was not declared in this scope

/ois/Mac/XCode-2.2/../../demos/OISConsole.cpp:317:0 /ois/Mac/XCode-2.2/../../demos/OISConsole.cpp:317: error: 'SelectWindow' was not declared in this scope

/ois/Mac/XCode-2.2/../../demos/OISConsole.cpp:320:0 /ois/Mac/XCode-2.2/../../demos/OISConsole.cpp:320: error: cast from 'OpaqueWindowPtr*' to 'unsigned int' loses precision
These appeared in several places, just took out all the unique ones.

There is a fix i didn't gett to work using HIToolbox:
HIWindowCreate (replaces CreateNewWindow, CreateCustomWindow)
HIWindowGetBounds (replaces GetWindowBounds)
Logged
pjcast
Administrator
Veteran
*****
Posts: 2547



View Profile WWW
« Reply #1 on: December 19, 2009, 09:03:32 AM »

Unfortunately, I don't have access to a 64 Bit OSX machine. Any patches are welcome that extend support.
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!