Has anyone been able to successfully install OpenCV on the ZedBoard? I get an internal compiler error, which I believe has to do with the lack of a GPU. I've glanced briefly at the make file to try to figure out a way around this but so far no luck.
Has anyone been able to successfully install OpenCV on the ZedBoard? I get an internal compiler error, which I believe has to do with the lack of a GPU. I've glanced briefly at the make file to try to figure out a way around this but so far no luck.
If you don't want it to run as a standalone then try this. Firstly you need to cross compile the libraries using the arm-xilinx-linux-gcc which Xilinx provide. I would suggest compiling them as static unless you want to generate a new ramdisk image with enough space for the shared libraries. After that in SDK you can create a C Linux application but change the compiler and linker to g++ (rather than gcc) and add "-static -lstdc++" to the linker flags (again unless you want to change the ramdisk to include C++ libs). It will throw up a lot of unused function warnings, but you can turn those off and it works fine.
If you don't want it to run as a standalone then try this. Firstly you need to cross compile the libraries using the arm-xilinx-linux-gcc which Xilinx provide. I would suggest compiling them as static unless you want to generate a new ramdisk image with enough space for the shared libraries. After that in SDK you can create a C Linux application but change the compiler and linker to g++ (rather than gcc) and add "-static -lstdc++" to the linker flags (again unless you want to change the ramdisk to include C++ libs). It will throw up a lot of unused function warnings, but you can turn those off and it works fine.