It is currently Tue Aug 21, 2018 10:34 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Cannot compile on Mac
PostPosted: Mon Jul 10, 2017 8:38 pm 
Offline
User
User

Joined: Mon Dec 14, 2015 2:14 pm
Posts: 15
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?


Top
 Profile  
Reply with quote  
 Post subject: Re: Cannot compile on Mac
PostPosted: Tue Jul 11, 2017 7:03 am 
Offline
PureBasic Expert
PureBasic Expert

Joined: Sun Aug 08, 2004 5:21 am
Posts: 3234
Location: Netherlands
Does nothing compile or only specific code ?
For me 5.60 compiles fine on Sierra :?

_________________
MacOS 10.13 High Sierra, PB 5.62 x64


Top
 Profile  
Reply with quote  
 Post subject: Re: Cannot compile on Mac
PostPosted: Tue Jul 11, 2017 9:15 am 
Offline
User
User

Joined: Mon Dec 14, 2015 2:14 pm
Posts: 15
no basically simple stuff like opening an empty window will fail, nothing works.

the newest release of xcode is installed on sierra.

i have no idea what to do.


Top
 Profile  
Reply with quote  
 Post subject: Re: Cannot compile on Mac
PostPosted: Tue Jul 11, 2017 9:42 am 
Offline
PureBasic Expert
PureBasic Expert

Joined: Sun Aug 08, 2004 5:21 am
Posts: 3234
Location: Netherlands
I have no clue what could be causing it.
I'm using macOS Sierra 10.12.5 with XCode 8.3.3 .

Maybe Fred can investigate it.
It looks like both KLGetCurrentKeyboardLayout and KLGetKeyboardLayoutProperty are deprecated since OSX 10.5.

_________________
MacOS 10.13 High Sierra, PB 5.62 x64


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye