Skip to content

OSX Yosemtie #13

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
andymasteroffish opened this issue Jul 29, 2015 · 3 comments
Open

OSX Yosemtie #13

andymasteroffish opened this issue Jul 29, 2015 · 3 comments

Comments

@andymasteroffish
Copy link

I've loved using this addon in the past, but I can't get it to work with Yosemite.

I suspect the issue is that libOIS.a was not compiled for my system, but I'm not sure how to go about doing that or where to find a compiled version.

I grabbed the version over here (http://www.ogre3d.org/tikiwiki/tiki-index.php?page=Building+Ogre3D+1.9+Statically+in+Mac+OS+X+(Yosemite)) and replacing my libOIS.a with the one in that packet helped, but I still get errors, mostly about createInputSystems, but I can't track it down.

Here's what XCode had to say:
Undefined symbols for architecture x86_64:
"OIS::InputManager::createInputSystem(std::multimap<std::string, std::string, std::lessstd::string, std::allocator<std::pair<std::string const, std::string> > >&)", referenced from:
ofxGamepadHandler::updatePadList() in ofxGamepadHandler.o
"OIS::InputManager::createInputObject(OIS::Type, bool, std::string const&)", referenced from:
ofxGamepadHandler::updatePadList() in ofxGamepadHandler.o

If you know how to resolve this or have a version working in Yosemite, I would be extremely appreciative. Thanks.

@s373
Copy link

s373 commented Aug 21, 2015

ping. any hints what might be going on? i've compiled addon and example with no problems on linux, on osx fails to compile, also compiled libOIS with exact same errors as @andymasteroffish

Undefined symbols for architecture i386:
"OIS::InputManager::createInputSystem(std::multimap<std::string, std::string, std::lessstd::string, std::allocator<std::pair<std::string const, std::string> > >&)", referenced from:
ofxGamepadHandler::updatePadList() in ofxGamepadHandler.o
"OIS::InputManager::createInputObject(OIS::Type, bool, std::string const&)", referenced from:
ofxGamepadHandler::updatePadList() in ofxGamepadHandler.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)

@sgehly
Copy link

sgehly commented Dec 17, 2016

Did either of you ever figure this out? @s373 @andymasteroffish

 Undefined symbols for architecture x86_64:
 
 "OIS::InputManager::createInputObject(OIS::Type, bool, std::string const&)", referenced from:
      _main in main.o

  "OIS::InputManager::createInputSystem(unsigned long)", referenced from:
      _main in main.o

  "OIS::InputManager::destroyInputObject(OIS::Object*)", referenced from:
      _main in main.o

  "OIS::InputManager::destroyInputSystem(OIS::InputManager*)", referenced from:
      _main in main.o

ld: symbol(s) not found for architecture x86_64

clang: error: linker command failed with exit code 1 (use -v to see invocation)

@andymasteroffish
Copy link
Author

I never made any progress with it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants