Re: yaml-cpp on cygwin
Hogren <[email protected]> Thu, 28 Apr 2016 11:33:00 +0200
| Newsgroups | gmane.text.yaml.general |
|---|---|
| Message-ID | <[email protected]> |
Hello World! Sorry ! I found the solution… cmake.exe -G "Unix Makefiles" .. I just learn the beginninge of the cmake manual (on the official site). I think that is the kind of things that we must to know when we are on Cygwin. May be a tiny note in the Install procedure can be useful. The make and make installation worked fine. I will be able to test the library :) Good bye all ! Hogren Le 26/04/2016 à 16:55, Hogren a écrit : > Hello world, > > I think to understand that yaml-cpp is not yet supported on Cygwin. > > I think that is principaly the CMake procedure that will must be > modified for this. > > Is there a current project to adapt it ? > > If I start it, anyone can give advices ? I have a small development > experience with Make but not with CMake, I will learn. > > > I post my CMake output, if anyone can confirm that it's CMake which > think that I am on Windows and not my Cygwin that is misconfigured : > > $ cmake .. > -- The C compiler identification is GNU 5.3.0 > -- The CXX compiler identification is GNU 5.3.0 > CMake Warning at /usr/share/cmake-3.3.2/Modules/Platform/CYGWIN.cmake:15 > (message): > CMake no longer defines WIN32 on Cygwin! > > (1) If you are just trying to build this project, ignore this warning or > quiet it by setting CMAKE_LEGACY_CYGWIN_WIN32=0 in your environment or in > the CMake cache. If later configuration or build errors occur then this > project may have been written under the assumption that Cygwin is WIN32. > In that case, set CMAKE_LEGACY_CYGWIN_WIN32=1 instead. > > (2) If you are developing this project, add the line > > set(CMAKE_LEGACY_CYGWIN_WIN32 0) # Remove when CMake >= 2.8.4 is > required > > at the top of your top-level CMakeLists.txt file or set the minimum > required version of CMake to 2.8.4 or higher. Then teach your project to > build on Cygwin without WIN32. > Call Stack (most recent call first): > /usr/share/cmake-3.3.2/Modules/CMakeSystemSpecificInformation.cmake:36 > (include) > CMakeLists.txt:22 (project) > > > -- Check for working C compiler: /usr/bin/cc > CMake Error: Generator: execution of make failed. Make command was: > "/cygdrive/c/msys/opt/windows_32/bin/gma ke.exe" "cmTC_a6b1f/fast" > -- Check for working C compiler: /usr/bin/cc -- broken > CMake Error at > /usr/share/cmake-3.3.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: > /home/cov_flhe/Documents/perso/programmation/cpp/mycanine_yaml_to_instance/yaml-cpp-release-0 > .5.3/build/CMakeFiles/CMakeTmp > > > > Run Build Command:"/cygdrive/c/msys/opt/windows_32/bin/gmake.exe" > "cmTC_a6b1f/fast" > > No such file or directory > > Generator: execution of make failed. Make command was: > "/cygdrive/c/msys/opt/windows_32/bin/gmake.exe" "cmTC_a6b1f/fast" > > > > > > CMake will not be able to correctly generate this project. > Call Stack (most recent call first): > CMakeLists.txt:22 (project) > > > -- Configuring incomplete, errors occurred! > See also > "/home/cov_flhe/Documents/perso/programmation/cpp/mycanine_yaml_to_instance/yaml-cpp-release-0.5.3/ > build/CMakeFiles/CMakeOutput.log". > See also > "/home/cov_flhe/Documents/perso/programmation/cpp/mycanine_yaml_to_instance/yaml-cpp-release-0.5.3/ > build/CMakeFiles/CMakeError.log". > > > > > I hope that I was clear in my mail. > > > Thanks all ! > > > Hogren > > > ------------------------------------------------------------------------------ > Find and fix application performance issues faster with Applications Manager > Applications Manager provides deep performance insights into multiple tiers of > your business applications. It resolves application problems quickly and > reduces your MTTR. Get your free trial! > https://ad.doubleclick.net/ddm/clk/302982198;130105516;z > _______________________________________________ > Yaml-core mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/yaml-core ------------------------------------------------------------------------------ Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z