davisking / dlib

A toolkit for making real world machine learning and data analysis applications in C++

Home Page:http://dlib.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cross compile loss png_do_expand_palette_rgb8_neon

fatalfeel opened this issue · comments

cross compile loss png_do_expand_palette_rgb8_neon

add palette_neon_intrinsics.c to ~/dlib/dlib/CMakeLists.txt will ok

////////////////////////////////////
/opt/ivot/arm-ca9-linux-gnueabihf-6.5/bin/arm-ca9-linux-gnueabihf-g++ -o nt98528_infer_object_detector nt98528_infer_object_detector.o -L/opt/nt98528/dlib/lib -L/opt/nt98528/opencv/lib -Wl,-rpath,. -lopencv_core -lopencv_highgui -lopencv_imgcodecs -lopencv_imgproc -lopencv_video -lopencv_videoio -ldlib -lpthread
/opt/ivot/arm-ca9-linux-gnueabihf-6.5/bin/../lib/gcc/arm-ca9-linux-gnueabihf/6.5.0/../../../../arm-ca9-linux-gnueabihf/bin/ld: /opt/nt98528/dlib/lib/libdlib.a(pngrtran.c.o): in function png_do_expand_palette': /root/image_sdk/dlib/dlib/external/libpng/pngrtran.c:4323: undefined reference to png_do_expand_palette_rgba8_neon'
Makefile:8: recipe for target 'nt98528_infer_object_detector' failed
/opt/ivot/arm-ca9-linux-gnueabihf-6.5/bin/../lib/gcc/arm-ca9-linux-gnueabihf/6.5.0/../../../../arm-ca9-linux-gnueabihf/bin/ld: /opt/nt98528/dlib/lib/libdlib.a(pngrtran.c.o): in function png_do_read_transformations': /root/image_sdk/dlib/dlib/external/libpng/pngrtran.c:4782: undefined reference to png_riffle_palette_neon'
/opt/ivot/arm-ca9-linux-gnueabihf-6.5/bin/../lib/gcc/arm-ca9-linux-gnueabihf/6.5.0/../../../../arm-ca9-linux-gnueabihf/bin/ld: /opt/nt98528/dlib/lib/libdlib.a(pngrtran.c.o): in function png_do_expand_palette': /root/image_sdk/dlib/dlib/external/libpng/pngrtran.c:4354: undefined reference to png_do_expand_palette_rgb8_neon'
collect2: error: ld returned 1 exit status
make: *** [nt98528_infer_object_detector] Error 1

Warning: this issue has been inactive for 35 days and will be automatically closed on 2022-06-07 if there is no further activity.

If you are waiting for a response but haven't received one it's possible your question is somehow inappropriate. E.g. it is off topic, you didn't follow the issue submission instructions, or your question is easily answerable by reading the FAQ, dlib's official compilation instructions, dlib's API documentation, or a Google search.

Warning: this issue has been inactive for 42 days and will be automatically closed on 2022-06-07 if there is no further activity.

If you are waiting for a response but haven't received one it's possible your question is somehow inappropriate. E.g. it is off topic, you didn't follow the issue submission instructions, or your question is easily answerable by reading the FAQ, dlib's official compilation instructions, dlib's API documentation, or a Google search.

Notice: this issue has been closed because it has been inactive for 45 days. You may reopen this issue if it has been closed in error.