[Insight-users] use of itkAdaptiveHistogramEqualizationImageFilter

Karthik Krishnan Karthik.Krishnan at kitware.com
Wed Feb 8 13:13:27 EST 2006


You haven't provided a main() entry point. You can't just copy the test 
source into a stand along source file and expect it to work.

You  need to replace the method

itkFooTest(.. )
with
main(.. )

The test driver in ITK strings several together and replaces the tests 
with main()'s

-karthik

Song Zhuang wrote:

>has anybody made this filter to work? when i compiled
>its test file, i got error messages: 
>
>Building object file
>itkAdaptiveHistogramEqualizationImageFilterTest.o...
>Building executable
>/home/songz/toolkits/src/bingcc/histogramEqualize...
>/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../crt1.o(.text+0x18):
>In function `_start':
>../sysdeps/i386/elf/start.S:77: undefined reference to
>`main'
>collect2: ld returned 1 exit status
>make[1]: ***
>[/home/songz/toolkits/src/bingcc/histogramEqualize]
>Error 1
>make: *** [default_target] Error 2
>
>how to fix this problem? thanks, 
>
>zhuang
>
>__________________________________________________
>Do You Yahoo!?
>Tired of spam?  Yahoo! Mail has the best spam protection around 
>http://mail.yahoo.com 
>_______________________________________________
>Insight-users mailing list
>Insight-users at itk.org
>http://www.itk.org/mailman/listinfo/insight-users
>
>  
>


More information about the Insight-users mailing list