Closed notshriram closed 1 year ago
Thanks for your report. I don't have M1 Mac. So can not find this problem. I will mention this in the READM file.
Append in commit RuiwenTang/Skity@b6cdb45
@RuiwenTang Thanks for that
I am also having another issue on the M1 Mac, when I try to use the library in my project's CMakeLists.txt using the method described in the readme
find_package(skity CONFIG REQUIRED)
target_link_library(${PROJECT_NAME} skity::skity)
CMake Error at CMakeLists.txt:10 (find_package):
Found package configuration file:
/opt/Skity/lib/cmake/skity/skityConfig.cmake
but it set skity_FOUND to FALSE so package "skity" is considered to be NOT
FOUND. Reason given by package:
The following imported targets are referenced, but are missing: png
Skity::turbojpeg
@RuiwenTang Thanks for that
I am also having another issue on the M1 Mac, when I try to use the library in my project's CMakeLists.txt using the method described in the readme
find_package(skity CONFIG REQUIRED) target_link_library(${PROJECT_NAME} skity::skity)
CMake Error at CMakeLists.txt:10 (find_package): Found package configuration file: /opt/Skity/lib/cmake/skity/skityConfig.cmake but it set skity_FOUND to FALSE so package "skity" is considered to be NOT FOUND. Reason given by package: The following imported targets are referenced, but are missing: png Skity::turbojpeg
May be this is caused by vcpkg configuration. But I don't have M1 Mac, can't reproduce this error. And hope someone can help me.
I'll create a separate issue for this
libpng wont build on macOS M1 unless the
-DPNG_ARM_NEON=on
flag is provided tocmake ..
(solution from https://github.com/isl-org/Open3D/issues/3955)Is this something that could be added to the README?