COIN-OR::LEMON - Graph Library

Opened 15 years ago

Last modified 6 years ago

#365 closed defect

Cannot include <lemon/adaptors.h> in any of my application source files — at Initial Version

Reported by: William Ford Owned by: Alpar Juttner
Priority: critical Milestone:
Component: core Version: hg main
Keywords: Cc: wford@…
Revision id:

Description

I am using the Gnu 4.4 compiler under MinGW with Codeblocks on Windows to build a large application. I cannot include <lemon/adaptors.h> or <lemon/connectivity.h> in my application without getting a stream of error messages I cannot figure out. My application must use these included file. I have placed error messages below.

Thanks for any help you can provide.

C:\usr\include\lemon\adaptors.h|3459|error: expected nested-name-specifier before 'Value'| C:\usr\include\lemon\adaptors.h|3459|error: expected ';' before 'Value'| C:\usr\include\lemon\adaptors.h|3461|error: wrong number of template arguments (0, should be 2)| C:\usr\include\lemon\bits\traits.h|155|error: provided for 'template<class Map, class Enable> struct lemon::MapTraits?'| C:\usr\include\lemon\adaptors.h|3462|error: wrong number of template arguments (0, should be 2)| C:\usr\include\lemon\bits\traits.h|155|error: provided for 'template<class Map, class Enable> struct lemon::MapTraits?'| C:\usr\include\lemon\adaptors.h|3463|error: wrong number of template arguments (0, should be 2)| C:\usr\include\lemon\bits\traits.h|155|error: provided for 'template<class Map, class Enable> struct lemon::MapTraits?'| C:\usr\include\lemon\adaptors.h|3464|error: wrong number of template arguments (0, should be 2)| C:\usr\include\lemon\bits\traits.h|155|error: provided for 'template<class Map, class Enable> struct lemon::MapTraits?'| C:\usr\include\lemon\adaptors.h|3465|error: wrong number of template arguments (0, should be 2)| C:\usr\include\lemon\bits\traits.h|155|error: provided for 'template<class Map, class Enable> struct lemon::MapTraits?'| C:\usr\include\lemon\adaptors.h|3468|error: expected ')' before ',' token| C:\usr\include\lemon\adaptors.h|3472|error: ISO C++ forbids declaration of 'Value' with no type| C:\usr\include\lemon\adaptors.h|3472|error: expected ';' before 'operator'| C:\A+MyPrograms?\CombinatoricsCalculator?\src\graphs\algorithms\GraphAlgorithmCanvas?.cpp|698|error: expected ';' at end of input| C:\A+MyPrograms?\CombinatoricsCalculator?\src\graphs\algorithms\GraphAlgorithmCanvas?.cpp|698|error: expected '}' at end of input| C:\A+MyPrograms?\CombinatoricsCalculator?\src\graphs\algorithms\GraphAlgorithmCanvas?.cpp|698|error: expected unqualified-id at end of input| C:\A+MyPrograms?\CombinatoricsCalculator?\src\graphs\algorithms\GraphAlgorithmCanvas?.cpp|698|error: expected '}' at end of input| C:\usr\include\lemon\adaptors.h|3443|error: expected unqualified-id at end of input| C:\usr\include\lemon\adaptors.h|3443|error: expected '}' at end of input|

== Build finished: 21 errors, 0 warnings ===|

Change History (0)

Note: See TracTickets for help on using tickets.