Have used this happily previously on same .sopc system but now in SoC EDS command shell in 19.1 it fails. Have installed 64 bit Cygwin as per install instructions and WSL with Ubuntu 18.04.
swinfo2header: Failed to load *.swinfo file "/tmp/sopc-create-header-files.1468.tmp.swinfo"
sopc-create-header-files: swinfo2header --swinfo /tmp/sopc-create-header-files.1468.tmp.swinfo --sopc /cygdrive/c/Projects/SprintNavMini/FPGA/MiniSyrinxHPS.sopcinfo --single hps_0.h --module hps_0 failed
Any suggestions / things to try?
I had exactly the same problem as you and i solved it.
You may have several versions of Quartus installed on your OS. Remove those you don't need.
Then, add complete path in your script for swinfo2header and all functions (such as sopcinfo2swinfo).
May I ask how did you exactly "add complete path in your script for swinfo2header and all functions" ?
I met the same problem and found your solution, but I don't quite understand it.
Go to advanced system settings:
Click on Environment Variables...:
And in "System variables" double click "Path" variable:
And replace the version number in the quortus line (don't forget to change the directory name if youre using a standard quortus version or pro version. Mine is lite):
You need to edit file:
You need to edit lines with swinfo2header and sopcinfo2swinfo.
before swinfo2header and sopcinfo2swinfo.
It should be something like this: