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

wordon m9421001 at gmail.com
Fri Feb 17 11:58:01 EST 2006


Julien :
Yes,I use CMake directly.  :)

And FLTK_USE_SYSTEM_JPEG , FLTK_USE_SYSTEM_PNG , FLTK_USE_SYSTEM_ZLIB is
turn into ON.

Finally ,I choose the RELEASE MODE to compile it in VC 6.0, It is the same
with ITK,VTK,and SOViewer.

-----Original Message-----
From: Julien Jomier [mailto:julien.jomier at kitware.com] 
Sent: Saturday, February 18, 2006 12:44 AM
To: wordon
Subject: Re: [Insight-users] D'Arcy project build error....Have anybodyever
build this project?

Are you compiling FLTK using CMake?

Julien

wordon wrote:
> Hi, Julien :
> Thanks for your reply.
> But my FLTK version is 1.1.7 now.
> 
> NOTE:
> When I build InsightApplication (USE_FLTK),
> CMake can obtain the FLTK directory and library file directly in
CMakeCache.
> But when I build Darcy project,CMake can't obtain those information,
> and I must type that by myself.
> 
> It's a so strange situation.
> Can anybady give me some suggestion?
> 
> Thanks .
> 
> -----Original Message-----
> From: Julien Jomier [mailto:julien.jomier at kitware.com] 
> Sent: Saturday, February 18, 2006 12:16 AM
> To: wordon
> Cc: insight-users at itk.org; hobbsk at ohiou.edu
> Subject: Re: [Insight-users] D'Arcy project build error....Have
anybodyever
> build this project?
> 
> If you can, please update your FLTK to FLTK v1.1.7 from www.fltk.org
> 
> That should solve your problem,
> 
> Julien
> 
> wordon wrote:
>> 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
>>>
>> _______________________________________________
>> 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