From: David D. <dav...@gm...> - 2011-03-04 16:01:36
|
On Fri, Mar 4, 2011 at 8:30 AM, David Doria <dav...@gm...> wrote: > When trying to use vnl_sparse_lu, I get a compiler error: > > /home/doriad/src/vxl/core/vnl/algo/vnl_sparse_lu.h:20:29: error: > sparse/spMatrix.h: No such file or directory > > /home/doriad/src/vxl/v3p/netlib/sparse/spMatrix.h indeed exists, so > I'm wondering if there is something wrong in the CMake so that > v3p/netlib is not added as an include_directory? > > Here is my code, my CMakeLists.txt, and the error: > http://pastebin.com/C6dcYKi9 > > Any thoughts? > > Thanks, > > David > This is fixed by adding INCLUDE_DIRECTORIES(/home/doriad/src/vxl/v3p/netlib/) to my project, but it should not be necessary to do that, right? David |