Skip to content
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

HwAcc/Intro: Vitis_Library source code not found during compilation #273

Open
AnusheelXilinx opened this issue Jul 11, 2022 · 1 comment
Assignees

Comments

@AnusheelXilinx
Copy link
Collaborator

https://github.com/Xilinx/Vitis-Tutorials/blob/2022.1/Hardware_Acceleration/Introduction/guided_sw_examples.md

The tutorial does not take care of Vitis_Libraries and the flow is failing with below error:
ERROR: [v++ 207-812] 'common/xf_common.hpp' file not found (/scratch/anusheel/Alveo_Intro/Vitis-Tutorials/Hardware_Acceleration/Introduction/design_source/hw_src/resize_rgb.cpp:32:10)
ERROR: [v++ 60-300] Failed to build kernel(ip) resize_accel_rgb, see log for details: /scratch/anusheel/Alveo_Intro/Vitis-Tutorials/Hardware_Acceleration/Introduction/design_source/hw_src/_x/resize_rgb/resize_accel_rgb/vitis_hls.log
ERROR: [v++ 60-773] In '/scratch/anusheel/Alveo_Intro/Vitis-Tutorials/Hardware_Acceleration/Introduction/design_source/hw_src/_x/resize_rgb/resize_accel_rgb/vitis_hls.log', caught Tcl error: ERROR: [HLS 207-812] 'common/xf_common.hpp' file

@imrickysu imrickysu changed the title Vitis_Library usage in tutorial is not taken care HwAcc/Intro: Vitis_Library usage in tutorial is not taken care Aug 1, 2022
@imrickysu imrickysu changed the title HwAcc/Intro: Vitis_Library usage in tutorial is not taken care HwAcc/Intro: Vitis_Library source code not found during compilation Aug 19, 2022
@imrickysu
Copy link
Contributor

We removed the Vitis_Libraries as submodule of the whole repo because only a small subset of the tutorials refer to Vitis-Libraries.
Each referring tutorials should take care of dependencies individually.
Please add dependency check and git clone accordingly in Makfile. Hardware_Acceleration/Introduction/design_source/hw_src/Makefile

Example:

CRTejaswi pushed a commit to CRTejaswi/amd-vitis that referenced this issue Oct 3, 2023
9fb2945 remove HOST_ARCH from docs (Xilinx#279)
8dc4ec3 Merge pull request Xilinx#278 from FaaSApps/cr_1135044_1
d440a75 fix description.json for cuboid_read_hls and cuboid_write_hls
17c5fb0 Merge pull request Xilinx#277 from FaaSApps/cr_1135044
d50704a remove unsupported properties
6b83ed6 Merge pull request Xilinx#276 from FaaSApps/fix_4d_2
96e8661 fix cosim error caused by stack size
ac90d72 Merge pull request Xilinx#275 from FaaSApps/fix_4d
b227e8a fix 4d datamover
cc84882 Clean unused files from docs in next branch (Xilinx#274)
be607f4 fix bug in doc -- remove build dir and update index.rst (Xilinx#273)
6161a00 add mem (Xilinx#272)
d8fa6fa build rst and html
79230a9 fix doc (Xilinx#271)
5a49d7f Merge pull request Xilinx#270 from tuol/2022.2_features
6a534d9 add datamover L1 tests
017c789 update doc in next branch for portal (Xilinx#269)
596d99d Merge pull request Xilinx#268 from liyuanz/next
91996c3 update
3371605 Merge pull request Xilinx#266 from changg/22.1_mks
8fc7d8a fix u280 case
9710bb4 22.2 update mk
1b0c33d change 2022.1_stable_latest to 2022.2_stable_latest
2301ab6 Merge pull request Xilinx#263 from tuol/fix_tutorial
b1b1c22 remove fix platform in tutorial
03797e0 Merge pull request Xilinx#262 from tuol/fix_ttl
38e737d fix ttl
472feb6 Merge pull request Xilinx#260 from tuol/fix_conf_py
0bfb2be update version in conf.py

Co-authored-by: sdausr <sdausr@xilinx.com>
CRTejaswi pushed a commit to CRTejaswi/amd-vitis that referenced this issue Oct 3, 2023
cd4e574 Merge pull request Xilinx#282 from yipengz/ffnext_mar_2nd
c79ded2 [PWM]_remove_suggest_ii_info_in_testcase
fc89db0 Merge branch 'next' of https://gitenterprise.xilinx.com/FaaSApps/xf_motorcontrol into ffnext_mar_2nd
1642c07 [PWM]_repair_stt_interfaces
e926dce Merge pull request Xilinx#281 from yipengz/ffnext_mar_2nd
900a943 Merge pull request Xilinx#280 from yuxiangz/remove_apnone
690221f Merge pull request Xilinx#279 from yunleiz/next
2701abe restore_ii_display
45bf22a [PWM]_remove_ap_none
49e178a [sereor] Make data width flexible
3f4e67f [PWM]_eliminate_ii_cond_config
8e86c56 remove ap_none from output register
298586f [sersor] apply theap_vld to output register of AXI-lite
026dd23 Merge pull request Xilinx#278 from congt/next
7066a1c Merge pull request Xilinx#277 from yipengz/ffnext_feb_28th
965fc10 [typo CR-11552221]fix typo
d8da8a5 [PWM]_pwm_freq_to_20k
97f1425 Merge pull request Xilinx#275 from yipengz/ffnext_feb_28th
47cd0c3 Merge pull request Xilinx#276 from yuxiangz/pragma
c049976 add pragma for qei_args
b4e2899 [PWM]_register ap_none, updated when ap_done
1605368 Merge pull request Xilinx#274 from congt/next
d21e0ca Merge pull request Xilinx#273 from yunleiz/next
0a1c4b7 [doc-tutorial]others png files in tutorial
30d04ea [doc-tutorial]three png files for legal
fcbae61 Merge branch 'next' of gitenterprise.xilinx.com:FaaSApps/xf_motorcontrol into next
05a4131 [sensor] register ap_none, updated when ap_done

Co-authored-by: sdausr <sdausr@xilinx.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants