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

Ian Scott ian.m.scott at stud.man.ac.uk
Thu, 4 Mar 2004 16:03:54 -0000


Ah now I see the real email, I think this problem is due to your use of
AUX_SOURCE_DIRECTORY, and not anything to do with MUL per se. When a file is
built in that directory, the default include path will contain the current
(Templates) directory, not your main stereo source dir.

Try adding

INCLUDE_DIRECTORIES(${stereo_SOURCE_DIR})

before
SET ( StereoBase_sources

Regards,
Ian.

> -----Original Message-----
> From: cmake-admin at www.cmake.org [mailto:cmake-admin at www.cmake.org]On
> Behalf Of durucan at web.de
> Sent: Thursday, March 04, 2004 3:41 PM
> To: cmake at www.cmake.org; durucan at web.de;
> vxl-users at lists.sourceforge.net
> Subject: [Cmake] Re: [Vxl-users] CmakeLists.txt cannot find VXL MUL
> stuff
>
>
> 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>)
>
> hmm
>
> <>
> >
> >
> >
> > Ian Here it is once gain. I have a problem with my email
> provider it does not support html by default.
> >
> >
> > Hi
> >
> > I just implemented a stereo algorithm. Now I would like to
> extend it with some modified MUL/vimt algorithms. The stereo
> algorithm for itself runs well but however once I include MUL
> (e.g. vimt etc) stuff I can't find the included headers etc.
> >
> >
> >
> > Any help is appreciated!
> >
> > Thank you very much Emrullah
> >
> > Here is my CMakeLists.txt:
> >
> > PROJECT (stereo)
> >
> > FIND_PACKAGE( VXL )
> > IF(VXL_FOUND)
> > INCLUDE(${VXL_CMAKE_DIR}/UseVXL.cmake)
> > ELSE(VXL_FOUND)
> > MESSAGE(FATAL_ERROR
> > "Cannot BUILD without VXL. Please find VXL_DIR")
> > ENDIF(VXL_FOUND)
> >
> > SET ( StereoBase_sources
> > stereo.cpp stereo.h
> > vimt_dog_pyramid_D.txx vimt_dog_pyramid_D.h)
> >
> > AUX_SOURCE_DIRECTORY(Templates StereoBase_sources)
> >
> >
> > ADD_EXECUTABLE(stereo dense_matcher_full.cxx ${StereoBase_sources})
> > TARGET_LINK_LIBRARIES(stereo vtol vimt vdgl vgl vil vil1
> vil_algo vil_io vnl vgl vgel rsdl )
> >
> >
> >
> > In the Templates directory I have the file
> vimt_dog_pyramid_D+float-.cxx with:
> >
> > #include <src/vimt_dog_pyramid_D.txx>
> > VIMT_DOG_PYRAMID_D_INSTANTIATE(float);
> >
> >
> >
> >
> ______________________________________________________________
> _________
> > Ein Grund zum Feiern: Die PC Praxis ermittelt zwischen 10 grossen
> > Mailprovidern WEB.DE FreeMail als Testsieger
http://f.web.de/?mc=021190
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: IBM Linux Tutorials
> Free Linux tutorial presented by Daniel Robbins, President and CEO of
> GenToo technologies. Learn everything from fundamentals to system
> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> _______________________________________________
> Vxl-users mailing list
> Vxl-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/vxl-users


____________________________________________________________________________
Nachrichten, Musik und Spiele schnell und einfach per Quickstart im
WEB.DE Screensaver - Gratis downloaden: http://screensaver.web.de/?mc=021110

_______________________________________________
Cmake mailing list
Cmake at www.cmake.org
http://www.cmake.org/mailman/listinfo/cmake