[Insight-users] Fast Marching Minimal Path Extraction error

Oleksandr Dzyubak adzyubak at gmail.com
Thu Jul 10 14:54:11 EDT 2008


Hi Daniel,

Thanks for your prompt reply.
I am using Linux(Debian) or UNIX(FreeBSD). Mostly Linux.
Yes, I am using rev.6. Just downloaded once again to make sure it is.
There no such a file like "itkSingleImageCostFunction.cxx" in the 
downloaded archive.
Did you mean the template file "itkSingleImageCostFunction.txx"?

Following your advice, I have changed the includes but no magic happened.
The same error.

I thought that it is the CMakeLists.txt in concert with cmake which 
should take care of that.
It is not?

Regards,

Alex

Dan Mueller wrote:
> Hi Alex,
>
> Strange. It compiles fine for me on Windows with Visual Studio 8.0 and
> on the IJ Testing Environment (some flavour of Linux, I think)...
>
> Are you using revision 6?
>
> Perhaps try changing this line in itkSingleImageCostFunction.cxx
>     #include "vnl_math.h"
> to
>     #include "vnl/vnl_math.h"
>
> Let me know if you still have problems.
>
> Regards, Dan
>
> 2008/7/10 Oleksandr Dzyubak <adzyubak at gmail.com>:
>   
>> Dear ITKers,
>>
>> After reading the articles by J. Sethian,
>> I decided to downloaded the Fast Marching Minimal Path Extraction program
>> and give it a try.
>>
>> Surprisingly I could not even compile it.
>> The errors I got are below. Did somebody try it?
>>
>> Just in case. I am using Debian Linux with
>> gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21).
>>
>> Thanks,,
>> Alex
>>
>> *********Begin Errors********
>>
>> dzyubak at debian: /BUILD$ make
>> Scanning dependencies of target MinimalPathMain
>> [ 33%] Building CXX object Source/CMakeFiles/MinimalPathMain.dir/main.o
>> In file included from
>> /mnt/Public/ITK_Test/Fast_Marching_Minimal_Path_Extraction_in_ITK/Source/itkSingleImageCostFunction.h:147,
>>                from
>> /mnt/Public/ITK_Test/Fast_Marching_Minimal_Path_Extraction_in_ITK/Source/itkArrivalFunctionToPathFilter.h:23,
>>                from
>> /mnt/Public/ITK_Test/Fast_Marching_Minimal_Path_Extraction_in_ITK/Testing/MinimalPathTests.cxx:39,
>>                from
>> /mnt/Public/ITK_Test/Fast_Marching_Minimal_Path_Extraction_in_ITK/Source/main.cxx:10:
>> /mnt/Public/ITK_Test/Fast_Marching_Minimal_Path_Extraction_in_ITK/Source/itkSingleImageCostFunction.txx:20:22:
>> error: vnl_math.h: No such file or directory
>> make[2]: *** [Source/CMakeFiles/MinimalPathMain.dir/main.o] Error 1
>> make[1]: *** [Source/CMakeFiles/MinimalPathMain.dir/all] Error 2
>> make: *** [all] Error 2
>> dzyubak at debian: /BUILD$
>>
>>
>> **********End Errors******
>>
>>
>>
>>
>> _______________________________________________
>> 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