[Insight-developers] Examples/GaussianFilter

Miller, James V (CRD) millerjv@crd.ge.com
Mon, 9 Apr 2001 09:38:22 -0400


Luis,

I tried to build your example and am running into a couple of problems.  I got mostly through the
configuration before I realized that there was a README :)

First some comments on the README.

I build Fltk using the dsw in the visual_c directory of the download.  It built without issue.
However, this method does not do any installation.  So you might want to mention that when you run
CMakeSetup, the include directory and lib directory for Fltk will be marked NOTFOUND and that the
user should edit the cache file that is presented.

It looks like step 2.2 of the README could be done on the repository version of CMakeLists.txt.
MetaImage is already listed in the SUBDIRS sections anyway. So adding FltkImageViewer shouldn't be a
problem since these do not get built unless the Unsupported directory is added to the root
CMakeLists.txt subdirs command. Perhaps we need a standard way of putting these lines in the
CMakeLists.txt file and commenting them out.  This would make it easier for someone to add them to
their builds since they would only have to uncomment a line.  Or better yet, perhaps a way to specify
--with-GaussianFilter to configure and some kind of gui for the windows to select whether these other
systems should be built.

It also looks like step 2.3 of the README could be done in the repository version of CMakeLists.txt.
Does IView belong under MetaImage?

Finally, the sticky points...

In building FltkImageViewer.lib, VC++ complains that fltkGlDrawer.h cannot be found.  Are all the
files checked into the repository?

Before I put FltkImageViewer in the CMakeLists.txt file, I was getting a link error that
GaussianFilter could not find MetaImageIO.lib or something like that.  So I suspect that there is a
CMakeLists.txt file problem with GaussianFilter not listing all the libraries that it needs (or where
to find them).  However, I cannot reproduce this error now due to the above compiler error in
FltkImageViewer.



Jim Miller
_____________________________________
Computer Graphics & Systems Program
GE Corporate Research & Development
Bldg. KW, Room C218B
P.O. Box 8, Schenectady NY 12301

millerjv@crd.ge.com <mailto:millerjv@crd.ge.com> 
(518) 387-4005, Dial Comm: 8*833-4005, 
Cell: (518) 505-7065, Fax: (518) 387-6981

 <<James Miller (E-mail).vcf>> 

begin 600 James Miller (E-mail).vcf
M0D5'24XZ5D-!4D0-"E9%4E-)3TXZ,BXQ#0I..DUI;&QE<CM*86UE<PT*1DXZ
M2F%M97,@36EL;&5R("A%+6UA:6PI#0I/4D<Z1T4@0V]R<&]R871E(%(F1#M%
M4TP-"E1%3#M73U)+.U9/24-%.B@U,3@I(#,X-RTT,#`U#0I414P[5T]22SM6
M3TE#13HJ.#,S+30P,#4-"E1%3#M73U)+.T9!6#HH-3$X*2`S.#<M-CDX,0T*
M0412.U=/4DL[14Y#3T1)3D<]455/5$5$+5!224Y404),13H[0V]M<'5T97(@
M1W)A<&AI8W,@)B!3>7-T96US(%!R;V=R86T[0DQ$1R!+5RP@4DT@0S(Q.$(]
M,$0],$%03R!";W@@.#M38VAE;F5C/0T*=&%D>3M.63LQ,C,P,3M5;FET960@
M4W1A=&5S(&]F($%M97)I8V$-"DQ!0D5,.U=/4DL[14Y#3T1)3D<]455/5$5$
M+5!224Y404),13I#;VUP=71E<B!'<F%P:&EC<R`F(%-Y<W1E;7,@4')O9W)A
M;3TP1#TP04),1$<@2U<L(%)-($,R,3A"/3!$/3!!4$\@0F]X(#@],$0]#0H]
M,$%38VAE;F5C=&%D>2P@3ED@,3(S,#$],$0],$%5;FET960@4W1A=&5S(&]F
M($%M97)I8V$-"D5-04E,.U!2148[24Y415).150Z;6EL;&5R:G9`8W)D+F=E
G+F-O;0T*4D56.C(P,#`P,3(X5#$V,C8U-EH-"D5.1#I60T%21`T*
`
end