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

error with xfopencv #87

Open
meghuiyer opened this issue Sep 9, 2020 · 0 comments
Open

error with xfopencv #87

meghuiyer opened this issue Sep 9, 2020 · 0 comments

Comments

@meghuiyer
Copy link

make all
make --no-print-directory pre-build
sdsoc_make_clean Release
rm: cannot remove 'src/xf_otsuthreshold.o': No such file or directory

make --no-print-directory main-build
Building target: test.elf
Invoking: SDS++ Linker
sds++ -L/usr/local/include/opencv4/opencv2 -L/tools/Xilinx/SDx/2019.1/xfopencv/include -sdcard ../src/data --remote_ip_cache /tools/Xilinx/Workspace/ip_cache -o "test.elf" ./src/xf_otsuthreshold_accel.o ./src/xf_otsuthreshold_tb.o -lopencv_core -lopencv_imgproc -lopencv_imgcodecs -lopencv_features2d -lopencv_calib3d -lopencv_flann -lopencv_video -lopencv_videoio -dmclkid 2 -sds-sys-config linux -sds-proc linux -sds-pf "zed"
Removing implementation files from previous run
Analyzing object files
... /tools/Xilinx/Workspace/test/Release/src/xf_otsuthreshold_accel.o
... /tools/Xilinx/Workspace/test/Release/src/xf_otsuthreshold_tb.o
Generating data motion network
INFO: [DMAnalysis 83-4494] Analyzing hardware accelerators...
ERROR: [DMAnalysis 83-4432] An unsupported inferred interface type (ap_memory) was detected
for the port imgInput_data_V_q0 (name maybe encoded) of accelerator otsuthreshold_accel. Near /tools/Xilinx/Workspace/test/src/xf_otsuthreshold_accel.cpp:34

[SUGGESTION]: Please check the argument declaration. For array, we recommend linearized array type
or pointer type enhanced with pragmas as needed. Please refer to documentation on Pragma SDS data.
Data motion generation exited with return code 1

  • errors detected
    sds++ log file saved as /tools/Xilinx/Workspace/test/Release/_sds/reports/sds.log
    ERROR: [SdsCompiler 83-5004] Build failed

makefile:47: recipe for target 'test.elf' failed
make[1]: *** [test.elf] Error 1
makefile:39: recipe for target 'all' failed
make: *** [all] Error 2

could you please let me know what is going wrong ? I referred to your
#20

and I also have w0_xf_OtsuThreshold2.tcl
set_directive_interface -mode ap_fifo "w0_xf_OtsuThreshold" _src_mat.data
set_directive_latency -min 1 w0_xf_OtsuThreshold

could you tell me where am I going wrong ??

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

1 participant