|
From: Mirko V. <mir...@gm...> - 2015-03-27 00:02:51
|
On Thu, Mar 26, 2015 at 5:23 PM, David Macek <dav...@gm...> wrote: > These steps work for me: > > 1) run MINGW64 shell > 2) go to the interp2d directory > 3) cmake -G "MSYS Makefiles" > 4) make > stuff deleted Hi David, Thanks for checking. Your suggestion did not work for me. Here is my transcript: >cmake --version cmake version 3.1.2 CMake suite maintained and supported by Kitware (kitware.com/cmake). /e/external-libraries/interp2d >echo $MSYSTEM MINGW64 /e/external-libraries/interp2d >cmake -G "MSYS Makefiles" CMake Error: Could not create named generator MSYS Makefiles /e/external-libraries/interp2d Here is the full transcript of the failed session. Maybe I don't have my msys2/minGW64 configured properly >cmake . -- The C compiler identification is GNU 4.9.2 -- The CXX compiler identification is GNU 4.9.2 System is unknown to cmake, create: Platform/MINGW64_NT-6.1 to use this system, please send your config file to cm...@ww... so it can be added to cmake Your CMakeCache.txt file was copied to CopyOfCMakeCache.txt. Please send that file to cm...@ww.... -- Check for working C compiler: /e/msys64/mingw64/bin/gcc.exe System is unknown to cmake, create: Platform/MINGW64_NT-6.1 to use this system, please send your config file to cm...@ww... so it can be added to cmake -- Check for working C compiler: /e/msys64/mingw64/bin/gcc.exe -- broken CMake Error at /usr/share/cmake-3.1.2/Modules/CMakeTestCCompiler.cmake:61 (message): The C compiler "/e/msys64/mingw64/bin/gcc.exe" is not able to compile a simple test program. It fails with the following output: Change Dir: /e/external-libraries/interp2d/CMakeFiles/CMakeTmp Run Build Command:"/e/msys64/usr/bin/make.exe" "cmTryCompileExec199705947/fast" /usr/bin/make -f CMakeFiles/cmTryCompileExec199705947.dir/build.make CMakeFiles/cmTryCompileExec199705947.dir/build make[1]: Entering directory '/e/external-libraries/interp2d/CMakeFiles/CMakeTmp' /usr/bin/cmake.exe -E cmake_progress_report /e/external-libraries/interp2d/CMakeFiles/CMakeTmp/CMakeFiles 1 make[1]: /usr/bin/cmake.exe: Command not found CMakeFiles/cmTryCompileExec199705947.dir/build.make:57: recipe for target 'CMakeFiles/cmTryCompileExec199705947.dir/testCCompiler.c.obj' failed make[1]: Leaving directory '/e/external-libraries/interp2d/CMakeFiles/CMakeTmp' make[1]: *** [CMakeFiles/cmTryCompileExec199705947.dir/testCCompiler.c.obj] Error 127 Makefile:118: recipe for target 'cmTryCompileExec199705947/fast' failed make: *** [cmTryCompileExec199705947/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 "/e/external-libraries/interp2d/CMakeFiles/CMakeOutput.log". See also "/e/external-libraries/interp2d/CMakeFiles/CMakeError.log". > > See transcript of my session: > > user@machine MINGW64 ~/interp2d-master > $ cmake -G "MSYS Makefiles" > -- The C compiler identification is GNU 4.9.2 > -- The CXX compiler identification is GNU 4.9.2 > -- Check for working C compiler: D:/msys64/mingw64/bin/gcc.exe > -- Check for working C compiler: D:/msys64/mingw64/bin/gcc.exe -- works > -- Detecting C compiler ABI info > -- Detecting C compiler ABI info - done > -- Detecting C compile features > -- Detecting C compile features - done > -- Check for working CXX compiler: D:/msys64/mingw64/bin/g++.exe > -- Check for working CXX compiler: D:/msys64/mingw64/bin/g++.exe -- works > -- Detecting CXX compiler ABI info > -- Detecting CXX compiler ABI info - done > -- Detecting CXX compile features > -- Detecting CXX compile features - done > -- Found PkgConfig: D:/msys64/mingw64/bin/pkg-config.exe (found version "0.28") > -- checking for module 'gsl >= 1.10' > -- found gsl , version 1.16 > -- Found Doxygen: D:/msys64/usr/bin/doxygen.exe (found version "1.8.9.1") > -- Configuring done > -- Generating done > -- Build files have been written to: <snip>/interp2d-master > > user@machine MINGW64 ~/interp2d-master > $ make > Scanning dependencies of target interp2d_static > [ 20%] Building C object CMakeFiles/interp2d_static.dir/bilinear.c.obj > [ 40%] Building C object CMakeFiles/interp2d_static.dir/bicubic.c.obj > [ 60%] Building C object CMakeFiles/interp2d_static.dir/interp2d.c.obj > [ 80%] Building C object CMakeFiles/interp2d_static.dir/interp2d_spline.c.obj > Linking C static library libinterp2d.a > [ 80%] Built target interp2d_static > Scanning dependencies of target interp2dtest > [100%] Building C object CMakeFiles/interp2dtest.dir/test.c.obj > Linking C executable interp2dtest.exe > [100%] Built target interp2dtest > > user@machine MINGW64 ~/interp2d-master > $ ./interp2dtest.exe > Completed [1372/1372] > > -- > David Macek > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for all > things parallel software development, from weekly thought leadership blogs to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Msys2-users mailing list > Msy...@li... > https://lists.sourceforge.net/lists/listinfo/msys2-users > |