Cmake is Failing on the Account of --
| From: | Colin Diesh | Date: | Sun, 13 Jan 2008 01:14:45 +0000 |
| Subject: | Cmake is Failing on the Account of -- | ||
| Groups: | php.gd.devel | ||
| Request: | Send a blank email to php-gd-devel+get-314@lists.php.net to get a copy of this message | ||
I am trying to compile the libgd using cmake, but it is, unfortunately
failing
===============================================================
C:\msvc 8 bin>cmake -i C:\Bin\Libgdsrc
Would you like to see advanced options? [No]:no
Please wait while cmake processes CMakeLists.txt files....
CMake Error: Cannot find the CPack executable
CMake Error: Internal CMake error, TryCompile generation of cmake failed
CMake Error: The C compiler "C:/Program Files/Microsoft Visual Studio
8/VC/bin/cl.exe" is not able to compile a simple test program.
It fails with the following output:
CMake will not be able to correctly generate this project.
Variable Name: CMAKE_BACKWARDS_COMPATIBILITY
Description: For backwards compatibility, what version of CMake commands and
syntax should this version of CMake allow.
Current Value: 2.4
New Value (Enter to keep current value):
Variable Name: CMAKE_INSTALL_PREFIX
Description: Install path prefix, prepended onto install directories.
Current Value: C:/Program Files/GD
New Value (Enter to keep current value):
Variable Name: EXECUTABLE_OUTPUT_PATH
Description: Single output directory for building all executables.
Current Value: C:/
New Value (Enter to keep current value):
Variable Name: LIBRARY_OUTPUT_PATH
Description: Single output directory for building all libraries.
Current Value: C:/
New Value (Enter to keep current value):
Please wait while cmake processes CMakeLists.txt files....
CMake Error: Cannot find the CPack executable
C:\msvc 8 bin>
===============================================================
When I run it from inside the GUI
C:\msvc 8 bin>cmakesetup
Building for visual studio 2005
I get these message box errors
CMake Error: Error in cmake code at
C:/Bin/Libgdsrc/CMakeLists.txt:46:
INCLUDE Could not find include file: AC_HEADER_STDC
Current CMake stack:
[1] C:/Bin/Libgdsrc/CMakeLists.txt
CMake Error: Error in cmake code at
C:/Bin/Libgdsrc/CMakeLists.txt:47:
INCLUDE Could not find include file: CheckPrototypeExists
Current CMake stack:
[1] C:/Bin/Libgdsrc/CMakeLists.txt
CMake Error: Could not find PNG library
CMake Error: Error in configuration process, project files may be invalid
===============================================================
I have the compiled zlib, freetype, etc from
http://www.libgd.org/releases/extras/
There seems to be several problems with cmake not finding the standard
library, and not being able to compile simple things. What should I do?
I do need to compile the library myself because I am conflicting with the
VC6 /MT build
Regards,
Colin Diesh