[ITK] [ITK-dev] ITK4.10rc1 SimpleITK VNL error

Lowekamp, Bradley (NIH/NLM/LHC) [C] blowekamp at mail.nih.gov
Wed May 18 11:33:32 EDT 2016


@Hans,

I have 5  versions of VS on the same system without problems. I would not try to mix multiple versions of the same release i.e. VS9 for Python with VS9 or VS14 with VS14 express. I’d expect VS14 and VS9 for Python 2.7 to work fine.

@Dzenan

The official Python.org<http://python.org> 2.7 is compiled and distributed with the VS9 tool chain. This the the compiler recommenced to build Python 2.7 extensions according to PyPA[1]. While you can build an extension and mix the compilers, when something crashes unexpectedly I’d blame this first :)

HTH,
Brad


[1] https://media.readthedocs.org/pdf/python-packaging-user-guide/latest/python-packaging-user-guide.pdf

Visual Su

On May 18, 2016, at 11:16 AM, Dženan Zukić <dzenanz at gmail.com<mailto:dzenanz at gmail.com>> wrote:

Hi Hans,

Python support is included with default installation of VS2015. You just need to tick it when installing, or modifying your installation. Or were you asking about something different?

Regards

On Tue, May 17, 2016 at 11:07 AM, Johnson, Hans J <hans-johnson at uiowa.edu<mailto:hans-johnson at uiowa.edu>> wrote:
Thanks Brad.  Do you know if this version can be installed along side of VS 2015 without conflicts?

Hans
--


From: Bradley Lowekamp <blowekamp at mail.nih.gov<mailto:blowekamp at mail.nih.gov>>
Date: Tuesday, May 17, 2016 at 9:34 AM
To: Hans Johnson <hans-johnson at uiowa.edu<mailto:hans-johnson at uiowa.edu>>
Cc: "insight-developers at itk.org<mailto:insight-developers at itk.org>" <insight-developers at itk.org<mailto:insight-developers at itk.org>>
Subject: Re: ITK4.10rc1 SimpleITK VNL error

Hans,

I’ll take a look into it. Thanks for the offer for a hang out, well go there if needed.

I haven’t tries this my self, but there is the Free, VS for Python 2.7, that is suppose to be based on VS9 2008[1]. I don’t know how this works with general CMake project, but maybe it will help improve your access.

Brad


[1] https://www.visualstudio.com/en-us/features/python-vs.aspx

On May 17, 2016, at 10:29 AM, Johnson, Hans J <hans-johnson at uiowa.edu<mailto:hans-johnson at uiowa.edu>> wrote:

This is not fixed in VXL upstream.

There are currently no windows builds on VXL dashboard: https://open.cdash.org/index.php?project=vxl

I don’t see any VS9 builds for ITK either.

I’d be happy to help identify a solution, but I don’t have the VS resources.  If you would like to have a hang out, I’d be interested in assisting with the fix.

Hans

--


From: Bradley Lowekamp <blowekamp at mail.nih.gov<mailto:blowekamp at mail.nih.gov>>
Date: Tuesday, May 17, 2016 at 9:14 AM
To: "insight-developers at itk.org<mailto:insight-developers at itk.org>" <insight-developers at itk.org<mailto:insight-developers at itk.org>>
Cc: Hans Johnson <hans-johnson at uiowa.edu<mailto:hans-johnson at uiowa.edu>>
Subject: ITK4.10rc1 SimpleITK VNL error

Hello,

On the SimpleITK dashboard with SimpleITK compiled with ITK 4.10rc1 I am getting the following compilation error with VS9 2008[1]:


3>3>------ Build started: Project: itkv3p_netlib, Configuration: MinSizeRel x64 ------

3>4>------ Build started: Project: itksys, Configuration: MinSizeRel x64 ------

3>2>Compiling...

3>4>Compiling...

3>1>Compiling...

3>2>triangle.c

3>1>vcl_deprecated.cxx

3>4>FStream.cxx

3>3>Compiling...

3>3>v3p_netlib_init.c

3>1>c:\d\vs9\simpleitk-build\itk\modules\thirdparty\vnl\src\vxl\vcl\vcl_compiler.h(940) : fatal error C1189: #error :  "Missing definition for SHARED_PTR"

Is this addressed in VNL upstream yet? or should I begin looking into it?

Thanks,
Brad


[1] https://open.cdash.org/viewBuildError.php?buildid=4368953


_______________________________________________
Powered by www.kitware.com<http://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://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-developers



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20160518/80defd10/attachment-0001.html>
-------------- next part --------------
_______________________________________________
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://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-developers


More information about the Community mailing list