Now, the only lib available to me is ITKIOFactoryRegistration/itkImageIOFactoryRegisterManager.h...
On 24 April 2013 16:48, Gabriel Santiago <[email protected]>wrote: > Still not working... It could be something with the installation of ITK? I > used to use it within Eclipse with no problem at all... But now it seems > that some .h files are "missing"... > > > On 24 April 2013 16:38, John Drescher <[email protected]> wrote: > >> On Wed, Apr 24, 2013 at 3:31 PM, Gabriel Santiago >> <[email protected]> wrote: >> > Actually my CMake is 2.8.7, ITK is 3.20.1 and QT is the latest... >> > >> >> I believe this file should work. Although I really do not have any >> more time to help if it does not. >> >> project(test) >> >> cmake_minimum_required(VERSION 2.8 FATAL_ERROR) >> >> find_package(Qt4 REQUIRED) >> include(${QT_USE_FILE}) >> >> find_package(ITK REQUIRED) >> include( ${ITK_USE_FILE} ) >> >> set( qtproject_SRCS main.cpp) >> >> set(qtproject_UIS mainwindow.ui) >> >> QT4_WRAP_UI(qtproject_UIS_H ${qtproject_UIS}) >> >> include_directories(${CMAKE_CURRENT_BINARY_DIR}) >> >> add_executable(test ${qtproject_SRCS} ${qtproject_UIS_H}) >> >> TARGET_LINK_LIBRARIES(test ${ITK_LIBRARIES} ${QT_LIBRARIES} ) >> >> John >> > > > > -- > Gabriel Santiago > > ~"As long as I live so long do I learn"~ > Ramakhrishna > -- Gabriel Santiago ~"As long as I live so long do I learn"~ Ramakhrishna
-- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
