-
Notifications
You must be signed in to change notification settings - Fork 16
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
Compiling A Project That Uses Tao #9
Comments
It looks like not related with this Docker image but your dependency though. |
35c121e kind of relates to this issue. $ docker run --rm -it -v $PWD/tao/src/platform_impl/macos/carbon_hotkey/:/root/src \
joseluisq/rust-linux-darwin-builder:latest \
sh -c "x86_64-apple-darwin21.1-clang -mmacosx-version-min=10.12 carbon_hotkey_binding.c"
# Undefined symbols for architecture x86_64:
# "_GetApplicationEventTarget", referenced from:
# _install_event_handler in carbon_hotkey_binding-c35d9e.o
# _register_hotkey in carbon_hotkey_binding-c35d9e.o
# "_GetEventParameter", referenced from:
# _hotkey_handler in carbon_hotkey_binding-c35d9e.o
# "_InstallEventHandler", referenced from:
# _install_event_handler in carbon_hotkey_binding-c35d9e.o
# "_RegisterEventHotKey", referenced from:
# _register_hotkey in carbon_hotkey_binding-c35d9e.o
# "_RemoveEventHandler", referenced from:
# _uninstall_event_handler in carbon_hotkey_binding-c35d9e.o
# "_UnregisterEventHotKey", referenced from:
# _unregister_hotkey in carbon_hotkey_binding-c35d9e.o
# "_main", referenced from:
# implicit entry/start for main executable
# ld: symbol(s) not found for architecture x86_64
# clang: error: linker command failed with exit code 1 (use -v to see invocation) |
I just built an image with your latest Following that, I jumped into a container with this: I ran your command, I am confused, though, because here, you include your SDK package, which then ends up in This archive includes the Carbon framework, here:
I also installed
|
Here is something curious. I ran these two steps:
on a native macos machine, and it gave me the exact same errors. |
Maybe you could try to reach the Tao folk asking for some advice. |
@TheDarkula should we close this issue now that it seems was solved upstream? Isn't? |
I am trying to compile this.
Running this:
yields this error:
The relevant C files are here.
I also tried to build that file directly with
o64-clang carbon_hotkey_binding.c -o carbon_hotkey_binding.a -v
:Is there something really simple I am missing here?
The text was updated successfully, but these errors were encountered: