cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
7,471 Views
Registered: ‎09-07-2015

Building verbosely with XSCT (on Windows)

We would like to build our Xilinx SDK projects using an automated script.

The following TCL script is used as an example:

 

sdk set_workspace -switch C:/Builds/trunk/workspace
sdk create_hw_project -name zynq_zc702_hw -hwspec C:/Xilinx/SDK/2015.2/data/embeddedsw/lib/hwplatform_templates/ZC702_hw_platform/system.hdf
sdk create_app_project -name zynq_fsbl_xsct -hwproject zynq_zc702_hw -proc ps7_cortexa9_0 -os standalone -lang C -app {Zynq FSBL} -bsp ZC702_a9_0_bsp
sdk build_project -type all

The script is saved as "test.tcl" and then executed with the following command:

 

xsct.bat test.tcl

The build completes successfully, however there is no compiler output on the screen. How can I enable verbose messages?

 

Thanks,

G. Hoogewerf

 

0 Kudos
4 Replies
Anonymous
Not applicable
7,451 Views

The SDK batch doesn't print to the console. You could run the make directly instead of using the sdk build_project

0 Kudos
7,428 Views
Registered: ‎09-07-2015

 

In this screen cast the build ouput works correctly:

https://www.youtube.com/watch?v=HSTFpSXON8I

 

However, this person is running some Linux desktop. 

 

We would like to achieve the same thing on Windows to troubleshoot possible build errors.  These errors are suppressed as well.

 

Stephenm wrote:

> You could run the make directly instead of using the sdk build_project.

 

Does that strike you as a decent solution?  The make-files don't even exist prior to running the "sdk build_project" step.

 

 

0 Kudos
Anonymous
Not applicable
7,411 Views

The make file are created when the project is created

0 Kudos
MKHen
Observer
Observer
305 Views
Registered: ‎09-18-2020

Seems that this problem hasn't solved in Vitis 2020.2 as well.

At the moment I am using a tcl script for building but user code gives still no output in the console.
At the end I check if the output files e.g. *.a or *.elf exists.
If one of them is missing I clean the corresponding app and run make manually which prints me the output.

0 Kudos