I was able to build on an M2 with OIDN:
-
installed oidn via homebrew
-
deleted thirdparty/oidn
-
changed CMakeLists.txt:
set(OIDN_LIBDIR /opt/homebrew/lib)
include_directories(/opt/homebrew/include)
deleted all the backslash junk starting with
foreach(f ${SRCS})
...
endforeach()
This isn't needed, and I think it contributed to lldb trouble loading the symbols
Commented out this, it isn't needed, and it looked like it was wiping out the debug flag -g
# SET(LINK_OPTIONS " ")
Originally posted by @tfiner in #87
I was able to build the project as well on a M3, macOS Sequoia, following the instructions of @tfiner. I got only a couple of warnings about third party deprecated elements, such as len = sprintf(buffer, "EXPOSURE= 1.0000000000000\n\n-Y %d +X %d\n", y, x);in stb_image_write.h and another warning in tiny_obj_loader.h.
Originally posted by @tfiner in #87
I was able to build the project as well on a M3, macOS Sequoia, following the instructions of @tfiner. I got only a couple of warnings about third party deprecated elements, such as
len = sprintf(buffer, "EXPOSURE= 1.0000000000000\n\n-Y %d +X %d\n", y, x);in stb_image_write.h and another warning in tiny_obj_loader.h.