<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div>Hi,<br><br>I have a problem configuring itk (3.1.6) with cmake (2.8) under linux (ubuntu 9.3). I get this error:<br>------------------------------------------------------------------------------------------------<br>CMake Error at Insight/CMakeLists.txt:840 (MESSAGE):<br> -ffloat-store causes runtime bugs on gcc 3.2.3 (appearently not on gcc<br> 3.4.3, but the exact criteria is not known). It must be removed from your<br> compilation options.<br>------------------------------------------------------------------------------------------------<br><br>It seems like I have to change the compilation options however I don't know how as I am new to Linux. Could someone help me to solve this issue?<br><br>One other thing, can you also send me an example of a
cmake file to include itk to my project? This is what I have for now:<br>----------------------------------------------------------------------------<br>FIND_PACKAGE(ITK REQUIRED)<br>INCLUDE_DIRECTORIES( ${ITK_INCLUDE_DIRS})<br>TARGET_LINK_LIBRARIES(${ITK_LIBRARIES})<br>----------------------------------------------------------------------------<br><br>Thank you in advance.<br><br>Best regards,<br><br>J.<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br></div>
<!-- cg2.c99.mail.mud.yahoo.com compressed/chunked Thu Nov 19 03:49:01 PST 2009 -->
</div><br>
</body></html>