<div dir="ltr">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"...<br><div class="gmail_extra">
<br><br><div class="gmail_quote">On 24 April 2013 16:38, John Drescher <span dir="ltr"><<a href="mailto:drescherjm@gmail.com" target="_blank">drescherjm@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On Wed, Apr 24, 2013 at 3:31 PM, Gabriel Santiago<br>
<<a href="mailto:santiago.eletrica@gmail.com">santiago.eletrica@gmail.com</a>> wrote:<br>
> Actually my CMake is 2.8.7, ITK is 3.20.1 and QT is the latest...<br>
><br>
<br>
</div>I believe this file should work. Although I really do not have any<br>
more time to help if it does not.<br>
<br>
project(test)<br>
<br>
cmake_minimum_required(VERSION 2.8 FATAL_ERROR)<br>
<br>
find_package(Qt4 REQUIRED)<br>
include(${QT_USE_FILE})<br>
<br>
find_package(ITK REQUIRED)<br>
include( ${ITK_USE_FILE} )<br>
<br>
set( qtproject_SRCS main.cpp)<br>
<br>
set(qtproject_UIS mainwindow.ui)<br>
<br>
QT4_WRAP_UI(qtproject_UIS_H ${qtproject_UIS})<br>
<br>
include_directories(${CMAKE_CURRENT_BINARY_DIR})<br>
<br>
add_executable(test ${qtproject_SRCS} ${qtproject_UIS_H})<br>
<div class="HOEnZb"><div class="h5"><br>
TARGET_LINK_LIBRARIES(test ${ITK_LIBRARIES} ${QT_LIBRARIES} )<br>
<br>
</div></div><span class="HOEnZb"><font color="#888888">John<br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br>Gabriel Santiago<br><br>~"As long as I live so long do I learn"~<div>Ramakhrishna</div>
</div></div>