[pgrouting-dev] pgRouting 2.0 Update

Sandro Santilli strk at keybit.net
Wed Mar 13 07:02:03 PDT 2013


On Wed, Mar 13, 2013 at 08:24:52AM -0400, Stephen Woodbridge wrote:
> Hi strk,
> 
> On 3/13/2013 3:14 AM, Sandro Santilli wrote:
> >Hi Stephen,
> >is the branch supposed to be buildable on linux ?
> 
> More or less, I have been changing between linux and windows to keep
> the cmake changes working on both side. It needs me to push some
> stuff back for linux which will happen later today.
> 
> BUT - at this point it is only "buildable", it does not install and
> has not been tested. I also have a lot of changes to make to it for
> postgis 2.x compatibility.

It's not buildable here, with cmake 2.8.7:

 -- Configuring done
 CMake Error at CMakeLists.txt:139 (ADD_LIBRARY):
  Cannot find source file:

    $<TARGET_OBJECTS:astar>

  Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
  .hxx .in .txx

And the same message repeated for:

  $<TARGET_OBJECTS:dijkstra>
  $<TARGET_OBJECTS:shooting_star>
  $<TARGET_OBJECTS:trsp>

Then:

 CMake Error in core/astar/src/CMakeLists.txt:
  Cannot find source file:

    OBJECT

  Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
  .hxx .in .txx

and the same message repeated for:

 CMake Error in core/dijkstra/src/CMakeLists.txt:
 CMake Error in core/shooting_star/src/CMakeLists.txt:
 CMake Error in core/trsp/src/CMakeLists.txt:

And finally:

 -- Build files have been written to: /usr/src/pgrouting/pgrouting/b

With cmake exit code being 1 and `make` returning:

 make: *** No targets specified and no makefile found.  Stop.

This is invoking cmake from outside the source dir, ie:

 mkdir b; cd b; cmake -DWITH_TSP=ON -DWITH_DD=ON ..

With current seq-devel-2_0 (commit 825b40e049e4b21787c27f00aae49b0382279842)

--strk;


More information about the pgrouting-dev mailing list