-
Notifications
You must be signed in to change notification settings - Fork 6
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
Warnings when compiling Python bindings on macOS + clang 12.0.0 #4
Comments
sorry for the late reply... I guess this is still an issue for you currently right? Probably not immediately something to worry about I would say. @whoenig is more acquinted with python binding though. |
Yes, it's still an issue with the latest
Furthermore, I needed to patch diff --git a/CMakeLists.txt b/CMakeLists.txt
index d2f972c..a543583 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -75,8 +75,8 @@ add_library(crazyflieLinkCpp
# Apple macOS libraries
if (APPLE)
- set(CMAKE_EXE_LINKER_FLAGS "-lobjc -framework IOKit -framework CoreFoundation")
- set(CMAKE_MODULE_LINKER_FLAGS "-lobjc -framework IOKit -framework CoreFoundation")
+ set(CMAKE_EXE_LINKER_FLAGS "-lobjc -framework IOKit -framework CoreFoundation -framework Security")
+ set(CMAKE_MODULE_LINKER_FLAGS "-lobjc -framework IOKit -framework CoreFoundation -framework Security")
endif()
# Link pthread on Linux and Mac only Required linker flags were taken from the
|
The original warnings are still there, but indeed they don't seem to cause any problems. |
I'm getting the following warnings while compiling the Python bindings on macOS:
The Python bindings seems to work fine, though, at least I could definitely run the console example without problems so I'm not sure this is something to worry about.
The text was updated successfully, but these errors were encountered: