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
  The C compiler "/usr/bin/gcc.exe" is not able to compile a simple test

  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

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

  gmake[1]: Entering directory

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

  gmake[1]: Leaving directory

  process_begin: CreateProcess(NULL, /usr/bin/cmake.exe -E
  /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!


libftdi - see for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx   

Current Thread