-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can not build it #5
Comments
Can you give more details on how you are building / what's your environment ? I am currently running MacOS 10.13.5 and XCode 9.4 with Go 1.10.2 and I don't get any error. |
|
Block_copy should be defined in /usr/include/Block.h, included in line 4. Do you have that file and it's there a definition of Block_copy. Something like: // Create a heap based copy of a Block or simply add a reference to an existing one. Do you have the XCode command line tools installed ? Try to follow the instructions here: |
Yes, I have installed Xcode command line tools. And my Block.h have Block_copy's define:
my gcc environment
|
I changed code from :
to next:
then it build ok. Just remove Block_copy's wrapped. |
But now when I run examples/basic/scanner/main.go, It will complained:
And it can not find any bluetooth devices that should be found. |
error info:
The text was updated successfully, but these errors were encountered: