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

Françoise Lefebvre lefebvre at imnc.in2p3.fr
Tue Oct 21 12:18:02 EDT 2014


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



More information about the Insight-users mailing list