Please can someone advise me how I can build SDL2 libraries with CodeBlocks and the non bundled mingw compiler? Thank you. The CXX compiler identification is unknown Libgmp-10.dll is mising from my computer. If I specify the Codeblocks generator as my msys/mingw64 compiler I get the following:Ĭompilers are recognised but get CMAKE_MAKE_PROGRAM-NOTFOUND Run the installer and select the following packages: gcc-g gdb To select a package, type its name in the Search field and set the version in the New column: Once the installation is finished, open CLion and go to File Settings Build, Execution, Deployment Toolchains. You probably need to select a different build tool.ĬMake Error: CMAKE_C_COMPILER not set, after EnableLanguageĬMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage CodeBlocks is an open-source, cross-platform (Windows, Linux, MacOS), and free C/C IDE. Cygwin Download the Cygwin installer, version 2.8 or later. I was following the instructions here ( Install SDL With Code Blocks - YouTube ) but the process does not work, probably because I am using an alternative compiler in a different place.ĬMake Error: CMake was unable to find a build program corresponding to “MinGW Makefiles”. The default compiler that this Code Blocks packet comes with is MinGW. I have the SDL2 sourcecode for version 2.0.20. Make sure that you have installed Cygwin at least with the GCC, G and GDB packages. It is tested and works fine with CodeBlocks when selected. I have the msys compiler with both 32 and 64 bit versions of mingw installed in c:/msys/mingw64 which is the one I want to use. Installing UnitTest Follow these instructionsto install the UnitTest unit testing framework for C . To turn this warning off: Using these instructions, create a Userenvironment variable CYGWINwith the value nodosfilewarning. Please note that this is CodeBlocks without the bundled mingw compiler. Code::Blocks uses a Windows-style pathname like C:\Cygwin\bin\gcc. I will list the versions then the errors below. I’m getting errors when trying to select configure for building SDL2 using CodeBlocks and the non bundled mingw compiler. Code::Blocks is a free C/C and Fortran IDE built to meet the most demanding needs of its users.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |