nikkatsa7 / HOG_Zedboard

A real time Histogram of Oriented Gradients Implementation on FPGA
MIT License
30 stars 11 forks source link

one question for your help #3

Closed mingyuexin447 closed 5 years ago

mingyuexin447 commented 5 years ago

Hello, brother, I have been studying your project recently, but I have encountered some problems. (Note:my development environment is vivado2018+win10). When I use vivado HLS2018 to open C simulation project and compile the code, the compiler gives 1 error,the hog_csim.log shows that:

:\project\HOG_Zedboard-master\Hog_HLS\solution1\csim\build/../../../../src/c/main.cpp:87: undefined reference tocv::imread(std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, int)' E:\project\HOG_Zedboard-master\Hog_HLS\solution1\csim\build/../../../../src/c/main.cpp:88: undefined reference to `cv::imread(std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, int)' E:\project\HOG_Zedboard-master\Hog_HLS\solution1\csim\build/../../../../src/c/main.cpp:89: undefined reference to cv::imread(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)' E:\project\HOG_Zedboard-master\Hog_HLS\solution1\csim\build/../../../../src/c/main.cpp:120: undefined reference tocv::namedWindow(std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, int)' E:\project\HOG_Zedboard-master\Hog_HLS\solution1\csim\build/../../../../src/c/main.cpp:121: undefined reference to `cv::imshow(std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, cv::_InputArray const&)' E:\project\HOG_Zedboard-master\Hog_HLS\solution1\csim\build/../../../../src/c/main.cpp:122: undefined reference to cv::namedWindow(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)' E:\project\HOG_Zedboard-master\Hog_HLS\solution1\csim\build/../../../../src/c/main.cpp:123: undefined reference tocv::imshow(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, cv::_InputArray const&)' collect2.exe: error: ld returned 1 exit status make: *** [csim.exe] Error 1 ERR: [SIM 100] 'csim_design' failed: compilation error(s).`

So,what should i do? Re-establish the vivado development environment under the Linux system or ....