cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Observer
Observer
2,313 Views
Registered: ‎04-04-2018

SDAccel 2018.3 examples - Error XILINX_XRT is not defined

Jump to solution

Hi - I've just installed SDAccel 2018.3 and tried to compile one of the SDAccell 2018.3 examples, and it falls over because XILINX_XRT is not set. I think I need to install the Xilinx Runtime package to fix this, but following the links in UG1238 didn't actually point me at anything I could download. I am using the KCU1500 platform which the release notes say is supported if not supplied with 2018.3. Can someone please help me get this working?

 

 

make -j24 incremental
/apps/Xilinx/SDx/SDx/2018.3/bin/xocc -t sw_emu --platform /home/jdmt/FPGA/SDAccel/platforms/xilinx_kcu1500_dynamic_5_0/xilinx_kcu1500_dynamic_5_0.xpfm --save-temps   -c -k krnl_vadd -g --messageDb krnl_vadd/krnl_vadd.mdb -I"../src" --xp misc:solution_name=krnl_vadd --temp_dir krnl_vadd --report_dir krnl_vadd/reports --log_dir krnl_vadd/logs -o"krnl_vadd/krnl_vadd.xo" "../src/krnl_vadd.cl"
ERROR: XILINX_XRT is not defined, this normally indicates that the Xilinx Runtime has not been setup correctly. The Xilinx Runtime is required by XOCC.

****** xocc v2018.3 (64-bit)
  **** SW Build 2405991 on Thu Dec  6 23:36:41 MST 2018
    ** Copyright 1986-2018 Xilinx, Inc. All Rights Reserved.

makefile:77: recipe for target 'krnl_vadd/krnl_vadd.xo' failed
make: *** [krnl_vadd/krnl_vadd.xo] Error 1

0 Kudos
1 Solution

Accepted Solutions
Highlighted
Moderator
Moderator
2,245 Views
Registered: ‎11-04-2010

Hi, @jdmt , 

The different boards share the same XRT, you can download based on your operating system:

https://www.xilinx.com/products/boards-and-kits/alveo/u200.html#gettingStarted

-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------

View solution in original post

4 Replies
Highlighted
Moderator
Moderator
2,273 Views
Registered: ‎11-04-2010

Hi, @jdmt ,

Have you installed the Xilinx runtime (XRT) ?

-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
Highlighted
Observer
Observer
2,262 Views
Registered: ‎04-04-2018

@hongh wrote:

Hi, @jdmt ,

Have you installed the Xilinx runtime (XRT) ?


Quite possibly not - can you please tell.me where to  find the runtime for the KCU1500 platform? 

0 Kudos
Highlighted
Moderator
Moderator
2,246 Views
Registered: ‎11-04-2010

Hi, @jdmt , 

The different boards share the same XRT, you can download based on your operating system:

https://www.xilinx.com/products/boards-and-kits/alveo/u200.html#gettingStarted

-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------

View solution in original post

Highlighted
Observer
Observer
2,228 Views
Registered: ‎04-04-2018

Many thanks - I installed XRT from that link and I can now run that example code.

0 Kudos