<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 class="gmail_extra"><br><div class="gmail_quote">On Fri, Oct 24, 2014 at 4:57 PM, Matt McCormick <span dir="ltr"><<a 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 class="HOEnZb"><div class="h5"><br>
On Fri, Oct 24, 2014 at 4:00 AM, Françoise Lefebvre<br>
<<a href="mailto:lefebvre@imnc.in2p3.fr">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 href="mailto:lefebvre@imnc.in2p3.fr">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 href="mailto:lefebvre@imnc.in2p3.fr">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 href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
>>>>>><br>
>>>>>> Visit other Kitware open-source projects at<br>
>>>>>> <a 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 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 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 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 href="mailto:Community@itk.org">Community@itk.org</a><br>
>>>>>> <a 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 href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
>>><br>
>>> Visit other Kitware open-source projects at<br>
>>> <a 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 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 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 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 href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a 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 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 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 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>