Code: Select all
mportC "libUniKey64.dylib"
UniKey_Find.l (*pHandle, *pSetting1, *pSetting2)
UniKey_User_Logon.l (*pHandle, *p1, *p2)
UniKey_User_Logoff.l (*phandle)
EndImport
;Definition In h.fileImport
UniKey_Find (@Handle, @p1, @g2)
Purebasic Linker error
Undefined symbols for architecture x86_64:
"_UniKey_Find", referenced from:
_main in purebasic.o
PStub_UniKey_Find in purebasic.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)