Compiling pfstools v.2.0.6 on Cygwin

133 views
Skip to first unread message

matthias...@etu.enseeiht.fr

unread,
Jun 14, 2017, 6:47:41 PM6/14/17
to pfstools
Hello everyone. I'm trying to compile pfstools on Windows 10 using Cygwin and I get an error.
Here are my steps :
cd pfstools-2.0.6
mkdir build
cd build
cmake ../

Here are the errors I get :

$ cmake ../
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- broken
CMake Error at /usr/share/cmake-3.6.2/Modules/CMakeTestCCompiler.cmake:61 (message):
  The C compiler "/usr/bin/cc" is not able to compile a simple test program.

  It fails with the following output:

   Change Dir: /cygdrive/c/Users/mathias.ramirez/Desktop/Tests/pfstools-2.0.6/pfstools-2.0.6/CMakeFiles/CMakeTmp



  Run Build Command:"/cygdrive/c/MinGW_64/bin/gmake.exe" "cmTC_4a61e/fast"

  C:/MinGW_64/bin/gmake -f CMakeFiles/cmTC_4a61e.dir/build.make
  CMakeFiles/cmTC_4a61e.dir/build

  gmake[1]: Entering directory
  'C:/Users/mathias.ramirez/Desktop/Tests/pfstools-2.0.6/pfstools-2.0.6/CMakeFiles/CMakeTmp'


  Building C object CMakeFiles/cmTC_4a61e.dir/testCCompiler.c.o

  /usr/bin/cc -o CMakeFiles/cmTC_4a61e.dir/testCCompiler.c.o -c
  /cygdrive/c/Users/mathias.ramirez/Desktop/Tests/pfstools-2.0.6/pfstools-2.0.6/CMakeFiles/CMakeTmp/testCCompiler.c


  CMakeFiles/cmTC_4a61e.dir/build.make:65: recipe for target
  'CMakeFiles/cmTC_4a61e.dir/testCCompiler.c.o' failed

  process_begin: CreateProcess(NULL, /usr/bin/cc -o
  CMakeFiles/cmTC_4a61e.dir/testCCompiler.c.o -c
  /cygdrive/c/Users/mathias.ramirez/Desktop/Tests/pfstools-2.0.6/pfstools-2.0.6/CMakeFiles/CMakeTmp/testCCompiler.c,
  ...) failed.

  make (e=2): Le fichier sp▒cifi▒ est introuvable.

  gmake[1]: *** [CMakeFiles/cmTC_4a61e.dir/testCCompiler.c.o] Error 2

  gmake[1]: Leaving directory
  'C:/Users/mathias.ramirez/Desktop/Tests/pfstools-2.0.6/pfstools-2.0.6/CMakeFiles/CMakeTmp'


  Makefile:126: recipe for target 'cmTC_4a61e/fast' failed

  gmake: *** [cmTC_4a61e/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!
See also "/cygdrive/c/Users/mathias.ramirez/Desktop/Tests/pfstools-2.0.6/pfstools-2.0.6/CMakeFiles/CMakeOutput.log".
See also "/cygdrive/c/Users/mathias.ramirez/Desktop/Tests/pfstools-2.0.6/pfstools-2.0.6/CMakeFiles/CMakeError.log".

Rafal

unread,
Jun 14, 2017, 6:53:34 PM6/14/17
to pfstools
On Wednesday, 14 June 2017 23:47:41 UTC+1, matthias...@etu.enseeiht.fr wrote:
Hello everyone. I'm trying to compile pfstools on Windows 10 using Cygwin and I get an error.


This looks like an issue with cygwin installation. Please make sure that the following packages are installed (version may be slightly different):

 - gcc-g++-5.4.0-1
 - libIlmImf-devel-2.2.0-1
 - openexr-2.2.0-1
 - libMagick-devel-6.9.5.7-2
 - libMagickC++6_6-6.9.5.7-2
 - cmake-3.6.2-1
 - libnetpbm-devel-10.78.00-1
 - libtiff-devel-4.0.6-1
 - git-2.12.3-1
 - make-4.2.1-2
 - fftw3-3.3.5-1
 - gsl-2.3-2
 - libonpencv-devel-3.2.0-1

Rafal
 
Reply all
Reply to author
Forward
0 new messages