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

Miklos Espak espakm at gmail.com
Fri Sep 27 08:30:32 EDT 2013


The latest version from the git repository builds fine.

Miklos



On 27 September 2013 08:13, Miklos Espak <espakm at gmail.com> wrote:

> 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/3e2fcdc7/attachment-0001.htm>


More information about the CMake mailing list