doonny / PipeCNN

An OpenCL-based FPGA Accelerator for Convolutional Neural Networks
Apache License 2.0
1.26k stars 369 forks source link

problem with opencv-arm and converting image.jpg to image.dat #120

Open luisfelipemisil opened 5 years ago

luisfelipemisil commented 5 years ago

Sorry for my englisj, but I need help. I can't compile opencl with opencv using quartus 17.01 and Opencl SDK 17.01. Always I have the same problem "arm-linux-gnueabihf-g++ -L/usr/local/opencv-arm/lib -I/usr/local/opencv-arm/include/ ./host/main.o ../common/ocl_util.o ../common/timer.o -o run.exe -LC:\intelFPGA\17.1\hld\board\terasic\de10_nano\arm32\lib -LC:/intelFPGA/17.1/hld/host/arm32/lib -Wl,--no-as-needed -lalteracl -lalterammdpcie -lelf -lstdc++ -lopencv_core -lopencv_imgproc -lopencv_highgui -lopencv_ml c:/intelfpga/17.1/embedded/ds-5/sw/gcc/bin/../lib/gcc/arm-linux-gnueabihf/4.8.3/../../../../arm-linux-gnueabihf/bin/ld.exe: cannot find -lopencv_core c:/intelfpga/17.1/embedded/ds-5/sw/gcc/bin/../lib/gcc/arm-linux-gnueabihf/4.8.3/../../../../arm-linux-gnueabihf/bin/ld.exe: cannot find -lopencv_imgproc c:/intelfpga/17.1/embedded/ds-5/sw/gcc/bin/../lib/gcc/arm-linux-gnueabihf/4.8.3/../../../../arm-linux-gnueabihf/bin/ld.exe: cannot find -lopencv_highgui c:/intelfpga/17.1/embedded/ds-5/sw/gcc/bin/../lib/gcc/arm-linux-gnueabihf/4.8.3/../../../../arm-linux-gnueabihf/bin/ld.exe: cannot find -lopencv_ml collect2.exe: error: ld returned 1 exit status make: *** [run.exe] Error 1"

And I trying to make a convention using a image.jpg to image.dat, I read the main.cpp from the project path and write my own, but a have this erro: " Warning: image file size does not match user configuration !!!", can someone help me?