yllan / JXLook

JPEG-XL viewer on macOS
MIT License
69 stars 7 forks source link

Can not build submodule jpeg-xl on project directories different to author's #13

Closed JLHwung closed 3 years ago

JLHwung commented 3 years ago

The jpeg-xl submodule has hardcoded SRCROOT in xcode/JPEGXL.xcodeproj/project.pbxproj, considere replace /Users/yllan/Projects/JXLook/jpeg-xl/ by \"$SRCROOT\" so it can be built on machines with a different directories.

However I can't build jpeg-xl even if I have replaced the SRCROOT:

make: *** /path/to/jpeg-xl/xcode/third_party/highway: No such file or directory.  Stop.
yllan commented 3 years ago

I give up the CMake generated xcodeproj, which is too buggy and has lots of hardcoded incorrect value. Now, I just build the static library and copy the result. I've add a script to do this.