gcc - Caffe Build Error in Windows 10 -
i'm trying build caffe in windows 10 following instructions here. have installed prerequisites , dependencies. i'm getting following error.
-- c compiler identification unknown -- cxx compiler identification gnu 6.3.0 -- check working c compiler: c:/mingw/bin/gcc.exe -- check working c compiler: c:/mingw/bin/gcc.exe -- broken cmake error @ c:/program files/cmake/share/cmake- 3.9/modules/cmaketestccompiler.cmake:51 (message): c compiler "c:/mingw/bin/gcc.exe" not able compile simple test program. fails following output: change dir: c:/caffe/caffe/build/cmakefiles/cmaketmp run build command:"c:/ninja/ninja.exe" "cmtc_6595e" [1/2] building c object cmakefiles\cmtc_6595e.dir\testccompiler.c.obj failed: cmakefiles/cmtc_6595e.dir/testccompiler.c.obj c:\mingw\bin\gcc.exe -o cmakefiles\cmtc_6595e.dir\testccompiler.c.obj -c testccompiler.c ninja: build stopped: subcommand failed. cmake not able correctly generate project. call stack (most recent call first): cmakelists.txt:18 (project) -- configuring incomplete, errors occurred! see "c:/caffe/caffe/build/cmakefiles/cmakeoutput.log". see "c:/caffe/caffe/build/cmakefiles/cmakeerror.log". error: configure failed
i searched solution , tried different things nothing solve problem. regard highly appreciated.
thanks in advance!
i figured out. problem c compiler in computer - gcc. reinstalled compiler , following 2 lines cmakelist.txt file according this solution,
set(cmake_c_compiler "c:/mingw/bin/gcc.exe") set(cmake_cxx_compiler "c:/mingw/bin/g++.exe")
Comments
Post a Comment