Cannot compile on Mac
Posted: Mon Jul 10, 2017 8:38 pm
hi guys,
both mountain lion and macOS sierra.
on both i have pb5.60 in x86 and x64 releases. the x86 release compiles perfectly without any problems.
x64 cannot compile.
i get a linker error:
Undefined symbols for architecture x86_64:
"_KLGetCurrentKeyboardLayout", referenced from:
_EndIf1 in purebasic.o
PStub_KLGetCurrentKeyboardLayout in purebasic.o
"_KLGetKeyboardLayoutProperty", referenced from:
_EndIf1 in purebasic.o
PStub_KLGetKeyboardLayoutProperty in purebasic.o
...
clang: error: linker command failed with exit code 1
(use -v to see invocation)
has anyone an idea?
both mountain lion and macOS sierra.
on both i have pb5.60 in x86 and x64 releases. the x86 release compiles perfectly without any problems.
x64 cannot compile.
i get a linker error:
Undefined symbols for architecture x86_64:
"_KLGetCurrentKeyboardLayout", referenced from:
_EndIf1 in purebasic.o
PStub_KLGetCurrentKeyboardLayout in purebasic.o
"_KLGetKeyboardLayoutProperty", referenced from:
_EndIf1 in purebasic.o
PStub_KLGetKeyboardLayoutProperty in purebasic.o
...
clang: error: linker command failed with exit code 1
(use -v to see invocation)
has anyone an idea?