[Insight-users] ask for solutions for errors

肖德强 xiaodq2011 at gmail.com
Tue Jul 26 04:40:45 EDT 2011


Hi,all:



        I meet some erros when I compile a project ,I do not know how to
resolve it at all.The errors is below:


2>l:\toolkit\brainscommonlib\BRAINSFitHelperTemplate.hxx(559) : error C2491:
'itk::BRAINSFitHelperTemplate<FixedImageType,MovingImageType>::BRAINSFitHelperTemplate'
: definition of dllimport function not allowed
2>l:\toolkit\brainscommonlib\BRAINSFitHelperTemplate.hxx(1733) : error
C2491:
'itk::BRAINSFitHelperTemplate<FixedImageType,MovingImageType>::StartRegistration'
: definition of dllimport function not allowed
2>l:\toolkit\brainscommonlib\BRAINSFitHelperTemplate.hxx(1815) : error
C2491:
'itk::BRAINSFitHelperTemplate<FixedImageType,MovingImageType>::PrintSelf' :
definition of dllimport function not allowed
2>l:\toolkit\brainscommonlib\BRAINSFitHelperTemplate.hxx(1822) : error
C2491:
'itk::BRAINSFitHelperTemplate<FixedImageType,MovingImageType>::GenerateData'
: definition of dllimport function not allowed

I hope someone could help me to find a solution.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20110726/56861143/attachment.htm>


More information about the Insight-users mailing list