I found at < https://code.google.com/p/android-cmake/source/browse/toolchain/android.toolchain.cmake?r=25d186d534477c063d780ac22a8c44bded2ca71d> this: "# Usage Windows: # You need native port of make to build your project. # For example this one: http://gnuwin32.sourceforge.net/packages/make.htm # # $ SET ANDROID_NDK=C:\<absolute path to NDK>\android-ndk-r6 # $ cmake.exe -G"Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE=<path to this file>\android.toolchain.cmake -DCMAKE_MAKE_PROGRAM=C:\<absolute path to make>\make.exe .. # $ C:\<absolute path to make>\make.exe"
*So maybe you can try make from: http://gnuwin32.sourceforge.net/packages/make.htm <http://gnuwin32.sourceforge.net/packages/make.htm>* 2014-08-06 17:49 GMT+02:00 <[email protected]>: > I've run it from CMD this time instead of Git Bash. Same results: > > C:\Users\IGEN006\WORKSPACE_C_CPP\PropWare>cmake -G "Unix Makefiles" . > -- The C compiler identification is GNU 4.6.1 > -- The CXX compiler identification is GNU 4.6.1 > -- The COGCXX compiler identification is GNU 4.6.1 > -- The ECOGC compiler identification is GNU 4.6.1 > -- The ECOGCXX compiler identification is GNU 4.6.1 > -- The ASM compiler identification is GNU > -- Found assembler: C:/software/propgcc/bin/propeller-elf-gcc > CMake Error at CMakeLists.txt:6 (project): > > > The CMAKE_C_COMPILER: > > > > C:/software/propgcc/bin/propeller-elf-gcc > > is not a full path to an existing compiler tool. > > > > Tell CMake where to find the compiler by setting either the environment > variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path > to > the compiler, or to the compiler name if it is in the PATH. > > > > Any ideas are greatly appreciated. > > > > Thanks, > > David > > > > -----Original Message----- > From: [email protected] > Sent: Tuesday, August 5, 2014 3:34pm > To: "Ivan Hrasko" <[email protected]> > Cc: [email protected] > Subject: Re: [CMake] Windows Path Issues > > Sorry about that. I am using "Git Bash" which is definitely a confusing > environment. The compiler is PropGCC - the target is an embedded system. > PropGCC ships with GNU Make 3.81 (and "make --version" confirms that is the > version of make in my PATH). > > > > Perhaps the output of "bash --version" will help: > > > > bash-3.1$ bash --version > GNU bash, version 3.1.0(1)-release (i686-pc-msys) > Copyright (C) 2005 Free Software Foundation, Inc. > bash-3.1$ > > > > Thanks, > > David > > > > -----Original Message----- > From: "Ivan Hrasko" <[email protected]> > Sent: Tuesday, August 5, 2014 2:26pm > To: [email protected] > Cc: [email protected] > Subject: Re: [CMake] Windows Path Issues > > 1. What your environment exactly is? It does not look like Windows only > (because I see in your log: bash-3.1$ cmake -G "Unix Makefiles" . ), so I > expect you are using something like Cygwin and when you use this kind of > environment you can > have problems with paths. For example > C:/software/propgcc/bin/propeller-elf-gcc > is not a valid path for Cygwin, because cygwin uses /cygdrive/ in its > path for things which are located in Windows. > 2. When I use cmake on Windows (just Windows, cmd, not Cygwin or else) I > use "MinGW Makefiles" not "Unix Makefiles" with GNU compilers. > > > 2014-08-05 19:56 GMT+02:00 <[email protected]>: > >> I'm generally a Linux guy but need this project to work on all three main >> platforms. >> >> >> >> I have my toolchain file working nicely in Linux, but for some reason I'm >> getting an error on Windows. Here's top of the console output: >> >> >> >> bash-3.1$ cmake -G "Unix Makefiles" . >> -- The C compiler identification is GNU 4.6.1 >> -- The CXX compiler identification is GNU 4.6.1 >> -- The COGCXX compiler identification is GNU 4.6.1 >> -- The ECOGC compiler identification is GNU 4.6.1 >> -- The ECOGCXX compiler identification is GNU 4.6.1 >> -- The ASM compiler identification is GNU >> -- Found assembler: C:/software/propgcc/bin/propeller-elf-gcc >> CMake Error at CMakeLists.txt:6 (project): >> The CMAKE_C_COMPILER: >> >> >> >> C:/software/propgcc/bin/propeller-elf-gcc >> >> >> >> is not a full path to an existing compiler tool. >> >> >> >> Tell CMake where to find the compiler by setting either the environment >> variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full >> path to >> the compiler, or to the compiler name if it is in the PATH. >> >> >> >> This doesn't make too much sense to me. Anyone know why it would find the >> compiler at first and then loose it? The path that it lists is perfectly >> valid. >> >> >> >> Thanks, >> >> David >> >> -- >> >> Powered by www.kitware.com >> >> Please keep messages on-topic and check the CMake FAQ at: >> http://www.cmake.org/Wiki/CMake_FAQ >> >> Kitware offers various services to support the CMake community. For more >> information on each offering, please visit: >> >> CMake Support: http://cmake.org/cmake/help/support.html >> CMake Consulting: http://cmake.org/cmake/help/consulting.html >> CMake Training Courses: http://cmake.org/cmake/help/training.html >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/cmake > > > > > -- > Ivan Hrasko > <[email protected]> > -- Ivan Hrasko <[email protected]>
-- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake
