Xilinx / Vitis_Accel_Examples

Vitis_Accel_Examples
http://xilinx.github.io/Vitis_Accel_Examples/
MIT License
506 stars 214 forks source link

v++: Command not found #47

Closed pyhundan closed 3 years ago

pyhundan commented 3 years ago

Hi, When I want to make the hello_world example, I get these tips g++ -o hello_world /home/fpgauser/fpga_code/Vitis_Accel_Examples-master/common/includes/xcl2/xcl2.cpp src/host.cpp -I/opt/xilinx/xrt/include -I/include -Wall -O0 -g -std=c++1y -I/home/fpgauser/fpga_code/Vitis_Accel_Examples-master/common/includes/xcl2 -fmessage-length=0 -L/opt/xilinx/xrt/lib -lOpenCL -pthread -lrt -lstdc++

mkdir -p ./_x.sw_emu.xilinx_u200_xdma_201830_2

v++ -t sw_emu --platform xilinx_u200_xdma_201830_2 --save-temps -g -c -k vadd --temp_dir ./_x.sw_emu.xilinx_u200_xdma_201830_2 -I'src' -o'_x.sw_emu.xilinx_u200_xdma_201830_2/vadd.xo' 'src/vadd.cpp'

make: v++: Command not found

Makefile:135: recipe for target '_x.sw_emu.xilinx_u200_xdma_201830_2/vadd.xo' failed

make: *** [_x.sw_emu.xilinx_u200_xdma_201830_2/vadd.xo] Error 127

My GCC version is GCC version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.12) Is V++ error due to my GCC version problem? If so, what is the minimum version of GCC?

pyhundan commented 3 years ago

My env path not set well, closed the issue