[ITK] [ITK-users] Error compiling msvc2010 + ITK4.6 + Qt

Roger Bramon Feixas rogerbramon at gmail.com
Fri Oct 31 13:55:24 EDT 2014


Hi,

I also have this link problem trying to build using msvc2013_opengl + ITK
4.6.1 + VTK 6.1 + GDCM 2.4.4 + Qt 5.3.2. We are using qmake as well.

Any suggestion will be appreciated.

Many thanks,

Roger

On Fri, Oct 24, 2014 at 4:57 PM, Matt McCormick <matt.mccormick at kitware.com>
wrote:

> Hi Françoise,
>
>
> CMake is recommended -- it will avoid this problem and others.  It
> works well with Qt.
>
> Thanks,
> Matt
>
> On Fri, Oct 24, 2014 at 4:00 AM, Françoise Lefebvre
> <lefebvre at imnc.in2p3.fr> wrote:
> >
> > No, I'm not.  I have always used a .pro file and qmake.
> >
> > Le 23/10/2014 23:37, Matt McCormick a écrit :
> >
> >> Hi,
> >>
> >> Are you using CMake to configure your project?
> >>
> >> Matt
> >>
> >> On Thu, Oct 23, 2014 at 12:20 PM, Françoise Lefebvre
> >> <lefebvre at imnc.in2p3.fr> wrote:
> >>>
> >>> Hi,
> >>>
> >>> I also tried on Windows 8,msvc2012_opengl and Qt5.3. I get exactly the
> >>> same
> >>> link error.
> >>>
> >>> FL
> >>>
> >>>
> >>> Le 22/10/2014 09:23, Françoise Lefebvre a écrit :
> >>>
> >>>> Yes I did.
> >>>>
> >>>> Le 21/10/2014 19:18, Bradley Lowekamp a écrit :
> >>>>>
> >>>>> Did you try the latest 4.6.1 release?
> >>>>>
> >>>>> Brad
> >>>>>
> >>>>> On Oct 21, 2014, at 12:18 PM, Françoise Lefebvre
> >>>>> <lefebvre at imnc.in2p3.fr>
> >>>>> wrote:
> >>>>>
> >>>>>> Hi,
> >>>>>>
> >>>>>> ITK 4.6 was succesfully build using cmake2.8.10.2, the default
> >>>>>> parameters and the Module_ITKReview on.
> >>>>>>
> >>>>>> I am now trying to compile a program developed in C++ using Qt5.1.1
> >>>>>> and
> >>>>>> Microsoft Visual C++ express 2010 on Windows 7.
> >>>>>>
> >>>>>> I get the following link error :
> >>>>>>
> >>>>>> 1>itksys-4.6.lib(EncodingCXX.obj) : error LNK2019: symbole externe
> non
> >>>>>> rÚsolu __imp__CommandLineToArgvW at 8 rÚfÚrencÚ dans la fonction
> "public:
> >>>>>> static class itksys::Encoding::CommandLineArguments __cdecl
> >>>>>> itksys::Encoding::CommandLineArguments::Main(int,char const * const
> >>>>>> *)"
> >>>>>> (?Main at CommandLineArguments@Encoding at itksys@@SA?AV123 at HPBQBD@Z)
> >>>>>>
> >>>>>> I didn't get this error when compiling with itk4.3 .
> >>>>>>
> >>>>>> Any hint ?
> >>>>>>
> >>>>>> Thank you for your help,
> >>>>>>
> >>>>>> F. Lefebvre
> >>>>>>
> >>>>>> _____________________________________
> >>>>>> 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
> >>>>>> _______________________________________________
> >>>>>> Community mailing list
> >>>>>> Community at itk.org
> >>>>>> http://public.kitware.com/mailman/listinfo/community
> >>>>
> >>>>
> >>> _____________________________________
> >>> 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
> >
> >
> > --
> > Françoise LEFEBVRE
> > IMNC (Imagerie et Modélisation en Neurobiologie et Cancérologie)
> > Campus d'Orsay - Bât 440
> > 91405 ORSAY Cedex
> > 01 69 15 51 87
> >
> _____________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20141031/6ce13473/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://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