|
在用CMAKE(2.8.2)生成CURL(7.21.1)的sln时 , configure出现错误如下:
CMake Error: Error in cmake code at
D:/curl-7.21.1/BUILD/lib/Makefile.inc.cmake:7:
Parse error. Expected a command name, got right paren with text ")".
CMake Error at lib/CMakeLists.txt:9 (include):
include could not find load file:
D:/curl-7.21.1/BUILD/lib/Makefile.inc.cmake
CMake Error: Error in cmake code at
D:/curl-7.21.1/BUILD/src/Makefile.inc.cmake:7:
Parse error. Expected a command name, got right paren with text ")".
CMake Error at src/CMakeLists.txt:12 (include):
include could not find load file:
D:/curl-7.21.1/BUILD/src/Makefile.inc.cmake
CMake Error at src/CMakeLists.txt:18 (add_executable):
add_executable called with incorrect number of arguments
CMake Error at src/CMakeLists.txt:36 (target_link_libraries):
Cannot specify link libraries for target "curl" which is not built by this
project.
Configuring incomplete, errors occurred!
由于刚接触,对CMAKE不是很了解,请高人指点,谢谢!!!! |
|