-
Notifications
You must be signed in to change notification settings - Fork 79
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
Unable to create .pylib file with Mac Sonoma. #41
Comments
ChurikiTenna
changed the title
Unable to create .pylib file.
Unable to create .dylib file.
Mar 6, 2024
ChurikiTenna
changed the title
Unable to create .dylib file.
Unable to create .pylib file with Mac Sonoma.
Mar 6, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I want to compile the library into .dylib file in Mac.
However,
cmake --build .
fails with'png.h' file not found error.
libpng is already installed.
but the png.h location was not in the default /usr/local/include, so I added this to CMakeLists.txt
include_directories("/Library/Frameworks/Mono.framework/Versions/6.12.0/include")
Then, I tried
% cmake ../pHash
% cmake --build .
which produced this error:
then I tried to create phash.dylib from pHash.cpp like this.
% g++ -dynamiclib -o phash.dylib pHash.cpp
It fails with this error:
The text was updated successfully, but these errors were encountered: