assim?
aqui o error code:
The C compiler identification is GNU 3.4.5
The CXX compiler identification is unknown
Check for working C compiler: C:/MinGW/bin/gcc.exe
Check for working C compiler: C:/MinGW/bin/gcc.exe -- broken
CMake Error at C:/Program Files (x86)/CMake/share/cmake-3.0/Modules/CMakeTestCCompiler.cmake:61 (message):
The C compiler "C:/MinGW/bin/gcc.exe" is not able to compile a simple test
program.
It fails with the following output:
Change Dir: C:/Users/Manuel/Documents/CMakeFiles/CMakeTmp
Run Build Command:"C:/MinGW/bin/mingw32-make.exe"
"cmTryCompileExec2280780315/fast"
C:/MinGW/bin/mingw32-make.exe -f
CMakeFiles\cmTryCompileExec2280780315.dir\build.make
CMakeFiles/cmTryCompileExec2280780315.dir/build
mingw32-make.exe[1]: Entering directory
'C:/Users/Manuel/Documents/CMakeFiles/CMakeTmp'
"C:\Program Files (x86)\CMake\bin\cmake.exe" -E cmake_progress_report
C:\Users\Manuel\Documents\CMakeFiles\CMakeTmp\CMakeFiles 1
Building C object
CMakeFiles/cmTryCompileExec2280780315.dir/testCCompiler.c.obj
C:\MinGW\bin\gcc.exe -o
CMakeFiles\cmTryCompileExec2280780315.dir\testCCompiler.c.obj -c
C:\Users\Manuel\Documents\CMakeFiles\CMakeTmp\testCCompiler.c
Linking C executable cmTryCompileExec2280780315.exe
"C:\Program Files (x86)\CMake\bin\cmake.exe" -E cmake_link_script
CMakeFiles\cmTryCompileExec2280780315.dir\link.txt --verbose=1
C:\MinGW\bin\gcc.exe
-Wl,@CMakeFiles\cmTryCompileExec2280780315.dir\objects1.rsp -o
cmTryCompileExec2280780315.exe
-Wl,--out-implib,libcmTryCompileExec2280780315.dll.a
-Wl,--major-image-version,0,--minor-image-version,0 -lkernel32 -luser32
-lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32
-ladvapi32
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../mingw32/lib/crt2.o: En la
función `_mingw_setargv':
e:\p\giaw\src\pkg\mingwrt-4.0.3-1-mingw32-src\bld/../mingwrt-4.0.3-1-mingw32-src/src/libcrt/crt/init.c:111:
referencia a `__chkstk_ms' sin definir
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../mingw32/lib/libmingwex.a(glob.o):
En la función `glob_match':
e:\p\giaw\src\pkg\mingwrt-4.0.3-1-mingw32-src\bld/../mingwrt-4.0.3-1-mingw32-src/src/libcrt/misc/glob.c:733:
referencia a `__chkstk_ms' sin definir
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../mingw32/lib/libmingwex.a(glob.o):
En la función `glob_strdup':
e:\p\giaw\src\pkg\mingwrt-4.0.3-1-mingw32-src\bld/../mingwrt-4.0.3-1-mingw32-src/src/libcrt/misc/glob.c:85:
referencia a `__chkstk_ms' sin definir
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../mingw32/lib/libmingwex.a(glob.o):
En la función `glob_match':
e:\p\giaw\src\pkg\mingwrt-4.0.3-1-mingw32-src\bld/../mingwrt-4.0.3-1-mingw32-src/src/libcrt/misc/glob.c:841:
referencia a `__chkstk_ms' sin definir
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../mingw32/lib/libmingwex.a(glob.o):
En la función `glob_strdup':
e:\p\giaw\src\pkg\mingwrt-4.0.3-1-mingw32-src\bld/../mingwrt-4.0.3-1-mingw32-src/src/libcrt/misc/glob.c:85:
referencia a `__chkstk_ms' sin definir
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../mingw32/lib/libmingwex.a(glob.o):e:\p\giaw\src\pkg\mingwrt-4.0.3-1-mingw32-src\bld/../mingwrt-4.0.3-1-mingw32-src/src/libcrt/misc/glob.c:85:
más referencias a `__chkstk_ms' sin definir a continuación
collect2: ld returned 1 exit status
CMakeFiles\cmTryCompileExec2280780315.dir\build.make:88: recipe for target
'cmTryCompileExec2280780315.exe' failed
mingw32-make.exe[1]: *** [cmTryCompileExec2280780315.exe] Error 1
mingw32-make.exe[1]: Leaving directory
'C:/Users/Manuel/Documents/CMakeFiles/CMakeTmp'
Makefile:117: recipe for target 'cmTryCompileExec2280780315/fast' failed
mingw32-make.exe: *** [cmTryCompileExec2280780315/fast] Error 2
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:2 (project)
CMake Error at CMakeLists.txt:2 (project):
The CMAKE_CXX_COMPILER:
g++.exe
is not a full path and was not found in the PATH.
Tell CMake where to find the compiler by setting either the environment
variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
to the compiler, or to the compiler name if it is in the PATH.
Configuring incomplete, errors occurred!
See also "C:/Users/Manuel/Documents/CMakeFiles/CMakeOutput.log".
See also "C:/Users/Manuel/Documents/CMakeFiles/CMakeError.log".