UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Newbie dddppplll
Newbie
1,024 Views
Registered: ‎09-29-2018

SDAccel Examples

Jump to solution

How can I fixed this problem?

 

make -j8 incremental
/opt/Xilinx/SDx/2017.4/bin/xcpp -o "convolve1.exe" src/convolve.o src/xcl.o -lxilinxopencl -lpthread -lrt -lstdc++ -L/opt/Xilinx/SDx/2017.4/runtime/lib/x86_64 -lxilinxopencl -lpthread -lrt -lstdc++ -L/opt/Xilinx/SDx/2017.4/runtime/lib/x86_64
src/convolve.o: In function `cv::operator*=(cv::Mat const&, double)':
/opt/Xilinx/Vivado/2017.4/include/opencv2/core/mat.hpp:1518: undefined reference to `cv::_OutputArray::_OutputArray(cv::Mat&)'
/opt/Xilinx/Vivado/2017.4/include/opencv2/core/mat.hpp:1518: undefined reference to `cv::Mat::convertTo(cv::_OutputArray const&, int, double, double) const'
src/convolve.o: In function `cv::operator/=(cv::Mat const&, double)':
/opt/Xilinx/Vivado/2017.4/include/opencv2/core/mat.hpp:1557: undefined reference to `cv::_OutputArray::_OutputArray(cv::Mat&)'
/opt/Xilinx/Vivado/2017.4/include/opencv2/core/mat.hpp:1557: undefined reference to `cv::Mat::convertTo(cv::_OutputArray const&, int, double, double) const'
src/convolve.o: In function `main':
/home/dpl/workspace/convolve1/Emulation-SW/../src/convolve.cpp:163: undefined reference to `cv::_InputArray::_InputArray(cv::Mat const&)'
/home/dpl/workspace/convolve1/Emulation-SW/../src/convolve.cpp:163: undefined reference to `cv::imwrite(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, cv::_InputArray const&, std::vector<int, std::allocator<int> > const&)'
/home/dpl/workspace/convolve1/Emulation-SW/../src/convolve.cpp:164: undefined reference to `cv::_InputArray::_InputArray(cv::Mat const&)'
/home/dpl/workspace/convolve1/Emulation-SW/../src/convolve.cpp:164: undefined reference to `cv::imwrite(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, cv::_InputArray const&, std::vector<int, std::allocator<int> > const&)'
/home/dpl/workspace/convolve1/Emulation-SW/../src/convolve.cpp:165: undefined reference to `cv::_InputArray::_InputArray(cv::Mat const&)'
/home/dpl/workspace/convolve1/Emulation-SW/../src/convolve.cpp:165: undefined reference to `cv::imwrite(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, cv::_InputArray const&, std::vector<int, std::allocator<int> > const&)'
/home/dpl/workspace/convolve1/Emulation-SW/../src/convolve.cpp:172: undefined reference to `cv::_InputArray::_InputArray(cv::Mat const&)'
/home/dpl/workspace/convolve1/Emulation-SW/../src/convolve.cpp:172: undefined reference to `cv::imwrite(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, cv::_InputArray const&, std::vector<int, std::allocator<int> > const&)'
src/convolve.o: In function `cv::Mat::Mat(cv::Mat const&)':
/opt/Xilinx/Vivado/2017.4/include/opencv2/core/mat.hpp:125: undefined reference to `cv::Mat::copySize(cv::Mat const&)'
src/convolve.o: In function `cv::Mat::~Mat()':
/opt/Xilinx/Vivado/2017.4/include/opencv2/core/mat.hpp:278: undefined reference to `cv::fastFree(void*)'
src/convolve.o: In function `cv::Mat::create(int, int, int)':
/opt/Xilinx/Vivado/2017.4/include/opencv2/core/mat.hpp:353: undefined reference to `cv::Mat::create(int, int const*, int)'
src/convolve.o: In function `cv::Mat::release()':
/opt/Xilinx/Vivado/2017.4/include/opencv2/core/mat.hpp:367: undefined reference to `cv::Mat::deallocate()'
collect2: error: ld returned 1 exit status
make: *** [convolve1.exe] Error 1

0 Kudos
1 Solution

Accepted Solutions
Moderator
Moderator
884 Views
Registered: ‎11-04-2010

Re: SDAccel Examples

Jump to solution

Please check UG1238(v2017.4)and use the supported OS.

Linux Support:
Red Hat Enterprise Workstation/Server 7.2-7.3 (64-bit)
Red Hat Enterprise Workstation 6.9 (64-bit)
CentOS 6.9, CentOS 7.3 (64-bit) (SDAccel)
Ubuntu Linux 16.04.2 LTS (64-bit)

-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------

View solution in original post

0 Kudos
6 Replies
Moderator
Moderator
968 Views
Registered: ‎11-04-2010

Re: SDAccel Examples

Jump to solution

What's the operating system you are using?

What's the name of example design?

-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
Newbie dddppplll
Newbie
898 Views
Registered: ‎09-29-2018

Re: SDAccel Examples

Jump to solution

    My OS is centos 6.5 and the SDAccel's version is 2017.4

    The example name is convolve which is in SDAccel_Examples-master/vision

0 Kudos
Moderator
Moderator
885 Views
Registered: ‎11-04-2010

Re: SDAccel Examples

Jump to solution

Please check UG1238(v2017.4)and use the supported OS.

Linux Support:
Red Hat Enterprise Workstation/Server 7.2-7.3 (64-bit)
Red Hat Enterprise Workstation 6.9 (64-bit)
CentOS 6.9, CentOS 7.3 (64-bit) (SDAccel)
Ubuntu Linux 16.04.2 LTS (64-bit)

-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------

View solution in original post

0 Kudos
Newbie dddppplll
Newbie
865 Views
Registered: ‎09-29-2018

Re: SDAccel Examples

Jump to solution

Sorry, I checked my os version again. It is centos 6.10. Can it support SDAccel 2017.4?

 

0 Kudos
Moderator
Moderator
859 Views
Registered: ‎11-04-2010

Re: SDAccel Examples

Jump to solution

Currently Sdx software is OS sensitive, so only the mentioned OS in User Guide is supported. 

That means all the unmentioned OS is officially unsupported. I'm afraid you still need to change the OS first.

 

-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
Newbie dddppplll
Newbie
837 Views
Registered: ‎09-29-2018

Re: SDAccel Examples

Jump to solution

Thank you! I'll try the supported  os version.

0 Kudos