[Cmake] Re: [Vxl-users] CmakeLists.txt cannot find VXL MUL stuff

Brad King brad.king at kitware.com
Thu, 04 Mar 2004 10:57:23 -0500


durucan at web.de wrote:

> Hi Ian
> 
> I tried
> 
> INCLUDE_DIRECTORIES(${MUL_INCLUDE_DIR})
> 
> but it did not work
> here is the error message
> 
> C:\durucan\VXL\stereo\src\Templates\vimt_dog_pyramid_D+float-.cxx(1) : fatal error C1083: Cannot open include file: 'src/vimt_dog_pyramid_D.txx': No such file or directory
> 
> 
> Same problem is valid when I make only an basic include of any vimt file in a running out of source directory build program.
> (e.g. #include <vimt/vimt_image_2d_of.h>)

Your project is built outside the VXL tree.  All VXL-related variables 
have a VXL_ prefix when referenced outside the tree.  The file 
VXLConfig.cmake in the directory where you set VXL_DIR lists the 
variables that are available.  You want

INCLUDE_DIRECTORIES(${VXL_MUL_INCLUDE_DIR})

-Brad