[Lemon-user] Problem compiling Lemon on Windows

Allen Brookes allenbrookes at gmail.com
Fri Jun 25 17:30:14 CEST 2010


Hi,

I successfully compiled Lemon on one of my machines, but when I tried on the
other I get a bunch of compilation errors.  As far as I can tell I have done
the same thing on both machines.

I have Visual Studio 2005.  I used CMake 2.8.1 to generate a solution and
project files.  I compiled the ALL_BUILD project and get the following
errors:

Error 1 error C3855: 'lemon::SplitNodesBase<DGR>::NodeMapBase': template
parameter 'T' is incompatible with the
declaration C:\lemon-1.2\lemon\adaptors.h 2925
Error 2 error C3855: 'lemon::SplitNodesBase<DGR>::ArcMapBase': template
parameter 'T' is incompatible with the
declaration C:\lemon-1.2\lemon\adaptors.h 2953
Error 3 error C3203: 'NodeMapBase' : unspecialized class template can't be
used as a template argument for template parameter '_Map', expected a real
type C:\lemon-1.2\lemon\adaptors.h 3266
Error 4 error C3203: 'NodeMapBase' : unspecialized class template can't be
used as a template argument for template parameter '_Map', expected a real
type C:\lemon-1.2\lemon\adaptors.h 3267
Error 5 error C3203: 'ArcMapBase' : unspecialized class template can't be
used as a template argument for template parameter '_Map', expected a real
type C:\lemon-1.2\lemon\adaptors.h 3292
Error 6 error C3203: 'ArcMapBase' : unspecialized class template can't be
used as a template argument for template parameter '_Map', expected a real
type C:\lemon-1.2\lemon\adaptors.h 3293
Error 7 error C3855: 'lemon::SplitNodesBase<DGR>::NodeMapBase': template
parameter 'T' is incompatible with the
declaration C:\lemon-1.2\lemon\adaptors.h 2925
Error 8 error C3855: 'lemon::SplitNodesBase<DGR>::ArcMapBase': template
parameter 'T' is incompatible with the
declaration C:\lemon-1.2\lemon\adaptors.h 2953
Error 9 error C3203: 'NodeMapBase' : unspecialized class template can't be
used as a template argument for template parameter '_Map', expected a real
type C:\lemon-1.2\lemon\adaptors.h 3266
Error 10 error C3203: 'NodeMapBase' : unspecialized class template can't be
used as a template argument for template parameter '_Map', expected a real
type C:\lemon-1.2\lemon\adaptors.h 3267
Error 11 error C3203: 'ArcMapBase' : unspecialized class template can't be
used as a template argument for template parameter '_Map', expected a real
type C:\lemon-1.2\lemon\adaptors.h 3292
Error 12 error C3203: 'ArcMapBase' : unspecialized class template can't be
used as a template argument for template parameter '_Map', expected a real
type C:\lemon-1.2\lemon\adaptors.h 3293
Error 13 error C3855: 'lemon::SplitNodesBase<DGR>::NodeMapBase': template
parameter 'T' is incompatible with the
declaration C:\lemon-1.2\lemon\adaptors.h 2925
Error 14 error C3855: 'lemon::SplitNodesBase<DGR>::ArcMapBase': template
parameter 'T' is incompatible with the
declaration C:\lemon-1.2\lemon\adaptors.h 2953
Error 15 error C3203: 'NodeMapBase' : unspecialized class template can't be
used as a template argument for template parameter '_Map', expected a real
type C:\lemon-1.2\lemon\adaptors.h 3266
Error 16 error C3203: 'NodeMapBase' : unspecialized class template can't be
used as a template argument for template parameter '_Map', expected a real
type C:\lemon-1.2\lemon\adaptors.h 3267
Error 17 error C3203: 'ArcMapBase' : unspecialized class template can't be
used as a template argument for template parameter '_Map', expected a real
type C:\lemon-1.2\lemon\adaptors.h 3292
Error 18 error C3203: 'ArcMapBase' : unspecialized class template can't be
used as a template argument for template parameter '_Map', expected a real
type C:\lemon-1.2\lemon\adaptors.h 3293
Error 19 error C3855: 'lemon::SplitNodesBase<DGR>::NodeMapBase': template
parameter 'T' is incompatible with the
declaration C:\lemon-1.2\lemon\adaptors.h 2925
Error 20 error C3855: 'lemon::SplitNodesBase<DGR>::ArcMapBase': template
parameter 'T' is incompatible with the
declaration C:\lemon-1.2\lemon\adaptors.h 2953
Error 21 error C3203: 'NodeMapBase' : unspecialized class template can't be
used as a template argument for template parameter '_Map', expected a real
type C:\lemon-1.2\lemon\adaptors.h 3266
Error 22 error C3203: 'NodeMapBase' : unspecialized class template can't be
used as a template argument for template parameter '_Map', expected a real
type C:\lemon-1.2\lemon\adaptors.h 3267
Error 23 error C3203: 'ArcMapBase' : unspecialized class template can't be
used as a template argument for template parameter '_Map', expected a real
type C:\lemon-1.2\lemon\adaptors.h 3292
Error 24 error C3203: 'ArcMapBase' : unspecialized class template can't be
used as a template argument for template parameter '_Map', expected a real
type C:\lemon-1.2\lemon\adaptors.h 3293
Error 25 error C3855: 'lemon::SplitNodesBase<DGR>::NodeMapBase': template
parameter 'T' is incompatible with the
declaration C:\lemon-1.2\lemon\adaptors.h 2925
Error 26 error C3855: 'lemon::SplitNodesBase<DGR>::NodeMapBase': template
parameter 'T' is incompatible with the
declaration C:\lemon-1.2\lemon\adaptors.h 2925
Error 27 error C3855: 'lemon::SplitNodesBase<DGR>::ArcMapBase': template
parameter 'T' is incompatible with the
declaration C:\lemon-1.2\lemon\adaptors.h 2953
Error 28 error C3855: 'lemon::SplitNodesBase<DGR>::ArcMapBase': template
parameter 'T' is incompatible with the
declaration C:\lemon-1.2\lemon\adaptors.h 2953
Error 29 error C3203: 'NodeMapBase' : unspecialized class template can't be
used as a template argument for template parameter '_Map', expected a real
type C:\lemon-1.2\lemon\adaptors.h 3266
Error 30 error C3203: 'NodeMapBase' : unspecialized class template can't be
used as a template argument for template parameter '_Map', expected a real
type C:\lemon-1.2\lemon\adaptors.h 3266
Error 31 error C3203: 'NodeMapBase' : unspecialized class template can't be
used as a template argument for template parameter '_Map', expected a real
type C:\lemon-1.2\lemon\adaptors.h 3267
Error 32 error C3203: 'ArcMapBase' : unspecialized class template can't be
used as a template argument for template parameter '_Map', expected a real
type C:\lemon-1.2\lemon\adaptors.h 3292
Error 33 error C3203: 'NodeMapBase' : unspecialized class template can't be
used as a template argument for template parameter '_Map', expected a real
type C:\lemon-1.2\lemon\adaptors.h 3267
Error 34 error C3203: 'ArcMapBase' : unspecialized class template can't be
used as a template argument for template parameter '_Map', expected a real
type C:\lemon-1.2\lemon\adaptors.h 3292
Error 35 error C3203: 'ArcMapBase' : unspecialized class template can't be
used as a template argument for template parameter '_Map', expected a real
type C:\lemon-1.2\lemon\adaptors.h 3293
Error 36 error C3203: 'ArcMapBase' : unspecialized class template can't be
used as a template argument for template parameter '_Map', expected a real
type C:\lemon-1.2\lemon\adaptors.h 3293
Error 37 error C3855: 'lemon::SplitNodesBase<DGR>::NodeMapBase': template
parameter 'T' is incompatible with the
declaration C:\lemon-1.2\lemon\adaptors.h 2925
Error 38 error C3855: 'lemon::SplitNodesBase<DGR>::ArcMapBase': template
parameter 'T' is incompatible with the
declaration C:\lemon-1.2\lemon\adaptors.h 2953
Error 39 error C3203: 'NodeMapBase' : unspecialized class template can't be
used as a template argument for template parameter '_Map', expected a real
type C:\lemon-1.2\lemon\adaptors.h 3266
Error 40 error C3203: 'NodeMapBase' : unspecialized class template can't be
used as a template argument for template parameter '_Map', expected a real
type C:\lemon-1.2\lemon\adaptors.h 3267
Error 41 error C3203: 'ArcMapBase' : unspecialized class template can't be
used as a template argument for template parameter '_Map', expected a real
type C:\lemon-1.2\lemon\adaptors.h 3292
Error 42 error C3203: 'ArcMapBase' : unspecialized class template can't be
used as a template argument for template parameter '_Map', expected a real
type C:\lemon-1.2\lemon\adaptors.h 3293
Error 43 error C2248: 'std::basic_ios<_Elem,_Traits>::basic_ios' : cannot
access private member declared in class
'std::basic_ios<_Elem,_Traits>' C:\Program Files\Microsoft Visual Studio
8\VC\include\istream 842
Error 44 error C2248: 'std::basic_ios<_Elem,_Traits>::basic_ios' : cannot
access private member declared in class
'std::basic_ios<_Elem,_Traits>' C:\Program Files\Microsoft Visual Studio
8\VC\include\ostream 581
Error 45 error C2248: 'std::basic_ios<_Elem,_Traits>::basic_ios' : cannot
access private member declared in class
'std::basic_ios<_Elem,_Traits>' C:\Program Files\Microsoft Visual Studio
8\VC\include\istream 842
Error 46 error C2248: 'std::basic_ios<_Elem,_Traits>::basic_ios' : cannot
access private member declared in class
'std::basic_ios<_Elem,_Traits>' C:\Program Files\Microsoft Visual Studio
8\VC\include\ostream 581
Error 47 error C3855: 'lemon::SplitNodesBase<DGR>::NodeMapBase': template
parameter 'T' is incompatible with the
declaration C:\lemon-1.2\lemon\adaptors.h 2925
Error 48 error C3855: 'lemon::SplitNodesBase<DGR>::ArcMapBase': template
parameter 'T' is incompatible with the
declaration C:\lemon-1.2\lemon\adaptors.h 2953
Error 49 error C3203: 'NodeMapBase' : unspecialized class template can't be
used as a template argument for template parameter '_Map', expected a real
type C:\lemon-1.2\lemon\adaptors.h 3266
Error 50 error C3203: 'NodeMapBase' : unspecialized class template can't be
used as a template argument for template parameter '_Map', expected a real
type C:\lemon-1.2\lemon\adaptors.h 3267
Error 51 error C3203: 'ArcMapBase' : unspecialized class template can't be
used as a template argument for template parameter '_Map', expected a real
type C:\lemon-1.2\lemon\adaptors.h 3292
Error 52 error C3203: 'ArcMapBase' : unspecialized class template can't be
used as a template argument for template parameter '_Map', expected a real
type C:\lemon-1.2\lemon\adaptors.h 3293
Error 53 error C3855: 'lemon::SplitNodesBase<DGR>::NodeMapBase': template
parameter 'T' is incompatible with the
declaration C:\lemon-1.2\lemon\adaptors.h 2925
Error 54 error C3855: 'lemon::SplitNodesBase<DGR>::ArcMapBase': template
parameter 'T' is incompatible with the
declaration C:\lemon-1.2\lemon\adaptors.h 2953
Error 55 error C3203: 'NodeMapBase' : unspecialized class template can't be
used as a template argument for template parameter '_Map', expected a real
type C:\lemon-1.2\lemon\adaptors.h 3266
Error 56 error C3203: 'NodeMapBase' : unspecialized class template can't be
used as a template argument for template parameter '_Map', expected a real
type C:\lemon-1.2\lemon\adaptors.h 3267
Error 57 error C3203: 'ArcMapBase' : unspecialized class template can't be
used as a template argument for template parameter '_Map', expected a real
type C:\lemon-1.2\lemon\adaptors.h 3292
Error 58 error C3203: 'ArcMapBase' : unspecialized class template can't be
used as a template argument for template parameter '_Map', expected a real
type C:\lemon-1.2\lemon\adaptors.h 3293
Does anyone know what I did wrong?

Thanks,
Allen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lemon.cs.elte.hu/pipermail/lemon-user/attachments/20100625/433bc205/attachment.html>


More information about the Lemon-user mailing list