msys2

Step by step instruction to install Rust and Cargo for mingw with Msys2?

匿名 (未验证) 提交于 2019-12-03 08:28:06
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I tried to install Rust on Cygwin but failed to be able link with mingw. Now I am trying to install it with Msys2. I already installed Msys2 and Mingw. I tried to follow this wiki page but I got lost at number 2: Download and install Rust+Cargo using the installer but be sure to disable the Linker and platform libraries option. Is it referring to the "rustup-init.exe" on the install page ? Should I double click to run this file or run it from Msys2? I tried to run from Msys2 and got the options: 1) Proceed with installation (default) 2)

What are the differences between msys/git and git-for-windows/mingw-w64-x86_64-git?

≡放荡痞女 提交于 2019-12-03 04:14:36
问题 To be able to run the test scripts for my cross-platform application also on Windows, I installed MSYS2 and used pacman to install any packages my test scripts rely on. Since MSYS2 provides a port of git (msys/git), I think there is no need to install Git for Windows as well. But what are the differences between the git version provided in the MSYS2 repository and the one provided by Git for Windows? I noticed these differences so far: msys/git will fail when running pip freeze on a

Why can't Git Bash run my executable?

偶尔善良 提交于 2019-12-03 04:05:00
问题 I am on git-for-windows Git Bash. I can't run an executable on the command line: Pedr@Abc-07 MINGW64 /c/dev $ ls sqlite3.exe sqlite3.exe* Pedr@Abc-07 MINGW64 /c/dev $ sqlite3 bash: sqlite3: command not found Why is it so? 回答1: To run a program in the current directory in bash, you put ./ in front of it. So in your case: $ ./sqlite3.exe When you run sqlite3 , bash will look for a program with exactly that name in all directories of the PATH environment variable, which by default includes

How to get native windows decorations on GTK3 on Windows 7+ and MSYS2

天大地大妈咪最大 提交于 2019-12-03 02:19:00
I am trying to port my application from linux to windows and I have a problem with theming. In linux this works out of a box, just compile it and application is using good theme and looks native. I have installed gtkmm3 and gtk3 in MSYS2 and I am building it with CMake. This is OK, I had to copy all dlls to directory with binary to be able to execute it. I did not copy anything else. I am trying to create "unzip and execute" package. My problem is, that application looks out of place. It does not look native at all. There are shadows around the window, which is fine in Windows10, but in

MSYS2 pacman can't update packages through corporate firewall [closed]

匿名 (未验证) 提交于 2019-12-03 02:16:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: Following the MSYS2 first install steps described on http://msys2.github.io/ , I received these errors. I want to get some utilities like vi , vim , bc , gnuplot . How do I configure pacman to connect to the repositories? My PC is on a corporate network. My browser connects to the web via a PAC script. $ pacman --needed -Sy bash pacman pacman-mirrors msys2-runtime :: Synchronizing package databases... error: failed retrieving file 'mingw32.db' from downloads.sourceforge.net : Connection timed out after 10000 milliseconds error: failed to

Differences between MSYS2 and Cygwin [closed]

六眼飞鱼酱① 提交于 2019-12-03 01:36:13
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 5 years ago . Traditionally MSYS bash has been considered inferior to Cygwin bash. The former was an ancillary tool inside MinGW intended for running autoconf scripts. But now there is MinGW-w64 and MSYS2. The latter ships with a sweet pacman like package manager and elegant shells like zsh, so

ffmpeg windows下编译安装

匿名 (未验证) 提交于 2019-12-02 23:40:02
安装msys2 更新源使下载速度更快 进入msys64/etc/pacman.d/目录中,分别在三个文件中增加 mirrorlist.mingw32 http://mirrors.ustc.edu.cn/msys2/mingw/i686 mirrorlist.mingw64 http://mirrors.ustc.edu.cn/msys2/mingw/x86_64 mirrorlist.msys http://mirrors.ustc.edu.cn/msys2/msys/$arc 打开msys2,输入 pacman -Syuu更新 --------------------------------------------------------------------------------------- pacman -S --needed base-devel mingw-w64-x86_64-toolchain 打开msys2下的mingw64.exe cd /h/software/GUI/ffmpeg ./configure --prefix=H:\software\GUI\ffmpeg\ffmpeg_build make && make install

windows 10使用MSYS2

你。 提交于 2019-12-02 22:09:14
下载 http://www.msys2.org/ 更新镜像 C:\msys64\etc\pacman.d mirrorlist.mingw32 第一行增加 Server = https://mirrors.tuna.tsinghua.edu.cn/msys2/mingw/i686 mirrorlist.mingw64 第一行增加 Server = https://mirrors.tuna.tsinghua.edu.cn/msys2/mingw/x86_64 mirrorlist.msys 第一行增加 Server = https://mirrors.tuna.tsinghua.edu.cn/msys2/msys/$arch/ 来源: https://www.cnblogs.com/yklszm/p/11764261.html

How to obtain older versions of packages using MSYS2?

允我心安 提交于 2019-12-02 20:32:10
I decided to try CLion for Windows, which recommends either MinGW or Cygwin for compilation. I installed the MSYS2 package manager into the default folder, C:\msys64 , updated it by running update-core and pacman -Su . I then downloaded the MinGW64 package using pacman -S mingw-w64-x86_64-gcc , which has been placed into C:\msys64\mingw64 . The problem is, pacman -S mingw-w64-x86_64-gcc currently downloads the version 5.0, which is not yet supported by CLion. Does MSYS2 support installing older versions of packages (the MinGW version 4.9.2 should work just fine)? I tried searching for the

What are the differences between msys/git and git-for-windows/mingw-w64-x86_64-git?

微笑、不失礼 提交于 2019-12-02 17:06:35
To be able to run the test scripts for my cross-platform application also on Windows, I installed MSYS2 and used pacman to install any packages my test scripts rely on. Since MSYS2 provides a port of git (msys/git), I think there is no need to install Git for Windows as well. But what are the differences between the git version provided in the MSYS2 repository and the one provided by Git for Windows? I noticed these differences so far: msys/git will fail when running pip freeze on a virtualenv where a Python package from a git clone is installed in develop mode: FileNotFoundError: [WinError 3]