[ITK] Unresolved __imp_UuidCreate

Lowekamp, Bradley (NIH/NLM/LHC) [C] blowekamp at mail.nih.gov
Fri Feb 3 08:48:00 EST 2017


Hello,

I noticed that you say you have compiled ITK in “Release” mode, but the error line you included includes “debug”.

Do you have multiple builds and installed of ITK? Perhaps the configuration has gotten the versions and or locations confused?

HTH,
Brad

On Feb 2, 2017, at 3:05 PM, Fijoy Vadakkumpadan <tofijoy at gmail.com<mailto:tofijoy at gmail.com>> wrote:

Hello,

I'm trying to link to ITK static libraries in Windows from an application, and getting the following error. Does anyone know how to resolve this?

libitkgdcmMSFF-4.10-debug.lib(gdcmUIDGenerator.obj) : error LNK2019: unresolved external symbol __imp_UuidCreate referenced in function "public: char const * __cdecl gdcm::UIDGenerator::Generate(void)"

The ITK libraries were generated using CMake and Microsoft Visual Studio Express 2013 (in Release mode). I used the default configuration options in CMake, except that I turned BUILD_TESTING and BUILD_EXAMPLES to OFF, and I changed CMAKE_INSTALL_PREFIX to a desired directory. I know that one of the libraries, libitkgdcmuuid-4.10, was not generated during the build. Is this the issue? If so, is there a CMake option that will generate the library?

Thanks,
--Fijoy


_______________________________________________
Community mailing list
Community at itk.org<mailto:Community at itk.org>
http://public.kitware.com/mailman/listinfo/community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20170203/eb76a250/attachment.html>


More information about the Community mailing list