<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hi,<br>
    <br>
    It works, thank you very much Roger.<br>
    <br>
    Françoise<br>
    <br>
    <div class="moz-cite-prefix">Le 03/11/2014 11:13, Roger Bramon
      Feixas a écrit :<br>
    </div>
    <blockquote
cite="mid:CAMAf15NRMkodau4DPonONrFB2ho2q8UOp_JbXfjt0ef3MsPKqQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>
          <div>
            <div>Dear all,<br>
              <br>
            </div>
            I solved the problem. Shell32.lib system library needs to be
            added to qmake LIBS variable because it includes
            CommandLineToArgvW function. I think it is required since
            4.6.0 which includes commit <a moz-do-not-send="true"
href="http://itk.org/gitweb?p=ITK.git;a=commit;h=f29c354194e45dcb12d4d0b8765f0c3a9deeab78"
              target="_blank">http://itk.org/gitweb?p=ITK.git;a=commit;h=f29c354194e45dcb12d4d0b8765f0c3a9deeab78</a>
            <br>
            <br>
          </div>
          HTH,<br>
          <br>
        </div>
        Roger<br>
        <div class="gmail_extra"><br>
          <div class="gmail_quote">On Fri, Oct 31, 2014 at 6:55 PM,
            Roger Bramon Feixas <span dir="ltr"><<a
                moz-do-not-send="true"
                href="mailto:rogerbramon@gmail.com" target="_blank">rogerbramon@gmail.com</a>></span>
            wrote:<br>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <div dir="ltr">Hi,
                <div><br>
                </div>
                <div>I also have this link problem trying to build
                  using <span
                    style="font-family:arial,sans-serif;font-size:13px">msvc2013_opengl
                    +</span> ITK 4.6.1 + VTK 6.1 + GDCM 2.4.4 + Qt
                  5.3.2. We are using qmake as well. </div>
                <div><br>
                </div>
                <div>Any suggestion will be appreciated.</div>
                <div><br>
                </div>
                <div>Many thanks,</div>
                <div><br>
                </div>
                <div>Roger</div>
              </div>
              <div>
                <div>
                  <div class="gmail_extra"><br>
                    <div class="gmail_quote">On Fri, Oct 24, 2014 at
                      4:57 PM, Matt McCormick <span dir="ltr"><<a
                          moz-do-not-send="true"
                          href="mailto:matt.mccormick@kitware.com"
                          target="_blank">matt.mccormick@kitware.com</a>></span>
                      wrote:<br>
                      <blockquote class="gmail_quote" style="margin:0 0
                        0 .8ex;border-left:1px #ccc
                        solid;padding-left:1ex">Hi Françoise,<br>
                        <br>
                        <br>
                        CMake is recommended -- it will avoid this
                        problem and others.  It<br>
                        works well with Qt.<br>
                        <br>
                        Thanks,<br>
                        Matt<br>
                        <div>
                          <div><br>
                            On Fri, Oct 24, 2014 at 4:00 AM, Françoise
                            Lefebvre<br>
                            <<a moz-do-not-send="true"
                              href="mailto:lefebvre@imnc.in2p3.fr"
                              target="_blank">lefebvre@imnc.in2p3.fr</a>>
                            wrote:<br>
                            ><br>
                            > No, I'm not.  I have always used a .pro
                            file and qmake.<br>
                            ><br>
                            > Le 23/10/2014 23:37, Matt McCormick a
                            écrit :<br>
                            ><br>
                            >> Hi,<br>
                            >><br>
                            >> Are you using CMake to configure
                            your project?<br>
                            >><br>
                            >> Matt<br>
                            >><br>
                            >> On Thu, Oct 23, 2014 at 12:20 PM,
                            Françoise Lefebvre<br>
                            >> <<a moz-do-not-send="true"
                              href="mailto:lefebvre@imnc.in2p3.fr"
                              target="_blank">lefebvre@imnc.in2p3.fr</a>>
                            wrote:<br>
                            >>><br>
                            >>> Hi,<br>
                            >>><br>
                            >>> I also tried on Windows
                            8,msvc2012_opengl and Qt5.3. I get exactly
                            the<br>
                            >>> same<br>
                            >>> link error.<br>
                            >>><br>
                            >>> FL<br>
                            >>><br>
                            >>><br>
                            >>> Le 22/10/2014 09:23, Françoise
                            Lefebvre a écrit :<br>
                            >>><br>
                            >>>> Yes I did.<br>
                            >>>><br>
                            >>>> Le 21/10/2014 19:18,
                            Bradley Lowekamp a écrit :<br>
                            >>>>><br>
                            >>>>> Did you try the latest
                            4.6.1 release?<br>
                            >>>>><br>
                            >>>>> Brad<br>
                            >>>>><br>
                            >>>>> On Oct 21, 2014, at
                            12:18 PM, Françoise Lefebvre<br>
                            >>>>> <<a
                              moz-do-not-send="true"
                              href="mailto:lefebvre@imnc.in2p3.fr"
                              target="_blank">lefebvre@imnc.in2p3.fr</a>><br>
                            >>>>> wrote:<br>
                            >>>>><br>
                            >>>>>> Hi,<br>
                            >>>>>><br>
                            >>>>>> ITK 4.6 was
                            succesfully build using cmake2.8.10.2, the
                            default<br>
                            >>>>>> parameters and the
                            Module_ITKReview on.<br>
                            >>>>>><br>
                            >>>>>> I am now trying to
                            compile a program developed in C++ using
                            Qt5.1.1<br>
                            >>>>>> and<br>
                            >>>>>> Microsoft Visual
                            C++ express 2010 on Windows 7.<br>
                            >>>>>><br>
                            >>>>>> I get the following
                            link error :<br>
                            >>>>>><br>
                            >>>>>>
                            1>itksys-4.6.lib(EncodingCXX.obj) : error
                            LNK2019: symbole externe non<br>
                            >>>>>> rÚsolu
                            __imp__CommandLineToArgvW@8 rÚfÚrencÚ dans
                            la fonction "public:<br>
                            >>>>>> static class
                            itksys::Encoding::CommandLineArguments
                            __cdecl<br>
                            >>>>>>
                            itksys::Encoding::CommandLineArguments::Main(int,char
                            const * const<br>
                            >>>>>> *)"<br>
                            >>>>>>
                            (?Main@CommandLineArguments@Encoding@itksys@@SA?AV123@HPBQBD@Z)<br>
                            >>>>>><br>
                            >>>>>> I didn't get this
                            error when compiling with itk4.3 .<br>
                            >>>>>><br>
                            >>>>>> Any hint ?<br>
                            >>>>>><br>
                            >>>>>> Thank you for your
                            help,<br>
                            >>>>>><br>
                            >>>>>> F. Lefebvre<br>
                            >>>>>><br>
                            >>>>>>
                            _____________________________________<br>
                            >>>>>> Powered by <a
                              moz-do-not-send="true"
                              href="http://www.kitware.com"
                              target="_blank">www.kitware.com</a><br>
                            >>>>>><br>
                            >>>>>> Visit other Kitware
                            open-source projects at<br>
                            >>>>>> <a
                              moz-do-not-send="true"
                              href="http://www.kitware.com/opensource/opensource.html"
                              target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
                            >>>>>><br>
                            >>>>>> Kitware offers ITK
                            Training Courses, for more information
                            visit:<br>
                            >>>>>> <a
                              moz-do-not-send="true"
                              href="http://www.kitware.com/products/protraining.php"
                              target="_blank">http://www.kitware.com/products/protraining.php</a><br>
                            >>>>>><br>
                            >>>>>> Please keep
                            messages on-topic and check the ITK FAQ at:<br>
                            >>>>>> <a
                              moz-do-not-send="true"
                              href="http://www.itk.org/Wiki/ITK_FAQ"
                              target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
                            >>>>>><br>
                            >>>>>> Follow this link to
                            subscribe/unsubscribe:<br>
                            >>>>>> <a
                              moz-do-not-send="true"
                              href="http://public.kitware.com/mailman/listinfo/insight-users"
                              target="_blank">http://public.kitware.com/mailman/listinfo/insight-users</a><br>
                            >>>>>>
                            _______________________________________________<br>
                            >>>>>> Community mailing
                            list<br>
                            >>>>>> <a
                              moz-do-not-send="true"
                              href="mailto:Community@itk.org"
                              target="_blank">Community@itk.org</a><br>
                            >>>>>> <a
                              moz-do-not-send="true"
                              href="http://public.kitware.com/mailman/listinfo/community"
                              target="_blank">http://public.kitware.com/mailman/listinfo/community</a><br>
                            >>>><br>
                            >>>><br>
                            >>>
                            _____________________________________<br>
                            >>> Powered by <a
                              moz-do-not-send="true"
                              href="http://www.kitware.com"
                              target="_blank">www.kitware.com</a><br>
                            >>><br>
                            >>> Visit other Kitware open-source
                            projects at<br>
                            >>> <a moz-do-not-send="true"
                              href="http://www.kitware.com/opensource/opensource.html"
                              target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
                            >>><br>
                            >>> Kitware offers ITK Training
                            Courses, for more information visit:<br>
                            >>> <a moz-do-not-send="true"
                              href="http://www.kitware.com/products/protraining.php"
                              target="_blank">http://www.kitware.com/products/protraining.php</a><br>
                            >>><br>
                            >>> Please keep messages on-topic
                            and check the ITK FAQ at:<br>
                            >>> <a moz-do-not-send="true"
                              href="http://www.itk.org/Wiki/ITK_FAQ"
                              target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
                            >>><br>
                            >>> Follow this link to
                            subscribe/unsubscribe:<br>
                            >>> <a moz-do-not-send="true"
                              href="http://public.kitware.com/mailman/listinfo/insight-users"
                              target="_blank">http://public.kitware.com/mailman/listinfo/insight-users</a><br>
                            ><br>
                            ><br>
                            > --<br>
                            > Françoise LEFEBVRE<br>
                            > IMNC (Imagerie et Modélisation en
                            Neurobiologie et Cancérologie)<br>
                            > Campus d'Orsay - Bât 440<br>
                            > 91405 ORSAY Cedex<br>
                            > 01 69 15 51 87<br>
                            ><br>
                            _____________________________________<br>
                            Powered by <a moz-do-not-send="true"
                              href="http://www.kitware.com"
                              target="_blank">www.kitware.com</a><br>
                            <br>
                            Visit other Kitware open-source projects at<br>
                            <a moz-do-not-send="true"
                              href="http://www.kitware.com/opensource/opensource.html"
                              target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
                            <br>
                            Kitware offers ITK Training Courses, for
                            more information visit:<br>
                            <a moz-do-not-send="true"
                              href="http://www.kitware.com/products/protraining.php"
                              target="_blank">http://www.kitware.com/products/protraining.php</a><br>
                            <br>
                            Please keep messages on-topic and check the
                            ITK FAQ at:<br>
                            <a moz-do-not-send="true"
                              href="http://www.itk.org/Wiki/ITK_FAQ"
                              target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
                            <br>
                            Follow this link to subscribe/unsubscribe:<br>
                            <a moz-do-not-send="true"
                              href="http://public.kitware.com/mailman/listinfo/insight-users"
                              target="_blank">http://public.kitware.com/mailman/listinfo/insight-users</a><br>
                          </div>
                        </div>
                      </blockquote>
                    </div>
                    <br>
                  </div>
                </div>
              </div>
            </blockquote>
          </div>
          <br>
        </div>
      </div>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
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 </pre>
  </body>
</html>