[IGSTK-Users] making an igstk project using visual studio express (some progress on linux)

Ray Tayek rtayek at ca.rr.com
Thu Jul 31 19:26:13 EDT 2008


At 01:30 AM 7/30/2008, you wrote:
...
>>IF (NOT FLTK11_FOUND) ...
>>and change it to say
>>IF (NOT FLTK_FOUND) ...
>>         ....
>
>i did this to the copy that i put in share
>
>but using the file just below still fails.
>
>so mostly i am hacking stuff in igstk's hello world project.

had some luck on linux. i put the Use files into /usr/share/cmake.../Modules/

and it found igstk.

but still can't find fltk :(

thanks

>Project(HelloWorld)
>
>FIND_FILE ( UseFiles
>         NAMES UseIGSTK.cmake FLTKUse.cmake
>         PATHS "I:/oi/build/igstk/" "I:/oi/fltk-1.1.9/CMake/"
>      )
>
>#INCLUDE( ${UseFiles})
>
>SET (Required_Packages
>                 FLTK
>                 IGSTK
>                 ITK
>                 VTK
>         )
>
>SET (Project_SRCS
>                 HelloWorld.cxx
>         )
>
>SET (FLTK_SRCS  HelloWorld.fl)
>
>FOREACH (Package ${Required_Packages})
>         FIND_PACKAGE (${Package})
>         IF (NOT ${Package}_FOUND)
>                 MESSAGE ("Can't find ${Package} package.")
>         ENDIF (NOT ${Package}_FOUND)
>ENDFOREACH (Package)
>
>IF (FLTK_FOUND)
>         INCLUDE (FLTKUse)
>         FLTK_WRAP_UI (DrillCutOff ${FLTK_SRCS})
>ENDIF (FLTK_FOUND)
>
>IF (IGSTK_FOUND)
>         INCLUDE (UseIGSTK)
>ENDIF (IGSTK_FOUND)
>
>ADD_EXECUTABLE  (HelloWorld  ${Project_SRCS} ${HelloWorld_FLTK_UI_SRCS})
>TARGET_LINK_LIBRARIES(HelloWorld IGSTK) ...

---
vice-chair http://ocjug.org/





More information about the IGSTK-Users mailing list