Ticket #100 (closed bug report: fixed)

Opened 3 years ago

Last modified 3 years ago

Compilation error with PostgreSQL 8.3 (WinXP SP2)

Reported by: daniel Owned by: anton
Priority: major Milestone:
Component: pgRouting package Version: 1.0
Keywords: Cc:

Description

Compilation error with PostgreSQL 8.3 (Windows XP SP2)

$ make
Boost headers were found here: C:/msys/1.0/local/include/boost-1_33_1
Output directory for libraries is set to CreateProcessError: The system cannot find the file specified.

for command: pg_config --pkglibdir
-- Configuring done
-- Generating done
-- Build files have been written to: C:/msys/1.0/home/admin/pgrouting
Scanning dependencies of target routing
[ 16%] Building C object core/src/CMakeFiles/routing.dir/dijkstra.obj
[ 33%] Building C object core/src/CMakeFiles/routing.dir/astar.obj
[ 50%] Building C object core/src/CMakeFiles/routing.dir/shooting_star.obj
[ 66%] Building CXX object core/src/CMakeFiles/routing.dir/boost_wrapper.obj
[ 83%] Building CXX object core/src/CMakeFiles/routing.dir/astar_boost_wrapper.obj
In file included from c:/msys/1.0/home/admin/pgrouting/core/src/astar_boost_wrapper.cpp:32:
C:/Program Files/PostgreSQL/8.3/include/server/port.h:339: error: previous declaration of `double rint(double)' with C++ linkage
c:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/math.h:619: error: conflicts with new declaration with C linkage
make[2]: *** [core/src/CMakeFiles/routing.dir/astar_boost_wrapper.obj] Error 1
make[1]: *** [core/src/CMakeFiles/routing.dir/all] Error 2
make: *** [all] Error 2

Change History

Changed 3 years ago by anton

  • owner changed from Anton to anton
  • status changed from new to assigned
  • version set to 1.0
  • milestone Version 1.1 deleted

Should be fixed with [118]. Can you please try the newest version from SVN?

Changed 3 years ago by anton

  • status changed from assigned to closed
  • resolution set to fixed

I assume it is fixed.

Note: See TracTickets for help on using tickets.