Boost logo

Boost Users :

From: Yoshi Fujiwara (yfujiwar_at_[hidden])
Date: 2004-12-07 21:46:37


Borland bcc32 5.6.4 (Borland builder 6 updated #4)
boost_1_32_0

Being a newbie, i tried to compile dijkstra-example.cpp, an example
given in BGL tutorial, but got the following compilation errors
(message truncated somewhat).

bcc32 -w- dijkstra-example.cpp
Borland C++ 5.6.4 for Win32 Copyright (c) 1993, 2002 Borland
dijkstra-example.cpp:
E2406 C:\include\boost/property_map.hpp 25: Dependent type qualifier 'int *' is not a class or struct type
E2406 C:\include\boost/property_map.hpp 26: Dependent type qualifier 'int *' is not a class or struct type
E2406 C:\include\boost/property_map.hpp 27: Dependent type qualifier 'int *' is not a class or struct type
E2406 C:\include\boost/property_map.hpp 28: Dependent type qualifier 'int *' is not a class or struct type
E2451 C:\include\boost/graph/dijkstra_shortest_paths.hpp 243: Undefined symbol max( ...
E2285 C:\include\boost/graph/dijkstra_shortest_paths.hpp 243: Could not find a match for 'choose_param<P,Default>(error_property_not_found,undefined)' ...
E2285 C:\include\boost/graph/dijkstra_shortest_paths.hpp 245: Could not find a match for 'choose_param<P,Default>(error_property_not_found,undefined)' ...
E2285 C:\include\boost/graph/dijkstra_shortest_paths.hpp 247: Could not find a match for 'dijkstra_shortest_paths<VertexListGraph,Param,Tag,Rest>( ...
*** 8 errors in Compile ***

It seems that this may be FAQ, but i could not find any answer to such
posts as
[BGL]bellman_ford_internet example by Kaled Ahmed
[BGL]DIJKSTRA - ospf-example by Khaled Saleh

i appreciate advice from bcc32 5.6.4 users who are doing well with it.
best wishes,
Yoshi


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net