[Insight-users] Error message when using CMake

Stephen R. Aylward aylward@unc.edu
Tue, 26 Feb 2002 23:41:16 -0500


Hi Qiu,

Also, you should keep CMake (via cmakesetup) pointed at the top level of
the Insight directory.  Don't point it to any of the directories within
Insight.

To build the a particular example within the Insight directory, use the
GUI of cmakesetup to turn on the examples.  Insight will then be built
and then the examples (including the bias corrector) will be built.

I hope this helps.

Stephen


Luis Ibanez wrote:
> 
> Hi Qiu,
> 
> It's the error really saying:
> 
>    "itlMultivariateLenendrePolynomial"  ?
> 
> the name of the file should be :    "itkMultivariateLenendrePolynomial"
> 
> All the files in the toolkit start with "itk"
> 
> It could be typing accident if you edited the CMakeList.txt file....
> 
> Could you please double check this ?
> 
> BTW: It shouldn't be necessary to edit CMakeList.txt files.
> all the options can be selected from the CMake interface.
> Modifying the CMakeList files can be quite confusing...
> 
> Thanks
> 
> Luis
> 
> -------------------------------------
> 
> Qiu Wu wrote:
> 
> > Hi,
> >
> > I run CMakeSetup in windows 2000 environment,
> >
> > now I want to test MRIBiasCorrection example,
> >
> > so I tell CMake the source code is in:
> >
> > C:\MyDir\Insight\Examples\MRIBiasCorrection
> >
> > the output binaries are in :
> >
> > C:\MyDir\Insight\Examples\biasBinary
> >
> >
> > The error message is:
> >
> > CMake Erro: can not find file
> >
> >
> > C:/MyDir/Insight/Examples/MRIBiasCorrection/${ITK_SOURCE_DIR}/Code/Numerics/itlMultivariateLenendrePolynomial
> >
> >
> > Tried .cXX .c .M .m .mm .h .txx
> >
> > (Press Cancel to suppress any futher messages.)
> >
> >
> >
> >
> > I tried several times, but this error message always appeared.
> >
> >
> >  Did you anyone experience that error and know how to overcome that ?
> >
> >
> >  Regds,
> >
> > --Qiu
> >
> >
> >
> >
> > _________________________________________________________________
> > Get your FREE download of MSN Explorer at
> > http://explorer.msn.com/intl.asp.
> >
> > _______________________________________________
> > Insight-users mailing list
> > Insight-users@public.kitware.com
> > http://public.kitware.com/mailman/listinfo/insight-users
> >
> 
> _______________________________________________
> Insight-users mailing list
> Insight-users@public.kitware.com
> http://public.kitware.com/mailman/listinfo/insight-users

-- 
===============================================
Dr. Stephen R. Aylward
Assistant Professor of Radiology
Adjunct Assistant Professor of Computer Science
http://caddlab.rad.unc.edu
aylward@unc.edu
(919) 966-9695