Open roshanaz opened 4 years ago
What OS? architecture? etc It looks like you are on a mac
Yes, it is mac.
what version of clang are you using?
try clang 4.0, that's what worked for me.
Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/4.2.1
Apple clang version 11.0.0 (clang-1100.0.33.17)
Target: x86_64-apple-darwin19.0.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
@Titaniumtown I did try with clang 4.0 but I get the same error. any idea?
huh, strange. I'll look into it.
I added #include <array>
to code and it passed that stage. now it is failing on Linking because of lpng
looks like it does not find libpng
(base) ➜ build git:(master) ✗ make
[ 17%] Built target align_and_merge.generator_library
[ 24%] Built target halide_library_runtime.generator_binary
[ 24%] Built target halide_rt_host_runtime_gen
[ 44%] Built target hdrplus_pipeline.generator_library
[ 51%] Built target hdrplus_pipeline.generator_binary
[ 55%] Built target hdrplus_pipeline_lib_gen
[ 58%] Linking CXX executable hdrplus
ld: library not found for -lpng
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [hdrplus] Error 1
make[1]: *** [CMakeFiles/hdrplus.dir/all] Error 2
make: *** [all] Error 2
install libpng
I did already using brew
huh
what version of macos are you on?
10.15.1
it is installed and linked
Warning: libpng 1.6.37 is already installed and up-to-date
To reinstall 1.6.37, run `brew reinstall libpng`
Warning: Already linked: /usr/local/Cellar/libpng/1.6.37
weird
I get the following error when trying to make hdr+. my cmake version is 3.17.2