Closed jagadeeswaran22495 closed 5 years ago
What version are you using?
If you must use VHDL on Windows, I suggest you get the last stable 0.019 from here: https://sourceforge.net/projects/qucs/files/qucs-binary/0.0.19/
It can be tricky o get the compiler and freehdl to cooperate. Note that freehdl is abandoned and will be replaced by ghdl in the future.
If you can work with Verilog, installing icarus-verilog might be easier.
I think I'm getting the same error when trying to run a digital simulation (DC simulation worked fine). I'm using windows 10 and the latest binary release of 0.0.19
Digital simulation is throwing these errors.
'g++' is not recognized as an internal or external command, operable program or batch file.
'g++' is not recognized as an internal or external command, operable program or batch file.
'g++' is not recognized as an internal or external command, operable program or batch file.
'digi.exe' is not recognized as an internal or external command, operable program or batch file.
Progress showed this, if that helps display where it ran into issues:
running C++ conversion...
compiling functions...
compiling main...
linking...
simulating...
running VCD conversion...
Looks like they had similar issues here and it was a path issue: https://sourceforge.net/p/qucs/mailman/message/36302161/
I don't see what path to change. It says in qucs.bat
:
set MINGWDIR=C:\mingw32
set PATH=%MINGWDIR%\bin;%PATH%
But I don't see a bundled MINGW anywhere. Am I supposed to install that separately? Also, I can't find a digi.exe, but perhaps we just need to add the self folder to the path?
Yes, the compiler needs to be installed. See link [2] or [3] on the readme: https://github.com/Qucs/qucs/blob/develop/contrib/windows/portable/README.md
Ah, great! I installed [3] directly to C:\mingw32
like it has in the .bat
file and digital simulation works fine now.
I hadn't read closely enough to realize I needed to install something else.
"g++: error: digi.cc: No such file or directory g++: fatal error: no input files compilation terminated. g++: error: digi.main.cc: No such file or directory g++: fatal error: no input files compilation terminated. g++: error: digi.main.o: No such file or directory g++: error: digi.o: No such file or directory 'digi.exe' is not recognized as an internal or external command, operable program or batch file". How to resolve this? I get this only during Digital Simulation.
Also I downloaded and installed MinGw and also changed path in System properties, Kindly help?.