
NOTE: Code::Blocks EDU-Portable is a Windows portable application (NT, XP, Vista, Windows 7). The EDU-Portable configuration of Code::Blocks provides easy, one-click installation as a portable application under Windows. The Code::Blocks EDU-Portable interface, integrated help, tools and default compilation settings are all configured for ease of learning C and C++.

Mingw32-make: *** Error 1ĬMake will not be able to correctly generate this project.Code::Blocks is an open source, free, configurable programming environment for C or C++. (x86)/CodeBlocks/MinGW/bin/mingw32-make -fĬMakeFiles/cmTr圜ompileExec437970983.dir/build' usr/bin/sh: -c: line 0: `C:/Program Files usr/bin/sh: -c: line 0: Erreur de syntaxe près du symbole inattendu « ( (x86)/CodeBlocks/MinGW/bin/mingw32-make.exeĬ:/Program Files (x86)/CodeBlocks/MinGW/bin/mingw32-make -fĬMakeFiles/cmTr圜ompileExec437970983.dir/build.makeĬMakeFiles/cmTr圜ompileExec437970983.dir/build The C compiler "C:/Program Files (x86)/Microsoft Visual Studioġ0.0/VC/bin/cl.exe" is not able to compile a simple test program.Ĭhange Dir: /cygdrive/d/sources/tests/testOSG/build_CodeBlocks/CMakeFiles/CMakeTmp Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 10.0/VC/bin/cl.exe - brokenĬMake Error at /usr/share/cmake-2.8.9/Modules/CMakeTestCCompiler.cmake:52 (MESSAGE): Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 10.0/VC/bin/cl.exe Defining WIN32 under Cygwin due to CMAKE_LEGACY_CYGWIN_WIN32 The CXX compiler identification is unknown

Set CMAKE_CXX_COMPILER=C:/Progra~2/Microsoft Visual Studio 10.0/VC/bin/cl.exeĮdit : adding the path to the compiler helps, but there's still an error : - The C compiler identification is unknown Set CMAKE_C_COMPILER=C:/Progra~2/Microsoft Visual Studio 10.0/VC/bin/cl.exe

I tried to set those problematic variables, but result is the same : set CMAKE_MAKE_PROGRAM=C:/Progra~2/CodeBlocks/MinGW/bin/mingw32-make.exe Configuring incomplete, errors occurred! You probably need to select a different build tool.ĬMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.ĬMake Error: Could not find cmake module file:D:/sources/tests/testOSG/build_CodeBlocks/CMakeFiles/CMakeCCompiler.cmakeĬMake Error: Could not find cmake module file:D:/sources/tests/testOSG/build_CodeBlocks/CMakeFiles/CMakeCXXCompiler.cmakeĬMake Error: CMAKE_C_COMPILER not set, after EnableLanguageĬMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage G"CodeBlocks - Unix Makefiles"Īnd output is : CMake Error: CMake was unable to find a build program corresponding to "Unix Makefiles".

I'm trying to use CMake to code with CodeBlocks under Windows.
