mingw-w64

Msys2: Maintaining two python installations

杀马特。学长 韩版系。学妹 提交于 2020-05-09 08:33:07
问题 I am using Msys2 portable under Win 10. I have 2 python 3.8 installations. The original question asked if that is so. I am now certain it is, so for the time being I want to deal with their maintenance. I also posted another related question Msys2: readline in two python installations I am posting below information on both. My questions are: Can they interfere with each other? If so, what steps/configuration should I deal with? ( PYTHONPATH , site-packages , etc.) Would it be safe removing

MSYS2使用教程(整理)——win10系统64位安装msys2最新版(msys2-x86_64-20190524.exe)

£可爱£侵袭症+ 提交于 2020-05-05 13:23:50
一、安装 测试系统: windows 10 首先需要msys2的安装包,可以去官网下载安装包 官网地址: http://www.msys2.org/ 本次下载的是 msys2-x86_64-20180531.exe 注意:1.msys2不可以安装在FAT*分区    2.msys2不能安装在win XP系统上 官方下载地址 http://www.msys2.org/ ,这官网下载超级慢, 推荐使用: https://mirrors-wan.geekpie.club/msys2/distrib/i686/(上海科技大学的镜像) 指定好安装路径(一般D根目录即可) 本人使用的是默认路径,win10的c盘 ,一路下一步就好。 安装好后,不要直接运行,先配置,软件源,否则下载超级慢 安装完成后点击 完 成 退出安装程序 注意: 此处不要勾选"立即运行 MSYS2 64bit", 因为接下来要配置国内更新源 二、配置国内镜像 使用[清华大学开源软件镜像站]中的地址,修改\etc\pacman.d目录下的三个文件。 配置教程 https://mirrors.tuna.tsinghua.edu.cn/help/msys2/ 1、mirrorlist.msys 文件 ## ## MSYS2 repository mirrorlist ## ## Primary ## msys2.org ##

msys2+mingw32环境搭建

纵饮孤独 提交于 2020-05-05 13:21:36
安装 msys2 64bit(msys2 http://www.msys2.org/),安装包及工具链。 pacman -Syu => pacman -Su => base-devel(msys) => 增加中国科学技术开源软件镜像地址 => mingw-w64-i686-gcc => mingw-w64-i686-gdb => mingw-w64-i686-objc => mingw-w64-i686-make => mingw-w64-i686-pkg-config => mingw-w64-i686-glib2 => mingw-w64-i686-pixman => mingw-w64-i686-libtool => pthread(mingw) => mingw-w64-i686-libxml2 => mingw-w64-i686-clang 1 2 3 4 5 6 7 问题及解决: 1)增加中国科学技术开源软件镜像地址: 分别在msys64/etc/pacman.d路径下的mirrorlist.msys、mirrorlist.mingw32、mirrorlist.mingw64文件的地址开头添加: #mirrorlist.msys Server = http://mirrors.ustc.edu.cn/msys2/msys/$arch/ #mirrorlist

ffmpeg mingw compilation 8192 char limits

元气小坏坏 提交于 2020-04-18 06:42:39
问题 I´m trying to compile ffmpeg shared with mingw64 on Windows 10. Here is the configure command: ./configure --arch=x86_64 --enable-shared --disable-static --prefix=/e/Downloads/ffmpeg-dyn/ Everything looks ok. Then I make: mingw32-make.exe -j16 But I encounter this error: LD libswresample/swresample-3.dll LD libswscale/swscale-5.dll dlltool -m i386:x86-64 -d libswresample/swresample-3.def -l libswresample/swresample.lib -D swresample-3.dll dlltool -m i386:x86-64 -d libswscale/swscale-5.def -l

How to install MinGW64 (non of the approaches work)

浪尽此生 提交于 2020-04-11 12:57:38
问题 I am trying to install MinGW64 on Windows 10. Here is what I tried: Approach 1 Via http://mingw-w64.org/doku.php I went to http://mingw-w64.org/doku.php/download/win-builds and from there to http://win-builds.org/doku.php/download_and_installation_from_windows where I downloaded Win-builds 1.5.0. I run the exe and let it install everything. When it gets to install mingw64 it says that the Download failed (no further information). What should I do? Approach 2 Via https://sourceforge.net

mingw-w64 installer “the file has been downloaded incorrectly”

最后都变了- 提交于 2020-04-06 05:19:30
问题 I am trying to install mingw-w64 onto Windows. However I receive an error, "the file has been downloaded incorrectly". Redownloading the setup file again from sourceforge does not fix the problem. Is there an alternative way to install it or am I doing something wrong? 回答1: Old post but same problem, the installer doesn't seem to work. I give the solution which works for me You can directly download the archive of MinGW64 with your chosen configuration : https://sourceforge.net/projects/mingw

compiling BASIS on MSYS2 using MinGW-w64

倖福魔咒の 提交于 2020-03-25 12:30:13
问题 I'm trying to follow these instructions to compile-install BASIS (CMake Build system And Software Implementation Standard) on MSYS2 using MinGW-w64 compilers. However, the ccmake .. step fails: -bash: ccmake: command not found I tried searching the MSYS2 packages by pacman -Ss ccmake with no results. So I thought I have to use commandline cmake instead: cmake -DCMAKE_INSTALL_PREFIX:PATH=~/local -DBUILD_APPLICATIONS:BOOL=ON -DBUILD_EXAMPLE:BOOL=ON .. which failed by: CMake Error at src/cmake

Mingw-w64 “Cannot download repository.txt” Error

。_饼干妹妹 提交于 2020-03-24 00:05:10
问题 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

compiling simple hellow world with mingw g++

无人久伴 提交于 2020-03-05 00:30:26
问题 I am new to mingw/C++ and would like to compile and run the following code I found online: #include <iostream> using namespace std; int main() { cout << "Hello, World!"; return 0; } Unfortunately, running a g++ helloworld.cpp -o helloworld.exe throws the following error: In file included from c:\mingw\include\_mingw.h:73, from c:\mingw\include\wchar.h:53, from c:\mingw\lib\gcc\mingw32\8.2.0\include\c++\cwchar:44, from c:\mingw\lib\gcc\mingw32\8.2.0\include\c++\bits\postypes.h:40, from c:

Cross Compiling Python setup

泄露秘密 提交于 2020-02-28 21:30:13
问题 I am trying to build GObject-Introspection on Ubuntu 14.04 using Mingw-w64. I am currently running 64bit Linux and trying to build for a 32bit Windows target. My first attempt used Python 2.7.8 installed in Wine, however, this did not work because Python's path separator was set to '\' (well '\') instead of Linux's '/'. Due to this I tried using the Python 2.7 in Ubuntu. Using the Python provided by Ubuntu doesn't get past the configuration step. Config.log shows the following: In file