Post

Replies

Boosts

Views

Activity

Reply to ld: symbol(s) not found for architecture arm64
I'm attempting to resolve the name of the current logged on user, or the last logged on user if there is no current logged on user. This data is only being collected for the purposes of reporting. It's an attempt to recreate logic running on a windows application that checks the attributes of the explorer.exe process to determine the user, and falls back on querying the wmi.
Jul ’24
Reply to ld: symbol(s) not found for architecture arm64
Also thank you Ed, the solution to my problem was to link the frameworks required in my CMake config as follows: find_library(SYSTEM_CONFIGURATION SystemConfiguration REQUIRED) find_library(CORE_FOUNDATION CoreFoundation REQUIRED) target_link_libraries(<target name> PRIVATE ${SYSTEM_CONFIGURATION} ${CORE_FOUNDATION})
Replies
Boosts
Views
Activity
Jul ’24
Reply to ld: symbol(s) not found for architecture arm64
I'm attempting to resolve the name of the current logged on user, or the last logged on user if there is no current logged on user. This data is only being collected for the purposes of reporting. It's an attempt to recreate logic running on a windows application that checks the attributes of the explorer.exe process to determine the user, and falls back on querying the wmi.
Replies
Boosts
Views
Activity
Jul ’24