curl-library
Problems builing curl library using cmake through VS 2008 x64 project file
Date: Wed, 23 Jun 2010 15:58:24 +0200
I hope this is an appropriate place to write this question to.
I'm trying to build libcurl project using Visual Studio 2008 for x64
platform (while I'm working on x86).
I've created the project and solution files by running cmake command:
D:\Programming\Libs\curl-7.21.0> cmake "Visual Studio 8 2005 Win64" .
However, when trying to build generated solution, I receive tons of erros
messages:
1>D:\Programming\Libs\curl-7.21.0\include\curl/curlbuild.h(160) : error
C2061: syntax error : identifier 'curl_off_t'
1>D:\Programming\Libs\curl-7.21.0\include\curl/curlrules.h(94) : fatal error
C1189: #error : "CURL_TYPEOF_CURL_OFF_T definition is missing!"
I searched for this identifier to find next line CMakeLists.txt:
if(NOT CURL_TYPEOF_CURL_OFF_T)
set(CURL_TYPEOF_CURL_OFF_T ${ssize_t})
As far as I understand, CMake should have supplied somehow those defines to
be included in compilation, however this hasn't happened.
Could you please explain what am I doing wrong and what should be done to
build curl library ?
-- Best regards, Andrey Yanov
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-06-23