I'm using external cmake with msys2, since cmake-gui provided by msys2 won't run (invalid win32 application). Now the problem is there's only so much I can configure using cmake-gui. I downloaded OpenALSoft today and when I ran make install it installed to C:\Program Files (x86)\. How do I configure external cmake to install into mingw32 or mingw64 depending on what's running? On top of that, I'm having a problem differentiating between PATH RPATH and PREFIX (and how those correspond to msys2 install structure), so if you could, please, clarify those too, I'd really appreciate that.
How to configure cmake for msys2
6.1k views Asked by George Hovhannisian At
1
There are 1 answers
Related Questions in CMAKE
- Build issue in my STM32-NUCLEO project using the Eclipse IDE
- CMake: "dereference" INCLUDE commands to create a single CMakeLists.txt
- Conda CMAKE CXX Compiler error while compiling Pytorch
- How to setup nist nbis in raspbian raspberry pi 4
- Compiling c++ code by VS Code is always blocked by clang-tidy error 'Error running 'clang-tidy'
- library X11_Xmu_LIB is not found
- Cannot build a basic project with curl on Mac (M2) for Raspberry Pi Pico
- How to install spdlog library?
- How to generate vulkan project so it is cross-platform? (Using CMake)
- If target A depends on B, are B's POST_BUILD commands guaranteed to be executed before A starting to build?
- i have installed qt version 6.0.3 and this error QMYSQL driver not loaded displaying again and again
- Configure CmakeLists.txt to avoid manually copying dlls
- Cmake is not building an executable
- How to use "wx_dpi_aware.manifest" of wxWidgets wxMSW with MinGW and CMake?
- Try to Install GLFW on Steam Deck
Related Questions in MSYS2
- How to install CMAKE on MSYS2 or MINGW64? (all servers return 404)
- How to obtain mingw-w64 version 9.3.0 or older for MSYS2?
- Running clang64.exe or mingw64.exe incorrectly sets PATH
- WxWidgets configure: error: C compiler cannot create executables
- Install of MINGW fails when installing from MSYS2
- How can I move my MSYS2 folder to another folder (both in the D driver) if possible?
- Git Bash not exiting while loop, while bash in ubuntu does
- Msys2: Python 2.7 and Python 3.8 side by side, how to load correct site.py
- Troubleshooting MSYS64 Installation Issues
- Using VSCode and CMake, how do I get CMake to recognize Eigen3Config.cmake installed through MSYS2?
- why is there no mysql connector cpp package in msys2?
- Installing Dune with the help of Opam
- Different environment of MSYS2 MINGW64 shell as standalone terminal and in Visual Studio Code
- Installing GIT within MSYS2 on Windows 11
- OCaml with MSYS2 on Windows: Unbound module stdlib
Related Questions in CMAKE-GUI
- CMake Installation Error in Bootstrapping Step
- DNEG xStudio Install Cmake Deprecation Warning and CMake Error Failed to ensurepip
- error 'the source directory does not appear to contain CMakeLists.txt'
- where is 'bootstrap'? can't install CMake
- Segmentation fault in google test
- How to fix CMake Error Could NOT find OpenSSL missing: OPENSSL_CRYPTO_LIBRARY when configuring Azerothcore
- CMake gui on MacOS
- Github repository giving an error while building in PyCharm venv
- OpenCV configuration
- CMake not finding Boost program_options building PokerStove on Windows 10
- GNU autotools: cmake gui to configure conversion
- Dependency of dependency not being found when using CMake
- how to run cmake file to generate .a file
- How can I link my CMake project to BOOST::python that using conan?
- How to generate .elf by using Cmake tool
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
I always use this invocation to make sure the install directory is set to
/mingw32or/mingw64:And then when you want to install the built project, you must do this:
All of this trickiness is due to the fact that CMake is a native Windows program that does not understand MSYS2-style paths like
/, and MSYS2 has some automatic conversions of paths that happen when it detects you are running a native Windows program like CMake.By the way, MSYS2's
cmake-guiworks for me, so maybe you should try reinstalling the CMake package in MSYS2 or something. However, I expect my answer to work for both the external CMake and the one in MSYS2.