msys2

Executable merge.exe (extracted from MSYS2) doesn't run on Windows

我是研究僧i 提交于 2021-02-10 13:07:11
问题 1. Problem explained I need to run the merge tool (part of the GNU RCS project - Revision Control System) on Windows 10. These are the requirements: STEP 1: The executable merge.exe must run in a native Windows cmd terminal. STEP 2: The PATH env variable should not be modified. STEP 3: The executable can be located in any arbitrary folder (of course, it's okay to put a bunch of dll's next to it if required). It would lead us too far to explain why these requirements are so important. Please,

Executable merge.exe (extracted from MSYS2) doesn't run on Windows

China☆狼群 提交于 2021-02-10 13:05:51
问题 1. Problem explained I need to run the merge tool (part of the GNU RCS project - Revision Control System) on Windows 10. These are the requirements: STEP 1: The executable merge.exe must run in a native Windows cmd terminal. STEP 2: The PATH env variable should not be modified. STEP 3: The executable can be located in any arbitrary folder (of course, it's okay to put a bunch of dll's next to it if required). It would lead us too far to explain why these requirements are so important. Please,

collect2.exe: error: ld returned 5 exit status

十年热恋 提交于 2021-02-04 22:17:31
问题 I've recently updated all msys2 packages and now I can't build my project. The error occurs at the moment of linking one of .dlls - target_library.dll . The error message isn't clear to me. What does status 5 mean? collect2.exe: error: ld returned 5 exit status Full message: g++ -Wl,-s,--relax,--gc-sections -shared -Wl,-subsystem,windows -mthreads -Wl,--out-implib,C:/msys64/workspace/Project_Root_Directory/project/src/../build/release/plugins/libtarget_library.dll.a -o ../../../../build

collect2.exe: error: ld returned 5 exit status

佐手、 提交于 2021-02-04 22:13:20
问题 I've recently updated all msys2 packages and now I can't build my project. The error occurs at the moment of linking one of .dlls - target_library.dll . The error message isn't clear to me. What does status 5 mean? collect2.exe: error: ld returned 5 exit status Full message: g++ -Wl,-s,--relax,--gc-sections -shared -Wl,-subsystem,windows -mthreads -Wl,--out-implib,C:/msys64/workspace/Project_Root_Directory/project/src/../build/release/plugins/libtarget_library.dll.a -o ../../../../build

Set CMAKE_MAKE_PROGRAM to mingw32-make from inside the CMakeLists.txt

…衆ロ難τιáo~ 提交于 2021-01-29 18:51:05
问题 Following this post, if I run cmake .. inside my build folder with no options I get the error: CMake Error: CMake was unable to find a build program corresponding to "Unix Makefiles". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool. CMake Error: CMAKE_Fortran_COMPILER not set, after EnableLanguage CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage -- Configuring incomplete, errors occurred

Set CMAKE_MAKE_PROGRAM to mingw32-make from inside the CMakeLists.txt

血红的双手。 提交于 2021-01-29 13:17:29
问题 Following this post, if I run cmake .. inside my build folder with no options I get the error: CMake Error: CMake was unable to find a build program corresponding to "Unix Makefiles". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool. CMake Error: CMAKE_Fortran_COMPILER not set, after EnableLanguage CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage -- Configuring incomplete, errors occurred

GDB compilation fails with MSYS2 under Windows

岁酱吖の 提交于 2021-01-29 08:02:28
问题 I need to compile GDB for OS Linux targets but with Windows host OS. (The goal is to have possibility to run GDB client on Windows and connect it to the gdbserver running on Linux). I'm using GDB sources v 9.2 and the following configure command: ../configure --build=x86_64-w64-mingw64 --target=x86_64-unknown-linux-gnu It's running from the build directory inside gdb golder. And I'm getting the following error: mkdir -p -- nat/.deps CXX gdb.o CXX ada-exp.o ada-exp.y: In function 'int ada

Cannot install Algorithm::AhoCorasick::XS on Windows 10, MSYS2: ‘sigjmp_buf’ does not name a type; did you mean ‘Sigjmp_buf’

爷,独闯天下 提交于 2021-01-28 06:08:43
问题 I am trying to install Algorithm::AhoCorasick::XS on Windows 10, MSYS2: $ perl Makefile.PL Generating a Unix-style Makefile Writing Makefile for Algorithm::AhoCorasick::XS Writing MYMETA.yml and MYMETA.json cp lib/Algorithm/AhoCorasick/XS.pm blib/lib/Algorithm/AhoCorasick/XS.pm Running Mkbootstrap for XS () chmod 644 "XS.bs" "/usr/bin/perl.exe" -MExtUtils::Command::MM -e 'cp_nonempty' -- XS.bs blib/arch/auto/Algorithm/AhoCorasick/XS/XS.bs 644 g++ -c -Wall -std=c++11 -DUSEIMPORTLIB -march=x86

How to fix: PyInstaller in MSYS2 MinGW 'Your platform is not yet supported'

↘锁芯ラ 提交于 2021-01-27 12:59:44
问题 I'm trying to package my GTK3+ Python 3 script using PyInstaller on Windows 10. GTK3+ and the Python bindings are installed and working, using MSYS2 MinGW as per the GTK+ instructions. In MSYS2 MinGW, when I type: pip3 install pyinstaller I get the error: Your platform is not yet supported. Please define constant PYDYLIB_NAMES for your platform. So I attempted to install PyInstaller manually from Windows PowerShell by downloading and extracting the tar.gz file for PyInstaller and then running

Qt GUI theme looks old-fashioned

﹥>﹥吖頭↗ 提交于 2020-12-29 05:20:25
问题 When I cross-compile Qt 5.8.0 from source myself and use it to build the Qt "Dynamic Layouts" example from Qt Widgets for Microsoft Windows, it looks old-fashioned, as if it were running on Windows 2000, as shown in the left window below. However, if I compile the exact same program using the pre-built mingw-w64-x86_64-qt5-static package (version 5.8.0-1) from MSYS2, it looks like a nice modern Windows application, as shown in the right window below. How can I fix my version of Qt so that