[CMake] CMake: use new curl

Steven Van Ingelgem steven at vaningelgem.be
Thu Feb 19 06:35:23 EST 2009


Hi all,


How can I (on windows) do the following:

cmake .. -DCMAKE_USE_NEW_CURL=1

It always results in an error (upon compilation)?
Scanning dependencies of target cmcurl
[ 16%] Building C object
Utilities/cmcurl-7.19.0/lib/CMakeFiles/cmcurl.dir/file.obj
In file included from
C:\TEMP\CVS\CMake\Utilities\cmcurl-7.19.0\lib\setup.h:106,
                 from
C:\TEMP\CVS\CMake\Utilities\cmcurl-7.19.0\lib\file.c:24:
C:/TEMP/CVS/CMake/build/Utilities/cmcurl-7.19.0/include/curl/curlbuild.h:133:
error: syntax error before "curl_off_t"
C:/TEMP/CVS/CMake/build/Utilities/cmcurl-7.19.0/include/curl/curlbuild.h:133:
warning: data definition has no type or storage class
In file included from
C:\TEMP\CVS\CMake\Utilities\cmcurl-7.19.0\lib\setup.h:112,
                 from
C:\TEMP\CVS\CMake\Utilities\cmcurl-7.19.0\lib\file.c:24:
C:/TEMP/CVS/CMake/Utilities/cmcurl-7.19.0/include/curl/curlrules.h:144:
error: size of array `__curl_rule_02__' is negative
In file included from
C:\TEMP\CVS\CMake\Utilities\cmcurl-7.19.0\lib\cookie.h:35,
                 from
C:\TEMP\CVS\CMake\Utilities\cmcurl-7.19.0\lib\urldata.h:53,
                 from
C:\TEMP\CVS\CMake\Utilities\cmcurl-7.19.0\lib\file.c:74:
C:/TEMP/CVS/CMake/Utilities/cmcurl-7.19.0/include/curl/curl.h:196: error:
syntax error before "curl_off_t"
In file included from
C:\TEMP\CVS\CMake\Utilities\cmcurl-7.19.0\lib\urldata.h:53,
                 from
C:\TEMP\CVS\CMake\Utilities\cmcurl-7.19.0\lib\file.c:74:
C:\TEMP\CVS\CMake\Utilities\cmcurl-7.19.0\lib\cookie.h:43: error: syntax
error before "curl_off_t"
C:\TEMP\CVS\CMake\Utilities\cmcurl-7.19.0\lib\cookie.h:43: warning: no
semicolon at end of struct or union
C:\TEMP\CVS\CMake\Utilities\cmcurl-7.19.0\lib\cookie.h:54: error: syntax
error before '}' token
In file included from
C:\TEMP\CVS\CMake\Utilities\cmcurl-7.19.0\lib\urldata.h:54,
                 from
C:\TEMP\CVS\CMake\Utilities\cmcurl-7.19.0\lib\file.c:74:
C:\TEMP\CVS\CMake\Utilities\cmcurl-7.19.0\lib\formdata.h:79: error: syntax
error before "curl_off_t"
In file included from
C:\TEMP\CVS\CMake\Utilities\cmcurl-7.19.0\lib\file.c:74:
C:\TEMP\CVS\CMake\Utilities\cmcurl-7.19.0\lib\urldata.h:310: error: syntax
error before "curl_off_t"



Thanks,
Steven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20090219/697a391a/attachment.htm>


More information about the CMake mailing list