I am trying to install MinGW-w64 in Windows 7.
.
but I keep getting the error:
"Cannot download repository.txt".
I have read multiple threads about this and downloaded multiple .exe files but none of them work for me. I have MATLAB R2016a with the bug to use the Add-ons window. I tried to install MinGW-w64 directly with some work-arounds but nothing worked. So I am trying to install MinGW-w64 directly into Windows 7 and then assign it to MATLAB as the Compiler to enable me to build s-functions in Simulink.
How to fix this problem?
I have the same error message:
Cannot download
repository.txt
and I have 2 alternative solutions to install MinGW-w64 in windows :
SOLUTION 1:
Install chocolatey. Then type the following command line:
c:> choco install mingw
SOLUTION 2:
Download MinGW build ("native Windows" build). Then I was able to make GFortran work on JetBrain CLion.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With