Когда я пытаюсь скомпилировать cmake2.8.12.2 из источников в системе MinGW MSYS2, я подвожу следующее сообщение об ошибке после запуска ш самозагрузки:Составление CMake терпит неудачу
марка: Нет правила, чтобы сделать цель «/ cygdrive /e/software/pkg/cmake-2.8.12.2/Source /cmStandardIncludes.cxx ', необходимый для' cmStandardIncludes.o '. Стоп.
Я проверил исходную директорию и нашел cmStandardIncludes.cxx.Контактная помощь в этом отношении. Спасибо.
Выход:
E:\software\pkg\cmake-2.8.12.2>sh bootstrap
---------------------------------------------
CMake 2.8.12.2, Copyright 2000-2012 Kitware, Inc.
C compiler on this system is: gcc
C++ compiler on this system is: g++
Makefile processor on this system is: make
g++ is GNU compiler
g++ does not have setenv
g++ does not have unsetenv
g++ has environ in stdlib.h
g++ has STL in std:: namespace
g++ has ANSI streams
g++ has streams in std:: namespace
g++ has sstream
g++ has operator!=(string, char*)
g++ has stl iterator_traits
g++ has standard template allocator
g++ has allocator<>::rebind<>
g++ does not have non-standard allocator<>::max_size argument
g++ has stl containers supporting allocator objects
g++ has header cstddef
g++ requires template friends to use <>
g++ supports member templates
g++ has standard template specialization syntax
g++ has argument dependent lookup
g++ does not have struct stat with st_mtim member
g++ has ios::binary openmode
g++ has ANSI for scoping
---------------------------------------------
make: *** No rule to make target '/cygdrive/e/software/pkg/cmake-2.8.12.2/Source
/cmStandardIncludes.cxx', needed by 'cmStandardIncludes.o'. Stop.
---------------------------------------------
Error when bootstrapping CMake:
Problem while running make
---------------------------------------------
Log of errors: /cygdrive/e/software/pkg/cmake-2.8.12.2/Bootstrap.cmk/cmake_boots
trap.log
---------------------------------------------
Большое спасибо за ваше предложение. Я переименовал sh в sh1 и использовал MinGW Makefiles generatoor для компиляции cmake. Сборка прошла успешно. – arnknr
добро пожаловать. – Danduk82