[Insight-users] Problem with MFC after installing ITK
Luis Ibanez
luis.ibanez at kitware.com
Mon Apr 14 16:46:18 EDT 2008
Hi Polys,
1) Did you actully "installed" ITK ?
or simply build it in a directory ?
2) Did you attempted to use ITK from another project ?
3) If so, did you manually add ITK paths to
your default path search in Visual Studio ?
ITK installation option, would simply copy
libraries and headers to the directory that
you specify in the CMake variable
CMAKE_INSTALL_PREFIX
It is unlikely that this would affect in any way
other projects that do not use ITK.
--
ITK doesn't touch the settings of your compiler.
We are not like the Evil Empire :-)
Regards,
Luis
------------------------------
polys_poly at hotmail.com wrote:
> Hello.
>
> I had one working MFC project that i made some time ago. But after
> installing ITK i can't build the solution of MFC and i get the error
> messages:
>
> C:\Program Files\Microsoft Visual Studio
> 8\VC\atlmfc\include\atltime.inl(140) : error C2039: '_time64' : is not a
> member of '`global namespace''
> C:\Program Files\Microsoft Visual Studio
> 8\VC\atlmfc\include\atltime.inl(196) : error C3861: '_mktime64':
> identifier not found
> C:\Program Files\Microsoft Visual Studio
> 8\VC\atlmfc\include\atltime.inl(363) : error C3861: '_gmtime64_s':
> identifier not found
> C:\Program Files\Microsoft Visual Studio
> 8\VC\atlmfc\include\atltime.inl(400) : error C3861: '_localtime64_s':
> identifier not found
> C:\Program Files\Microsoft Visual Studio
> 8\VC\atlmfc\include\atltime.h(396) : error C3861: 'strftime': identifier
> not found
> The same error messages appear even when i create a clean MFC project
> and build it. I am using Visual Studio 2005 and a 32 bit system. Did ITK
> change some settings of my compiler during installation? I am sure it
> has something to do with ITK being installed cause i created an MFC
> project on my pc (which didn't have itk installed) and it worked just
> fine. After installing ITK using CMake etc, the project didn't work and
> i got the errors mentioned above.
>
> Thanks in advance,
> Polys
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
More information about the Insight-users
mailing list