[ITK] [ITK-users] Building ITK 4.8.0 with Python wrapping in Visual Studio 2015

Paavolainen, Lassi lassi.paavolainen at jyu.fi
Tue Aug 25 08:54:47 EDT 2015


I'm trying to build ITK 4.8.0 with Python wrapping using Visual Studio 2015. Have anyone been successful in this? I know that with CastXML the Python wrapping issues were solved in ITK 4.8.0 so the issues might be related to Visual Studio 2015 instead of Python wrapping.

Here are some error messages I get. First in CMake I get
Debug Assertion Failed!
...\src\itkhdf5\CMake\CMakeFiles\CMakeTmp\Debug\cmTC_07479.exe
File: minkernel\crts\ucrt\inc\corecrt_internal_stdio_output.h
Expression: ("Invalid integer length modifier",0)
and
Checking for appropriate format for 64 bit long:
CMake: Width with l64 failed with result: FAILED_TO_RUN

same happens with a few other types as well. Maybe this already indicate coming issues. Anyway I went to build the solution which fails with
Error	C2664	'void llvm::BitstreamWriter::EmitRecordWithBlob<uint64_t>(unsigned int,llvm::SmallVectorImpl<uint64_t> &,llvm::StringRef)': cannot convert argument 3 from 'unsigned int *' to 'llvm::StringRef' [C:\ITK-4.8.0\Wrapping\Generators\CastXML\clang-prefix\src\clang-build\lib\Serialization\clangSerialization.vcxproj]	clang	C:\ITK-4.8.0\Wrapping\Generators\CastXML\cfe-3.6.0\lib\Serialization\ASTWriter.cpp	1517
and with similar errors.

Any ideas how to fix it? I haven't yet tried building ITK without Python wrapping but could do it now.

Lassi
_____________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Kitware offers ITK Training Courses, for more information visit:
http://www.kitware.com/products/protraining.php

Please keep messages on-topic and check the ITK FAQ at:
http://www.itk.org/Wiki/ITK_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/insight-users


More information about the Community mailing list