Hi All:<br><br><br>I'm new to ITK, and I'm writing a simple program using one of the minimizing procedure in vnl.<br><br>I configured my cmakelist as follows, and successfully compile the 'Hello World' example, but when I try to compile my optimizer, my compiler (Visual Studio 2008) couldn't find 'vnl_lbfgs.h' . It is surely installed, and I might get around it by manually setting the path in my Visual Studio, but is there any better way that I can fix it? <br>
<br>My cmakelist files is like:<br><br>cmake_minimum_required(VERSION 2.8)<br><br>PROJECT(bond)<br><br>FIND_PACKAGE(ITK REQUIRED)<br><br>INCLUDE(${ITK_USE_FILE})<br><br>INCLUDE_DIRECTORIES(<br> ${VXLCORE_INCLUDE_DIR}<br>
${GEL_INCLUDE_DIR}<br> ${VXL_VNL_INCLUDE_DIR} <br>)<br><br><br>ADD_EXECUTABLE(bond bond.cpp mex_optimizer.cpp)<br>TARGET_LINK_LIBRARIES(bond ITKCommon)<br><br><div style="visibility: hidden; display: inline;" id="avg_ls_inline_popup">
</div><style type="text/css">#avg_ls_inline_popup { position:absolute; z-index:9999; padding: 0px 0px; margin-left: 0px; margin-top: 0px; width: 240px; overflow: hidden; word-wrap: break-word; color: black; font-size: 10px; text-align: left; line-height: 13px;}</style>