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 best solutions below
Related Questions in CMAKE
- Error trying to generate Makefile for glBinding
- Why does CMake FILE(READ) ignore semicolons in my file?
- add_custom_command is not generating a target
- CMake: Enable '/arch:AVX2' in Visual Studio 2013 projects
- How can I dynamically link stdlibc++.o.6 to my executable from a specified directory using cmake?
- CMake `link_directories` for libstdc++.so
- How can I force CMake to look for a library in a specific directory?
- What is the difference between "${CMAKE_CURRENT_SOURCE_DIR}" and "." in INCLUDE_DIRECTORIES?
- add line in cmake to edit Makefile definition
- Cmake apparently ignoring CMAKE_BUILD_TYPE?
- Specifying path to pdb symbol file in cmake
- How to do code coverage in cmake
- CMake generated source is not compiled
- CMake simple MVC structure
- Cmake won't set the compiler standard to c++11?
Related Questions in MSYS2
- cURL link error with MinGW-w64 GCC on MSYS2
- GTK3: Mouse vanishes when using drag and drop
- Compiling GIMP from source code
- MSYS2 specify version of mingw32 or mingw64 gcc
- GtkOverlay not passing through input events
- only one instace of gtk applications allowed when compiler under windows msys2?
- Cmake FILE() command prepends other path to provided file path
- How to get native windows path inside msys python?
- CTRL+C does not work in msys2
- How to populate a GtkMenu with some GtkMenuItem and set its parent in Glade?
- How can I set the label of a GtkLinkButton in Glade?
- How to call msys2 find command from PowerShell with correct shell escape characters?
- compiling gtk+3 project with msys on windows
- How to configure cmake for msys2
- msys2, using standard windows console
Related Questions in CMAKE-GUI
- CMake error while configuring "install TARGETS given no RUNTIME DESTINATION for executable target "assimp_simpletexturedogl"."
- Cannot find -lgtk-x11-2.0. Also, some modules are not found by cmake, though they are installed
- Cmake errors: The CXX Compiler identification is unknown, The C compiler identification is unknown
- CMake User String Input
- CMake Error at IlmImf/cmake_install.cmake:84 (file): file INSTALL cannot find IlmImf.dll"
- CMake - set_property could not find CACHE variable
- could not find the following boost libraries
- Visual Studio compilers not visible by cmake
- Clear the "Where to build the binaries" history in cmake gui
- CMake FIND_LIBRARY works on Windows but not OS X
- How do i set Qt5Config.cmake path in fedora 20?
- Assimp model loading library install/linking troubles
- How to configure cmake for msys2
- Cmake gui resets parameter. How do I set parameter in cmake gui?
- OpenCV 3.2.0 cannot access to SURF/SIFT in xfeatures2d
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)
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?
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.