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: 
Newbie kasraghu
Newbie
1,709 Views
Registered: ‎10-05-2017

HW platform XML file was not found

Using the following tool in Windows PC

Xilinx SDx v2017.2 (64-bit)
SW Build 1972098 on Wed Aug 23 11:35:21 MDT 2017

 

Following the steps in SDSoC Environment Tutorial, UG1028(v2017.2) got  the following error

 

12:46:09 **** Build of configuration Release for project lab1 ****
make pre-build main-build 
sdsoc_make_clean Release
' '
'Building file: ../src/madd.cpp'
'Invoking: SDS++ Compiler'
sds++ -Wall -O3 -I"../src" -c -fmessage-length=0 -MT"src/madd.o" -MMD -MP -MF"src/madd.d" -MT"src/madd.o" -o "src/madd.o" "../src/madd.cpp" -sds-hw mmult mmult.cpp  -clkid 2 -sds-end -sds-hw madd madd.cpp  -clkid 2 -sds-end -sds-sys-config linux -sds-proc a9_0 -sds-pf "zc702"
Processing -sds-hw block for madd
I/O error : Bad file descriptor
I/O error : flush error
WARNING: [SdsCompiler 83-5110] Software platform XML file was not found, unable to resolve platform configuration
I/O error : Bad file descriptor
I/O error : flush error
ERROR: [SdsCompiler 83-5106] Platform specified as zc702 but the hw platform XML file was not found - is the platform name correct and is the path to the platform correct (if required)?
ERROR: [SdsCompiler 83-5004] Build failed

make: *** [src/madd.o] Erreur 1

12:46:12 Build Finished (took 3s.409ms)

 

 

After little digging it seems like the 'xsltproc.exe' is giving the I/O error instead of passing the 'xpath_value'

How to solve this issue?

Tags (1)
0 Kudos
5 Replies
Explorer
Explorer
1,685 Views
Registered: ‎09-19-2017

Re: HW platform XML file was not found

Hi kasraghu,

 

It looks like your machine is having disk problems, and SDSoC cannot access the installation directory where the zc702 platform lives. 

 

I/O error : Bad file descriptor
I/O error : flush error
WARNING: [SdsCompiler 83-5110] Software platform XML file was not found, unable to resolve platform configuration
I/O error : Bad file descriptor
I/O error : flush error

 Sam

0 Kudos
Highlighted
Newbie kasraghu
Newbie
1,632 Views
Registered: ‎10-05-2017

Re: HW platform XML file was not found

When 'xltproc' is used in SDx Terminal with '-o' as argument to log the output to a file, the log file contains the required toolBaseName. So, it doesn't seem to be a disk problem. 

0 Kudos
Observer mod28
Observer
1,539 Views
Registered: ‎03-16-2017

Re: HW platform XML file was not found

I had the same error message after a crash of SDx .

 

In SDx Project Settings of the open project, under 'Platform' the platform was incorrect. Click on Browse, add your Platform then choose your platform and click ok.

0 Kudos
Visitor paco93
Visitor
268 Views
Registered: ‎10-15-2017

Re: HW platform XML file was not found

I know this is an old thread, but I have the same problem. I am using Windows 10. Whichever platform i select (including the one provided by Xilinx), I get the same error.
Suggestion above does not work.
Any other suggerstions.
Thanks
0 Kudos
Visitor paco93
Visitor
236 Views
Registered: ‎10-15-2017

Re: HW platform XML file was not found

To add more info to my problem,  if I launch in SDx terminal the command "sds++ sds-pf-list" I get the error: 

