Closed SuhyeonHa closed 8 months ago
After changing this line
https://github.com/megvii-research/CADDM/blob/b3f761907ea773755d0a17fd88c5153516c6e156/lib/data_preprocess/utils/jpegpy/Makefile#L3
to
LDFLAGS = $(shell pkg-config --libs libjpeg) $(shell python3-config --ldflags) -fno-lto
it worked!
Hello, thanks for sharing your codes.
when I run
make
in CADDM/lib/data_preprocess/utils/jpegpy, It produces;lto1: internal compiler error: in lto_tag_to_tree_code, at lto-streamer.h:1005 Please submit a full bug report, with preprocessed source if appropriate. See file:///usr/share/doc/gcc-7/README.Bugs for instructions. lto-wrapper: fatal error: g++ returned 1 exit status compilation terminated. /usr/bin/ld: error: lto-wrapper failed collect2: error: ld returned 1 exit status Makefile:10: recipe for target '_jpegpy.so' failed make: *** [_jpegpy.so] Error 1
I checked other issues related to _jpegpy.so and tried all of them, but they did not work. Thank you in advance.