libftdi Archives

Subject: Re: libftdi git building under Cygwin/MinGW

From: Xiaofan Chen <xiaofanc@xxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Wed, 16 Jun 2010 19:06:52 +0800
On Wed, Jun 16, 2010 at 4:52 PM, Xiaofan Chen <xiaofanc@xxxxxxxxx> wrote:

>> Maybe Uwe has an idea about cmake + cygwin.
> I will try a bit more and post the relevant information.
>
> This will probably not affecting many users since the
> released tar ball (already bootstrapped) will most
> likely be fine under Cygwin (not 0.17 though).


mcuee@AcerPC ~/mcu/libftdi/libftdi/build
$ cmake ..
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc.exe
-- Check for working C compiler: /usr/bin/gcc.exe -- broken
CMake Error at /usr/share/cmake-2.6.4/Modules/CMakeTestCCompiler.cmake:32 (MESSA
GE):
  The C compiler "/usr/bin/gcc.exe" is not able to compile a simple test
  program.

  It fails with the following output:

   Change Dir: /home/mcuee/mcu/libftdi/libftdi/build/CMakeFiles/CMakeTmp

  Run Build Command:/cygdrive/c/strawberry/c/bin/gmake.exe
  "cmTryCompileExec/fast"

  C:/strawberry/c/bin/gmake -f CMakeFiles/cmTryCompileExec.dir/build.make
  CMakeFiles/cmTryCompileExec.dir/build

  gmake[1]: Entering directory
  `C:/cygwin/home/mcuee/mcu/libftdi/libftdi/build/CMakeFiles/CMakeTmp'

  /usr/bin/cmake.exe -E cmake_progress_report
  /home/mcuee/mcu/libftdi/libftdi/build/CMakeFiles/CMakeTmp/CMakeFiles 1

  gmake[1]: Leaving directory
  `C:/cygwin/home/mcuee/mcu/libftdi/libftdi/build/CMakeFiles/CMakeTmp'

  process_begin: CreateProcess(NULL, /usr/bin/cmake.exe -E
  cmake_progress_report
  /home/mcuee/mcu/libftdi/libftdi/build/CMakeFiles/CMakeTmp/CMakeFiles 1,
  ...) failed.

  make (e=3): The system cannot find the path specified.

  gmake[1]: *** [CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.o] Error 3

  gmake: *** [cmTryCompileExec/fast] Error 2


  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:2 (project)

-- Configuring incomplete, errors occurred!


-- 
Xiaofan http://mcuee.blogspot.com

--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx   

Current Thread