-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
openCL FPGA SDK 17.1 De1SoC #19
Comments
@Shahnewaz-rvis Hi, late reply
|
Hi,
However, I solved the cross compiler using the following steps might be helpful for others, Solution regarding the compilation of HOST application for the board DE1SoC 2. Install SDL2 library on the cross compiler hg clone https://hg.libsdl.org/SDL SDL 3. Then compile the host application |
@Shahnewaz-rvis Hi,
So, you can check the YUV 422 format with your camera.(V4L2_PIX_FMT_YUYV — Packed format with ½ horizontal chroma resolution, also known as YUV 4:2:2) |
HI,
Thanks a lot |
Hi, @Shahnewaz-rvis
|
Hi, |
@Shahnewaz-rvis sorry, I don't know the resources. |
Hi,
I am trying to use OpenCL SDK 17.1 (Quartus Standard ) with De1SoC
I am having a couple of problems
OS Ubuntu
Intel SDK installation
Quartus Prime Lite 17.1
Intel FPGA SDK for OpenCL 17.1
SoC Embedded Design Suite (EDS)
I have installed all the necessary cross compiler using the command provided by your documents
sudo apt update
sudo apt install u-boot-tools gcc-arm-linux-gnueabihf g++-arm-linux-gnueabihf libncurses5-dev make lsb uml-utilities git
after issuing make host
make host
arm-linux-gnueabihf-g++ host/src/color.o host/src/video.o host/src/AOCL_Utils.o host/src/screen.o host/src/opt.o host/src/main.o -o bin/camera_sobel.run -L/intelFPGA/17.1/hld/board/terasic/de1soc/arm32/lib -L/intelFPGA/17.1/hld/host/arm32/lib -L/intelFPGA/17.1/hld/host/arm32/lib -Wl,--no-as-needed -lalteracl -lalterahalmmd -lalterammdpcie -lelf -lstdc++ -lSDL2
/usr/lib/gcc-cross/arm-linux-gnueabihf/5/../../../../arm-linux-gnueabihf/bin/ld: cannot find -lSDL2
collect2: error: ld returned 1 exit status
Makefile:115: recipe for target 'camera_sobel.run' failed
make: *** [camera_sobel.run] Error 1
I already have installed sudo apt-get install libglib2
the problem remains same
Running c5soc_opencl_lxde_all_in_one_180317.img on De1Soc.
After boot with de1soc (opecl rbf and dtd )
I executed sobel filter using RTE 17
Windows shows the picture
pressing + / - / = does not have any effect.
if I run my opencl application .aocx it says
libalterammd library missing
Could please help me to sort out these problems, specially I am interested to
run sobel using UVC camera using intel fpga sdk 17.1 on DE1SoC
Thanks a lot
The text was updated successfully, but these errors were encountered: