UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Observer emu
Observer
1,340 Views
Registered: ‎11-05-2013

revision 2018.2 zcu104-rv-ss-2018-2

Hi,

got my zcu104 board, downloaded the SDx 2018.2, got the zcu104-rv-ss-2018 files, and trying to compile the optical flow demo.

Fails pretty early (on Win10, in case it matters)

 

So, I guess I missed something ...

 

Any help?

 

Thanks in advance

 

--------------------------------------- cut ------------------------------------------------------

 

08:27:32 **** Build of configuration Release for project opticalflow ****
make pre-build main-build
sdsoc_make_clean Release
' '
'Building file: ../src/optical_flow_sds.cpp'
'Invoking: SDS++ Compiler'
sds++ -DPLATFORM_ZCU104 -DHLS_NO_XIL_FPO_LIB -DOF_PIX_PER_CLOCK=1 -Wall -O3 -I"../src" -IC:\tmp\zcu104-rv-ss-2018-2\zcu104_rv_ss/sw/a53_linux/a53_linux/inc/xfopencv -c -fmessage-length=0 -MT"src/optical_flow_sds.o" -Wno-overloaded-virtual -Wno-unused-label -Wno-strict-overflow -Wno-uninitialized -Wno-unused-function -Wno-unused-variable -Wno-unknown-attributes -Wno-unused-local-typedefs -Wno-sign-compare -hls-target 1 -MMD -MP -MF"src/optical_flow_sds.d" -MT"src/optical_flow_sds.o" -o "src/optical_flow_sds.o" "../src/optical_flow_sds.cpp" -sds-hw read_optflow_input optical_flow_sds.cpp  -clkid 2 -sds-end -sds-hw "xf::DenseNonPyrLKOpticalFlow<25,0,2160,3840,1>" optical_flow_sds.cpp  -files C:/tmp/zcu104-rv-ss-2018-2/zcu104_rv_ss/sw/a53_linux/a53_linux/inc/xfopencv/imgproc/xf_dense_npyr_optical_flow.hpp  -clkid 2 -sds-end -sds-hw write_optflow_output optical_flow_sds.cpp  -clkid 2 -sds-end -fPIC -sds-sys-config a53_linux -sds-proc a53_linux -sds-pf "C:\tmp\zcu104-rv-ss-2018-2\zcu104_rv_ss"
Processing -sds-hw block for read_optflow_input
Processing -sds-hw block for xf::DenseNonPyrLKOpticalFlow<25,0,2160,3840,1>
Processing -sds-hw block for write_optflow_output
Create data motion intermediate representation

D:\_home\SDx\opticalflow\Release>C:\Xilinx\SDx\2018.2\llvm-clang\win64\llvm\bin\clang.exe -I../src -IC:\tmp\zcu104-rv-ss-2018-2\zcu104_rv_ss/sw/a53_linux/a53_linux/inc/xfopencv -DPLATFORM_ZCU104 -DHLS_NO_XIL_FPO_LIB -DOF_PIX_PER_CLOCK=1 -Wall -fmessage-length=0 -Wno-overloaded-virtual -Wno-unused-label -Wno-strict-overflow -Wno-uninitialized -Wno-unused-function -Wno-unused-variable -Wno-unknown-attributes -Wno-unused-local-typedefs -Wno-sign-compare -MMD -MP -fPIC -D __SDSCC__ -target aarch64-linux-gnu -mcpu=cortex-a53 -O0 -g -I C:/tmp/zcu104-rv-ss-2018-2/zcu104_rv_ss/sw/a53_linux/a53_linux/inc/xfopencv -I C:/Xilinx/SDx/2018.2/target/aarch64-linux/include -D HLS_NO_XIL_FPO_LIB -I C:/Xilinx/Vivado/2018.2/include -IC:/Xilinx/SDK/2018.2/gnu/aarch64/nt/aarch64-linux/aarch64-linux-gnu/include/c++/7.2.1 -IC:/Xilinx/SDK/2018.2/gnu/aarch64/nt/aarch64-linux/aarch64-linux-gnu/include/c++/7.2.1/aarch64-linux-gnu -IC:/Xilinx/SDK/2018.2/gnu/aarch64/nt/aarch64-linux/aarch64-linux-gnu/include/c++/7.2.1/backward -IC:/Xilinx/SDK/2018.2/gnu/aarch64/nt/aarch64-linux/lib/gcc/aarch64-linux-gnu/7.2.1/include -IC:/Xilinx/SDK/2018.2/gnu/aarch64/nt/aarch64-linux/lib/gcc/aarch64-linux-gnu/7.2.1/include-fixed -IC:/Xilinx/SDK/2018.2/gnu/aarch64/nt/aarch64-linux/aarch64-linux-gnu/include -IC:/Xilinx/SDK/2018.2/gnu/aarch64/nt/aarch64-linux/aarch64-linux-gnu/libc/usr/include -std=c++11 -emit-llvm -S D:/_home/SDx/opticalflow/src/optical_flow_sds.cpp -o D:/_home/SDx/opticalflow/Release/_sds/.llvm/src/optical_flow_sds.s
C:/Xilinx/Vivado/2018.2/include/ap_int_special.h:99:1: warning: 'complex' defined as a struct template here but previously declared as a class template [-Wmismatched-tags]
struct complex<ap_int<_AP_W> > {
^
C:/Xilinx/Vivado/2018.2/include/ap_int_special.h:71:24: note: did you mean struct here?
template<typename _Tp> class complex;
                       ^~~~~
                       struct
C:/Xilinx/Vivado/2018.2/include/ap_fixed_special.h:99:1: warning: 'complex' defined as a struct template here but previously declared as a class template [-Wmismatched-tags]
struct complex<ap_fixed<_AP_W, _AP_I, _AP_Q, _AP_O, _AP_N> > {
^
C:/Xilinx/Vivado/2018.2/include/ap_fixed_special.h:71:24: note: did you mean struct here?
template<typename _Tp> class complex;
                       ^~~~~
                       struct
C:/Xilinx/Vivado/2018.2/include/ap_int_special.h:71:24: note: did you mean struct here?
template<typename _Tp> class complex;
                       ^~~~~
                       struct
C:\tmp\zcu104-rv-ss-2018-2\zcu104_rv_ss/sw/a53_linux/a53_linux/inc/xfopencv\imgproc/xf_dense_npyr_optical_flow.hpp:114:5: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
                  tmpData. data [1] = t >> 8;
                  ^              ~
C:\tmp\zcu104-rv-ss-2018-2\zcu104_rv_ss/sw/a53_linux/a53_linux/inc/xfopencv\imgproc/xf_dense_npyr_optical_flow.hpp:641:4: note: in instantiation of function template specialization 'xf::readMatRows16<2160, 3840, 1, 25>' requested here
          readMatRows16<ROWS, COLS, NPC, WINDOW_SIZE> (frame0, f0Stream, rows, cols, size);
          ^
C:\tmp\zcu104-rv-ss-2018-2\zcu104_rv_ss/sw/a53_linux/a53_linux/inc/xfopencv\imgproc/xf_dense_npyr_optical_flow.hpp:673:4: note: in instantiation of function template specialization 'xf::flowWrap16<2160, 3840, 1, 25>' requested here
          flowWrap16<ROWS, COLS, NPC, WINDOW_SIZE> (frame0, frame1, flowx, flowy, rows, cols, size);
          ^
C:\tmp\zcu104-rv-ss-2018-2\zcu104_rv_ss/sw/a53_linux/a53_linux/inc/xfopencv\imgproc/xf_dense_npyr_optical_flow.hpp:1098:3: note: in instantiation of function template specialization 'xf::fpga_optflow16<2160, 3840, 1, 25>' requested here
                fpga_optflow16 <ROWS, COLS, NPC, WINDOW_SIZE> ( (ap_uint<16> *) frame0.data, (ap_uint<16> *) frame1.data, (ap_uint<64> *)flowx.data, (ap_uint<64> *)flowy.data, frame0.rows, frame0.cols, frame0.size);
                ^
D:/_home/SDx/opticalflow/src/optical_flow_sds.cpp:275:6: note: in instantiation of function template specialization 'xf::DenseNonPyrLKOpticalFlow<25, 0, 2160, 3840, 1>' requested here
        xf::DenseNonPyrLKOpticalFlow<OF_WINDOW_SIZE, XF_8UC1, OF_HEIGHT, OF_WIDTH, OF_PIX_PER_CLOCK>(*ofd->luma_prev, *ofd->luma_curr, *ofd->flow_x, *ofd->flow_y);
            ^
C:\tmp\zcu104-rv-ss-2018-2\zcu104_rv_ss/sw/a53_linux/a53_linux/inc/xfopencv\imgproc/xf_dense_npyr_optical_flow_types.h:37:7: note: array 'data' declared here
      pix_t data [BYTES_PER_CYCLE];
      ^
C:\tmp\zcu104-rv-ss-2018-2\zcu104_rv_ss/sw/a53_linux/a53_linux/inc/xfopencv\imgproc/xf_dense_npyr_optical_flow.hpp:576:4: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
          tmpClr. data [1] = 0;
          ^             ~
C:\tmp\zcu104-rv-ss-2018-2\zcu104_rv_ss/sw/a53_linux/a53_linux/inc/xfopencv\imgproc/xf_dense_npyr_optical_flow.hpp:644:4: note: in instantiation of function template specialization 'xf::lbWrapper16<2160, 3840, 1, 25>' requested here
          lbWrapper16<ROWS, COLS, NPC, WINDOW_SIZE> (f0Stream, f1Stream, img1Col, img2Col, rows, cols, size);
          ^
C:\tmp\zcu104-rv-ss-2018-2\zcu104_rv_ss/sw/a53_linux/a53_linux/inc/xfopencv\imgproc/xf_dense_npyr_optical_flow.hpp:673:4: note: in instantiation of function template specialization 'xf::flowWrap16<2160, 3840, 1, 25>' requested here
          flowWrap16<ROWS, COLS, NPC, WINDOW_SIZE> (frame0, frame1, flowx, flowy, rows, cols, size);
          ^
C:\tmp\zcu104-rv-ss-2018-2\zcu104_rv_ss/sw/a53_linux/a53_linux/inc/xfopencv\imgproc/xf_dense_npyr_optical_flow.hpp:1098:3: note: in instantiation of function template specialization 'xf::fpga_optflow16<2160, 3840, 1, 25>' requested here
                fpga_optflow16 <ROWS, COLS, NPC, WINDOW_SIZE> ( (ap_uint<16> *) frame0.data, (ap_uint<16> *) frame1.data, (ap_uint<64> *)flowx.data, (ap_uint<64> *)flowy.data, frame0.rows, frame0.cols, frame0.size);
                ^
D:/_home/SDx/opticalflow/src/optical_flow_sds.cpp:275:6: note: in instantiation of function template specialization 'xf::DenseNonPyrLKOpticalFlow<25, 0, 2160, 3840, 1>' requested here
        xf::DenseNonPyrLKOpticalFlow<OF_WINDOW_SIZE, XF_8UC1, OF_HEIGHT, OF_WIDTH, OF_PIX_PER_CLOCK>(*ofd->luma_prev, *ofd->luma_curr, *ofd->flow_x, *ofd->flow_y);
            ^
C:\tmp\zcu104-rv-ss-2018-2\zcu104_rv_ss/sw/a53_linux/a53_linux/inc/xfopencv\imgproc/xf_dense_npyr_optical_flow_types.h:37:7: note: array 'data' declared here
      pix_t data [BYTES_PER_CYCLE];
      ^
C:\tmp\zcu104-rv-ss-2018-2\zcu104_rv_ss/sw/a53_linux/a53_linux/inc/xfopencv\imgproc/xf_dense_npyr_optical_flow.hpp:304:19: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
                        img1Col1[wr] = tmp1. data [1];
                                       ^           ~
C:\tmp\zcu104-rv-ss-2018-2\zcu104_rv_ss/sw/a53_linux/a53_linux/inc/xfopencv\imgproc/xf_dense_npyr_optical_flow.hpp:645:4: note: in instantiation of function template specialization 'xf::computeSums16<2160, 3840, 1, 25>' requested here
          computeSums16<ROWS, COLS, NPC, WINDOW_SIZE> (img1Col, img2Col,
          ^
C:\tmp\zcu104-rv-ss-2018-2\zcu104_rv_ss/sw/a53_linux/a53_linux/inc/xfopencv\imgproc/xf_dense_npyr_optical_flow.hpp:673:4: note: in instantiation of function template specialization 'xf::flowWrap16<2160, 3840, 1, 25>' requested here
          flowWrap16<ROWS, COLS, NPC, WINDOW_SIZE> (frame0, frame1, flowx, flowy, rows, cols, size);
          ^
C:\tmp\zcu104-rv-ss-2018-2\zcu104_rv_ss/sw/a53_linux/a53_linux/inc/xfopencv\imgproc/xf_dense_npyr_optical_flow.hpp:1098:3: note: in instantiation of function template specialization 'xf::fpga_optflow16<2160, 3840, 1, 25>' requested here
                fpga_optflow16 <ROWS, COLS, NPC, WINDOW_SIZE> ( (ap_uint<16> *) frame0.data, (ap_uint<16> *) frame1.data, (ap_uint<64> *)flowx.data, (ap_uint<64> *)flowy.data, frame0.rows, frame0.cols, frame0.size);
                ^
D:/_home/SDx/opticalflow/src/optical_flow_sds.cpp:275:6: note: in instantiation of function template specialization 'xf::DenseNonPyrLKOpticalFlow<25, 0, 2160, 3840, 1>' requested here
        xf::DenseNonPyrLKOpticalFlow<OF_WINDOW_SIZE, XF_8UC1, OF_HEIGHT, OF_WIDTH, OF_PIX_PER_CLOCK>(*ofd->luma_prev, *ofd->luma_curr, *ofd->flow_x, *ofd->flow_y);
            ^
C:\tmp\zcu104-rv-ss-2018-2\zcu104_rv_ss/sw/a53_linux/a53_linux/inc/xfopencv\imgproc/xf_dense_npyr_optical_flow_types.h:37:7: note: array 'data' declared here
      pix_t data [BYTES_PER_CYCLE];
      ^
C:\tmp\zcu104-rv-ss-2018-2\zcu104_rv_ss/sw/a53_linux/a53_linux/inc/xfopencv\imgproc/xf_dense_npyr_optical_flow.hpp:308:19: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
                        img2Col1[wr] = tmp2. data [1];
                                       ^           ~
C:\tmp\zcu104-rv-ss-2018-2\zcu104_rv_ss/sw/a53_linux/a53_linux/inc/xfopencv\imgproc/xf_dense_npyr_optical_flow_types.h:37:7: note: array 'data' declared here
      pix_t data [BYTES_PER_CYCLE];
      ^

D:\_home\SDx\opticalflow\Release>exit /b 0
Performing accelerator source linting for read_optflow_input
Performing accelerator source linting for w1_xf_DenseNonPyrLKOpticalFlow
Performing accelerator source linting for write_optflow_output
Performing pragma generation

D:\_home\SDx\opticalflow\Release>C:\Xilinx\SDx\2018.2\llvm-clang\win64\llvm\bin\clang.exe -E -ID:/_home/SDx/opticalflow/src -IC:/tmp/zcu104-rv-ss-2018-2/zcu104_rv_ss/sw/a53_linux/a53_linux/inc/xfopencv -DPLATFORM_ZCU104 -DHLS_NO_XIL_FPO_LIB -DOF_PIX_PER_CLOCK=1 -Wall -fmessage-length=0 -Wno-overloaded-virtual -Wno-unused-label -Wno-strict-overflow -Wno-uninitialized -Wno-unused-function -Wno-unused-variable -Wno-unknown-attributes -Wno-unused-local-typedefs -Wno-sign-compare -MMD -MP -fPIC -D __SDSCC__ -m64 -target aarch64-linux-gnu -I C:/tmp/zcu104-rv-ss-2018-2/zcu104_rv_ss/sw/a53_linux/a53_linux/inc/xfopencv -D HLS_NO_XIL_FPO_LIB -I C:/Xilinx/SDx/2018.2/target/aarch64-linux/include -IC:/Xilinx/SDK/2018.2/gnu/aarch64/nt/aarch64-linux/aarch64-linux-gnu/include/c++/7.2.1 -IC:/Xilinx/SDK/2018.2/gnu/aarch64/nt/aarch64-linux/aarch64-linux-gnu/include/c++/7.2.1/aarch64-linux-gnu -IC:/Xilinx/SDK/2018.2/gnu/aarch64/nt/aarch64-linux/aarch64-linux-gnu/include/c++/7.2.1/backward -IC:/Xilinx/SDK/2018.2/gnu/aarch64/nt/aarch64-linux/lib/gcc/aarch64-linux-gnu/7.2.1/include -IC:/Xilinx/SDK/2018.2/gnu/aarch64/nt/aarch64-linux/lib/gcc/aarch64-linux-gnu/7.2.1/include-fixed -IC:/Xilinx/SDK/2018.2/gnu/aarch64/nt/aarch64-linux/aarch64-linux-gnu/include -IC:/Xilinx/SDK/2018.2/gnu/aarch64/nt/aarch64-linux/aarch64-linux-gnu/libc/usr/include -ID:/_home/SDx/opticalflow/src -D __SDSVHLS__ -target aarch64-linux-gnu -mcpu=cortex-a53 -O0 -g -w -I C:/tmp/zcu104-rv-ss-2018-2/zcu104_rv_ss/sw/a53_linux/a53_linux/inc/xfopencv -I C:/Xilinx/SDx/2018.2/target/aarch64-linux/include -D HLS_NO_XIL_FPO_LIB -I C:/Xilinx/Vivado/2018.2/include -IC:/Xilinx/SDK/2018.2/gnu/aarch64/nt/aarch64-linux/aarch64-linux-gnu/include/c++/7.2.1 -IC:/Xilinx/SDK/2018.2/gnu/aarch64/nt/aarch64-linux/aarch64-linux-gnu/include/c++/7.2.1/aarch64-linux-gnu -IC:/Xilinx/SDK/2018.2/gnu/aarch64/nt/aarch64-linux/aarch64-linux-gnu/include/c++/7.2.1/backward -IC:/Xilinx/SDK/2018.2/gnu/aarch64/nt/aarch64-linux/lib/gcc/aarch64-linux-gnu/7.2.1/include -IC:/Xilinx/SDK/2018.2/gnu/aarch64/nt/aarch64-linux/lib/gcc/aarch64-linux-gnu/7.2.1/include-fixed -IC:/Xilinx/SDK/2018.2/gnu/aarch64/nt/aarch64-linux/aarch64-linux-gnu/include -IC:/Xilinx/SDK/2018.2/gnu/aarch64/nt/aarch64-linux/aarch64-linux-gnu/libc/usr/include -std=c++11 D:/_home/SDx/opticalflow/src/optical_flow_sds.cpp -o D:/_home/SDx/opticalflow/Release/_sds/vhls/optical_flow_sds_pp.cpp

D:\_home\SDx\opticalflow\Release>exit /b 0
INFO: [PragmaGen 83-3231] Successfully generated tcl script: D:/_home/SDx/opticalflow/Release/_sds/vhls/read_optflow_input.tcl
Moving function read_optflow_input to Programmable Logic
ERROR: [SdsCompiler 83-5031] Problem detected in Vivado HLS run - unable to find solution implementation directory for read_optflow_input D:/_home/SDx/opticalflow/Release/_sds/vhls/read_optflow_input/solution/impl/ip. For possible causes, review D:/_home/SDx/opticalflow/Release/_sds/vhls/read_optflow_input/solution/solution.log or D:/_home/SDx/opticalflow/Release/_sds/vhls/read_optflow_input_vivado_hls.log.
D:/_home/SDx/opticalflow/Release/_sds/vhls/read_optflow_input_vivado_hls.log (last 20 lines):
C:/tmp/zcu104-rv-ss-2018-2/zcu104_rv_ss/sw/a53_linux/a53_linux/inc/xfopencv\imgproc/xf_dense_npyr_optical_flow.hpp:635:19: error: calling a private constructor of class 'hls::stream<int>'
_ssdm_SpecStream( iyiy1, 0, 16, "");
                  ^
C:/Xilinx/Vivado/2018.2/common/technology/autopilot\hls_stream.h:91:43: note: declared private here
    inline __attribute__((always_inline)) stream(const stream< __STREAM_T__ >& chn):V(chn.V) {
                                          ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
Compilation of the preprocessed source 'optical_flow_sds' failed
    while executing
"source D:/_home/SDx/opticalflow/Release/_sds/vhls/read_optflow_input_run.tcl"
    invoked from within
"hls::main D:/_home/SDx/opticalflow/Release/_sds/vhls/read_optflow_input_run.tcl -l read_optflow_input_vivado_hls.log"
    ("uplevel" body line 1)
    invoked from within
"uplevel 1 hls::main {*}$args"
    (procedure "hls_proc" line 5)
    invoked from within
"hls_proc $argv"
INFO: [Common 17-206] Exiting vivado_hls at Sat Aug  4 08:28:27 2018...
sds++ log file saved as D:/_home/SDx/opticalflow/Release/_sds/reports/sds_optical_flow_sds.log
ERROR: [SdsCompiler 83-5004] Build failed

make: *** [src/optical_flow_sds.o] Error 1

08:28:28 Build Finished (took 55s.837ms)

0 Kudos
9 Replies
Visitor pauldirac
Visitor
1,308 Views
Registered: ‎05-21-2018

Re: revision 2018.2 zcu104-rv-ss-2018-2

hi emu, I don't know much about the tooling and flow on a Windows machine, but why did You use the special BSP in the first place ? With SDx2018.2 You get ZCU104 support right out of the box. 

0 Kudos
Observer emu
Observer
1,296 Views
Registered: ‎11-05-2013

Re: revision 2018.2 zcu104-rv-ss-2018-2

The documentation states explicitly to use the custom BSP ...

0 Kudos
Adventurer
Adventurer
1,267 Views
Registered: ‎04-24-2012

Re: revision 2018.2 zcu104-rv-ss-2018-2

Hi @emu

It could be because the provided reVISION BSP has been built in Linux, and since you are using Windows to re-run it, you may want to clean the project first.

It's what this error message is trying to tell us, I think:

ERROR: [SdsCompiler 83-5031] Problem detected in Vivado HLS run - unable to find solution implementation directory for read_optflow_input 

 

Also, you can try to open this function in Vivado HLS (from SDSoC you can click on the function from the acceleration function menu, and select "Open in Vivado HLS"). It should compile here and therefore cleaning the project to do the Windows build will do it.

 

@pauldirac, the reVISION BSP differs from the shipped ZCU104 BSP in the video subsystem. the shipped one have only the AXI coherence accelerators, whereas the reVISION one have also the HDMI/DP tx, and other HW IPs needed for embedded vision examples.

/* Don't forget to give kudos and/or accept as a solution */
0 Kudos
Xilinx Employee
Xilinx Employee
1,254 Views
Registered: ‎10-28-2013

Re: revision 2018.2 zcu104-rv-ss-2018-2

Hi @emu,

 

I can't tell from the log you posted, but is your SYSROOT environment path set? Also, can you upload a copy of the sds_optical_flow_sds.log? This will have a more detailed information on what caused HLS to fail.

 

Thanks

Steve

0 Kudos
Observer emu
Observer
1,250 Views
Registered: ‎11-05-2013

Re: revision 2018.2 zcu104-rv-ss-2018-2

Hello Steve, please find the sds_optical_flow_sds.log attached ...

0 Kudos
Observer emu
Observer
1,249 Views
Registered: ‎11-05-2013

Re: revision 2018.2 zcu104-rv-ss-2018-2

Hello Steve, yes SYSROOT is set:

 

SYSROOT=C:/tmp/zcu104-rv-ss-2018-2/petalinux/sdk/sysroots/aarch64-xilinx-linux

 

Thanks!

0 Kudos
Observer emu
Observer
1,224 Views
Registered: ‎11-05-2013

Re: revision 2018.2 zcu104-rv-ss-2018-2

Hello Diego73,

 

looks like that one was the right pointer!

 

After compiling/synthesis every hardware function in Vivado HLS first, it compiles to the end ...

 

Still have to try on real hardware, but it looks good!

 

Thanks!

 

0 Kudos
Observer emu
Observer
1,215 Views
Registered: ‎11-05-2013

Re: revision 2018.2 zcu104-rv-ss-2018-2

However, I'm stuck now compiling the gstdemo:

 

19:22:23 **** Incremental Build of configuration Debug for project gstdemo ****
make all
'Building file: ../main.c'
'Invoking: ARM A53 Linux gcc compiler'
aarch64-linux-gnu-gcc -Wall -O0 -g3 -IC:/tmp/zcu104-rv-ss-2018-2/petalinux/sdk/sysroots/aarch64-xilinx-linux/usr/include -IC:/tmp/zcu104-rv-ss-2018-2/petalinux/sdk/sysroots/aarch64-xilinx-linux/usr/include/glib-2.0 -IC:/tmp/zcu104-rv-ss-2018-2/petalinux/sdk/sysroots/aarch64-xilinx-linux/usr/lib/glib-2.0/include -IC:/tmp/zcu104-rv-ss-2018-2/petalinux/sdk/sysroots/aarch64-xilinx-linux/usr/include/gstreamer-1.0 -IC:/tmp/zcu104-rv-ss-2018-2/petalinux/sdk/sysroots/aarch64-xilinx-linux/usr/lib/gstreamer-1.0/include -c -fmessage-length=0 -MT"main.o" --sysroot=C:/tmp/zcu104-rv-ss-2018-2/petalinux/sdk/sysroots/aarch64-xilinx-linux -MMD -MP -MF"main.d" -MT"main.o" -o "main.o" "../main.c"
../main.c:30:10: fatal error: gst/gst.h: No such file or directory
 #include <gst/gst.h>
          ^~~~~~~~~~~
compilation terminated.
make: *** [main.o] Error 1

19:22:27 Build Finished (took 4s.112ms)

 

 

Why is it trying to compile the "debug"  configuration?

And, the gst/gst.h I can't find anywhere in the tree ...

 

thanks

 

 

0 Kudos
Observer emu
Observer
1,176 Views
Registered: ‎11-05-2013

Re: revision 2018.2 zcu104-rv-ss-2018-2

OK, I think I got it. And, as said in the beginning, stupid mistakes in the setup ...

 

It should be noted in the "reVISION Getting Started Guide", that the zipfile, contains another zipfile, which also has to be unzipped.

 

The rest, were just stupid mistakes on my side, like setting the SYSROOT on the beginning of the source tree, not in the linux tree ...

 

It looks, like it is working now ...