[CMake] Error when building CMake 2.8.11.2 on Win64 with VS2010

Miklos Espak espakm at gmail.com
Fri Sep 27 03:13:39 EDT 2013


Hi,

I get this error:

3>ClCompile:

3>  archive_read.c

3>..\..\..\..\cmake-2.8.11.2\Utilities\cmlibarchive\libarchive\archive_read.c(601):
error C2371: 'archive_read_data' : redefinition; different basic types

3>
c:\build\cmake-2.8.11.2\utilities\cmlibarchive\libarchive\archive.h(427) :
see declaration of 'archive_read_data'

3>  archive_virtual.c

3>..\..\..\..\cmake-2.8.11.2\Utilities\cmlibarchive\libarchive\archive_virtual.c(114):
error C2371: 'archive_write_data' : redefinition; different basic types

3>
c:\build\cmake-2.8.11.2\utilities\cmlibarchive\libarchive\archive.h(630) :
see declaration of 'archive_write_data'

3>..\..\..\..\cmake-2.8.11.2\Utilities\cmlibarchive\libarchive\archive_virtual.c(120):
error C2371: 'archive_write_data_block' : redefinition; different basic
types

3>
c:\build\cmake-2.8.11.2\utilities\cmlibarchive\libarchive\archive.h(634) :
see declaration of 'archive_write_data_block'

3>  Generating Code...

3>

3>Build FAILED.


I enabled the CMAKE_CTEST_USE_SSL option (or how it's called), other
options are left at their default.

Any idea?

Cheers,

Miklos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20130927/ae143341/attachment.htm>


More information about the CMake mailing list