C:\Users\xxx\AppData\Roaming\Xilinx\sdx>sds++ sds-pf-list
I/O error : Bad file descriptor
I/O error : flush error
I/O error : Bad file descriptor
I/O error : flush error
C:\Xilinx\SDK\2018.2\gnuwin\bin\which.exe: no g++ in (.;C:/Xilinx/SDx/2018.2/bin;C:/Xilinx/SDx/2018.2/lib/win64.o;C:/Xilinx/SDx/2018.2/tps/win64/jre/bin/server;C:/Xilinx/SDx/2018.2/tps/win64/jre/bin;C:/Xilinx/SDK/2018.2/bin;C:/Xilinx/SDx/2018.2\tps\win64\libxslt\bin;C:/Xilinx/SDK/2018.2\gnuwin\bin;C:/Xilinx/SDK/2018.2\gnu\arm\nt\bin;C:/Xilinx/Vivado/2018.2\bin;C:\Xilinx\DocNav;C:\Xilinx\SDK\2018.2\gnu\microblaze\nt\bin;C:\Xilinx\SDK\2018.2\gnu\microblaze\linux_toolchain\nt64_le\bin;C:\Xilinx\SDK\2018.2\gnu\aarch32\nt\gcc-arm-linux-gnueabi\bin;C:\Xilinx\SDK\2018.2\gnu\aarch32\nt\gcc-arm-none-eabi\bin;C:\Xilinx\SDK\2018.2\gnu\aarch64\nt\aarch64-linux\bin;C:\Xilinx\SDK\2018.2\gnu\aarch64\nt\aarch64-none\bin;C:\Xilinx\SDK\2018.2\gnu\armr5\nt\gcc-arm-none-eabi\bin;C:\Xilinx\SDK\2018.2\tps\win64\cmake-3.3.2\bin;C:\Xilinx\Vivado\2018.2\lib\win64.o;C:\ProgramData\DockerDesktop\version-bin;C:\Program Files\Docker\Docker\Resources\bin;C:\Program Files (x86)\IntelSWTools\OpenCL\sdk\bin\x64;C:\Program Files (x86)\IntelSWTools\OpenCL\sdk\bin\x86;C:\Program Files (x86)\IntelSWTools\OpenCL\sdk\bin\Pin;C:\Program Files (x86)\IntelSWTools\OpenCL\sdk\bin\GTPin;C:\Program Files (x86)\IntelSWTools\OpenCL\runtime\cpu\windows\compiler\lib\intel64_win;C:\Program Files (x86)\IntelSWTools\OpenCL\runtime\cpu\windows\compiler\lib\ia32_win;C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64_win\compiler;C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\ia32_win\compiler;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\libnvvp;C:\Program Files\Microsoft MPI\Bin\;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\ProgramData\chocolatey\bin;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\;C:\Program Files (x86)\Skype\Phone\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\Microsoft DNX\Dnvm\;C:\Program Files (x86)\nodejs\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Microsoft\Web Platform Installer\;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit\;C:\Windows\System32\OpenSSH\;C:\Program Files\Git\cmd;C:\Program Files\dotnet\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Python27;C:\Intel\DAL_;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn\;;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\Users\Gennaro\AppData\Roaming\npm;C:\Users\Gennaro\AppData\Local\Microsoft\WindowsApps;D:\intelFPGA_lite\18.1\modelsim_ase\win32aloem;C:\Program Files\CMake\bin;C:\Users\Gennaro\AppData\Local\Programs\Microsoft VS Code Insiders\bin;C:/Xilinx/SDx/2018.2\tps\mingw\6.2.0\win64.o\nt\bin;C:/Xilinx/SDx/2018.2\tps\mingw\6.2.0\win64.o\nt\libexec\gcc\x86_64-w64-mingw32\6.2.0)
    while executing
"exec which [apc_get_global APCC_TOOLCHAIN]g++"
    (procedure "sdscc_set_toolchain_config" line 27)
    invoked from within
"sdscc_set_toolchain_config $toolchain_config $toolchain_type $proc_type $toolchain_name"
    (file "C:/Xilinx/SDx/2018.2/bin\xdcc.tcl" line 4138)

It is also interesting to note that the command add to the path some directories (C:/Xilinx/SDx/2018.2\tps\mingw\6.2.0\win64.o\nt\bin;C:/Xilinx/SDx/2018.2\tps\mingw\6.2.0\win64.o\nt\libexec\gcc\x86_64-w64-mingw32\6.2.0) which are not present in my installation (under Xilinx/SDx/2018.2/tps I don't have the mingw folder) . I have tried to reinstall all Xilinx SW but without success. Any hint?

 

 

0 Kudos