[Lemon-user] Problem compiling Lemon on Windows
Alpár Jüttner
alpar at cs.elte.hu
Mon Jun 28 16:09:42 CEST 2010
Hi,
It is fairly difficult to give any advice in this case, especially
without having access to the source you want to compile.
If you do exactly the same on the two machines, the result should be the
same, as well. So, I advise you to repeat the compilation process from
scratch on the second machine, using exactly the same compiler etc. If
you still do not succeed, describe your problem at a level that make it
possible to reproduce the error (i.e. provide a source code that shows
the symptoms). It is pretty much impossible to help without it.
Regards,
Alpar
On Fri, 2010-06-25 at 08:30 -0700, Allen Brookes wrote:
> 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
> _______________________________________________
> Lemon-user mailing list
> Lemon-user at lemon.cs.elte.hu
> http://lemon.cs.elte.hu/mailman/listinfo/lemon-user
More information about the Lemon-user
mailing list