Jump to content

UltraAppKit on M1


gothboiclique
 Share

Recommended Posts

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!

  • Like 1
Link to comment
Share on other sites

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.

Cyclone - Ultra Game System - Component PreprocessorTex2TGA - Darkness Awaits Template (Leadwerks)

If you like my work, consider supporting me on Patreon!

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...