[Insight-users] ask for solutions for errors

Dawood AlMasslawi masslawi at gmail.com
Wed Jul 27 08:41:13 EDT 2011


Hi,

I see that you are trying to compile the BRAINSFit project,

which software are you using to compile the source code?

Have you modified the CMakeList?

Dawood


>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<

>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<


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/20110727/a6e0c04e/attachment-0001.htm>


More information about the Insight-users mailing list