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.
Related
I followed the gcc compiler installation tutorial for windows from the vscode website: https://code.visualstudio.com/docs/cpp/config-mingw
And the bin folder (C:\msys64\mingw64\bin) is empty, so i'm not able to run the "g++ --version" by adding this path to the Windows path environment variable.
My alternative to it was to use the codeblocks compiler to run my code in vscode, by adding this path: (C:\Program Files\CodeBlocks\MinGW\bin) to the "path" selection in the windows environment variables.
I want to make the MSYS2 compiler work properly in my vscode.
Hope you guys can help me!
MSYS2 comes with a package manager pacman that you should use to install any components you need.
In your case, open the MSYS2 shell (by running mingw64.exe) and run the following commands:
pacman -Syu --noconfirm
pacman -S mingw-w64-x86_64-toolchain
The first command will tell the package manager to update it's database, the second command will get the MinGW-w64 64-bit GCC compiler.
If you don't really need MSYS2 (e.g. because you dan't plan to use the MSYS2 shell) you could also consider getting a standalone MinGW-w64 build from https://winlibs.com/
I have already installed vimplug I can open the file but has no effect on Neovim 1
The error says that your plugin manager (vim-plug) isn't able to run the git executable. It needs to do this to fetch the plugins you're trying to load. So install git, make sure you can run it from your PowerShell command line, and you should be set.
I am trying to build a project for a raspberry pi 4, using windows 10 as the building platform, I have the compiler installed, arm-none-eabi-gcc however every piece of information I've learned about it relates to how to run it on a linux machine, and I don't really want to run a vm just to load the linux environment, so how do I run the compiler on windows 10, Do I run it from Cmd? or is there a different method to do this?
You could check this PreBuilt GNU Toolchain for building natively on Win10.
Otherwise you could also setup a WSL environment in your win10, then you would also be able use any linux toolchains.
You can download the IDE DS-5 Community Edition
https://developer.arm.com/tools-and-software/embedded/legacy-tools/ds-5-development-studio/editions/community-edition
You can download the toolchains:
https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-a/downloads
Then follow the steps in this tutorial:
https://developer.arm.com/tools-and-software/embedded/legacy-tools/ds-5-development-studio/resources/tutorials/getting-started-with-ds-5-ce-and-armv8-foundation-platform
https://community.arm.com/developer/tools-software/tools/b/tools-software-ides-blog/posts/running-bare-metal-software-on-the-raspberry-pi-3-using-arm-ds-5
You should have the arm-none-eabi-gcc.exe for Windows Compile.
Also, you have the linux environment like MinGW and use installed terminal(xterm).
then, you have to copy the .so files into MinGW /lib or /usr/lib folder under C:/MinGW.
Hope this would be helpful for you.
Problem
I'm using platformio IDE in vscode.
Before 2019.10.11, the platformio IDE extension worked well.
But after 2019.10.11, every time I open vscode I get this message.
Installing PlatformIO Core...
Please do not close this window and do not open other folders until this process is completed.
Failed to install PlatformIO IDE.
No more information shows.
What I Have Tried
Uninstall vscode and reinstall it
Uninstall platformio IDE and reinstall it
Downgrade vscode from 1.39 to 1.37
Downgrade platfotmio IDE from 1.90 to 1.83
pip --no-cache-dir install -U platformio
conda install platformio
pip uninstall platform and then pip install platformio
Restart the computer
Uninstall platformio IDE and delete all the folders and files whose names contain 'platformio', and than reinstall platformio
Run vscode as administrator and install platformio IDE
I still haven't fixed the problem now.
What I Have Found
After I uninstall platformio IDE and tried to reinstall it (of course I failed), I found the folder "C:\Users\Bowman.platformio"'s size is only 0KB, and it contains only one folder ".cache".
What I Have Installed in My Computer
Anaconda(Python 3.7)
JDK
node.js
.NET Core
mingw64
Visual Studio 2019
Visual Studio 2017
Stm32CubeIDE
Today I tried and (initially) failed to install PlatformIO on a Linux Mint 20.2 Cinnamon machine. VSCode V1.61.2 was freshly installed, Python3 was installed.
Trying to install PlatformIO told me that the Python on the machine was not suitable and installation failed.
After enabling Developer mode in VSCode (Help | Toggle Developer Tools) and trying the install again, I found an error message that told me that the distutils package for Python was missing.
That is because I had not installed pip3.
In the terminal, run sudo apt install python3-pip
That gets you the appropriate packages and then PlatformIO will install properly.
good afternoon.
I had exactly the same issue.
Did pretty much the same topics you described.
For me it was related to the anaconda software.
I uninstalled anaconda, uninstall/reinstall platformio in the visual studio environment and it worked.
I got the message that the platformio service was already started and that got me thinking.
regards
thats no big deal i had the same issue....just go to help > Toggle developers and in that press console and search platformIo that will show the error most likely with python installation ...you might wants to install some packages manually....
i was using ubuntu...so python packages conflicts...
I am migrating my dev environment to 10.8, however I am having issues with pip.
Specifically, I'm using a virtualenvs/virtualwrapper but cannot pip install psycopg2, and during the building of the psycopg2._psycopg extension, I get:
unable to execute /usr/bin/clang: No such file or directory
error: command '/usr/bin/clang' failed with exit status 1
Can anyone offer a solution to this?
This probably happens because you did not re-install the Command Line Tools after upgrading.
Usually XCode should be upgraded to the latest version (4.4) (I believe when I updated to 10.8 I also updated a whole bunch of other applications, including XCode). After the update you need to re-install the Command Line Tools. This can now be done via a setting in XCode:
Go to "Preferences -> Downloads" and install "Command Line Tools".
Now you should have no more problems when installing packages that need to be compiled.