gothboiclique Posted September 2, 2021 Share Posted September 2, 2021 Hi, I'm not too familiar with C++ development but I recently purchased Ultra App Kit and installed it on my M1 MacBook. When attempting to build with cmake (using CLion), I get the following error: Undefined symbols for architecture arm64: "_CFArrayGetCount", referenced from: CocoaInterface_GetDisplayInfo(std::__1::vector<CocoaInterface_DisplayInfo, std::__1::allocator<CocoaInterface_DisplayInfo> >&) in libAppKit.a(CocoaInterface.o) ... ld: symbol(s) not found for architecture arm64 and more. I added the library like this: include_directories("/users/Jack/Library/Application Support/Steam/steamapps/common/Ultra App Kit/Include") target_link_libraries(GUI_Demo "/users/Jack/Library/Application Support/Steam/steamapps/common/Ultra App Kit/Library/MacOS/arm64/Debug/libAppKit.a") Any ideas? Thanks! 1 Quote Link to comment Share on other sites More sharing options...
reepblue Posted September 2, 2021 Share Posted September 2, 2021 Does a project generated by the project manager compile via the XCode project? You must be missing a macro or compile flag in your cmake file. I haven't done a test compile with my M1 so the only thing I can recommend is the project manager + XCode for now. Quote Cyclone - Ultra Game System - Component Preprocessor - Tex2TGA - Darkness Awaits Template (Leadwerks) If you like my work, consider supporting me on Patreon! Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.