Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > irrKlang
Trouble with running on mac

conqueran
Registered User
Quote
2023-09-15 01:19:44

So I loaded the Hello World example in XCode and it doesn't run. I get the error

"unable to find sdk '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk'"


When testing my current project with irrklang i get the message

Undefined symbol: irrklang::createIrrKlangDevice(irrklang::E_SOUND_OUTPUT_DRIVER, int, char const*, char const*)


I added the appropriate libirrklang.dylib to the project and this error still comes up. If I could get the sample project to run I might be able to figure out the error but as of now I'm not sure what to do.


erik
Registered User
Quote
2023-09-15 08:14:36

I think irrKlang works with that old macOS SDK. Not sure if apple still provides it.


conqueran
Registered User
Quote
2023-09-15 09:49:29

Got rid of one error in the included Hello World example by going to Build Settings and switching Base SDK in Architectures to macOS but I still get the same error as described previously.

Undefined symbol: irrklang::createIrrKlangDevice(irrklang::E_SOUND_OUTPUT_DRIVER, int, char const*, char const*)



erik
Registered User
Quote
2023-09-15 10:41:04

Maybe the architecture isn't correct? Try to build for x64 instead if you are building for arm64


conqueran
Registered User
Quote
2023-09-15 18:49:53

I have Standard Architectures selected and that's the only selectable option under Architectures in build settings


erik
Registered User
Quote
2023-09-16 06:35:39

Under build settings, you can set the setting "VALID_ARCHS" and only use x86_64, maybe it helps


conqueran
Registered User
Quote
2023-09-16 12:43:06

'Still the same error.. You can check the picture.

https://i.ibb.co/Qf39vqc/Screenshot-2023-09-16-at-6-40-37-AM.png

If anyone can post a working HelloWorld example on new macs I could probably figure out the rest.


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "Internati?nal" (you are not logged in)


Text:

 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


   






Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact