Hi,<div><br></div><div>I see that you are trying to compile the BRAINSFit project,</div><div><br></div><div>which software are you using to compile the source code?</div><div><br></div><div>Have you modified the CMakeList?</div>
<div><br></div><div>Dawood</div><div><br></div><div><br></div><div>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<</div>
<div><br></div><div>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<</div>
<div><br></div><div><br></div><div><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><pre>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'
:<i> definition of dllimport function not allowed
</i>2>l:\toolkit\brainscommonlib\BRAINSFitHelperTemplate.hxx(1733) : error
C2491:
'itk::BRAINSFitHelperTemplate<FixedImageType,MovingImageType>::StartRegistration'
:<i> definition of dllimport function not allowed
</i>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'
:<i> definition of dllimport function not allowed
</i>
I hope someone could help me to find a solution.</pre></span></div>