[Insight-users] D'Arcy project build error....Have anybodyever build this project?

wordon m9421001 at gmail.com
Fri Feb 17 11:05:52 EST 2006


Hi, Julien :
I have tried your CMakeList.
But it has a erro when I build with CMake.
The error is "FLTK11_USE_FILE not found".

How should I solve this problem?

Thanks :)

-----Original Message-----
From: Julien Jomier [mailto:julien.jomier at kitware.com] 
Sent: Friday, February 17, 2006 1:32 AM
To: wordon
Cc: hobbsk at ohiou.edu; insight-users at itk.org
Subject: Re: [Insight-users] D'Arcy project build error....Have anybodyever
build this project?

The M_PI problem can be fixed by adding the following lines at the 
beginning of itkSeashellMeshSource.h:

#ifndef M_PI
   #define M_PI 3.1415926535897932384626433832795
#endif

Regarding SOViewer, I have attached a CMakeLists.txt for darcy-0.1, 
assuming that you are using SOViewer from cvs.
To download SOViewer via cvs please refer to this page:
http://public.kitware.com/Wiki/SOViewer

Hope that helps,

Julien

wordon wrote:
> I think maybe the problem due to the CMakeList.
> Especially in :
> # This should be found as a package
> # --> Change this to point to the correct location SET(SOV_SOURCE_DIR
> D:/SOViewer/SOViewer) SET(SOV_BINARY_DIR ${SOV_SOURCE_DIR}/Build)
> INCLUDE(${SOV_SOURCE_DIR}/DartConfig.cmake)
> 
> The original CMakeList by author is :
> 
> # This should be found as a package
> # --> Change this to point to the correct location SET(SOV_SOURCE_DIR
> /home/gavinb/projects/ITK/SOViewer)
> SET(SOV_BINARY_DIR ${SOV_SOURCE_DIR}/Build)
> INCLUDE(${SOV_SOURCE_DIR}/sovCMakeOptions.cmake)
> # Just so the generated GUI can find the Base class
> INCLUDE_DIRECTORIES(${Darcy_SOURCE_DIR})
> 
> I don't know what FILE and DIR should I do in these lines.
> Have anybody give me some suggestion?
> 
> Thanks.. :)
> 
> 
> -----Original Message-----
> From: Kevin H. Hobbs [mailto:kevin.hobbs.1 at ohiou.edu] 
> Sent: Thursday, February 16, 2006 11:35 PM
> To: wordon
> Cc: insight-users at itk.org
> Subject: Re: [Insight-users] D'Arcy project build error....Have
anybodyever
> build this project?
> 
> On Thu, 2006-02-16 at 22:50 +0800, wordon wrote:
> 
> <snip>
> 
>> I can't find the define about M_PI , Have anybody can give me some
>> help ?
> 
> I think M_PI should be defined in math.h.
> 
> _______________________________________________
> 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