[Lemon-user] Problem compiling Lemon on Windows
D Haley
mycae at yahoo.com
Mon Jun 28 19:33:57 CEST 2010
I think his mail reader is wrapping the quotes.
C is simply part of 'C:\lemon-1.2\lemon\adaptors.h'
--- On Tue, 6/29/10, Alpár Jüttner <alpar at cs.elte.hu> wrote:
> From: Alpár Jüttner <alpar at cs.elte.hu>
> Subject: Re: [Lemon-user] Problem compiling Lemon on Windows
> To: "Allen Brookes" <allenbrookes at gmail.com>
> Cc: "lemon-user" <lemon-user at lemon.cs.elte.hu>
> Date: Tuesday, June 29, 2010, 3:20 AM
> On Mon, 2010-06-28 at 07:58 -0700,
> Allen Brookes wrote:
> > Hi,
> >
> > The source code is just Lemon 1.2.
>
> I'm overlooked this info, sorry for it.
>
> > The OS version and compiler versions are the
> same on both machines
> > and I have tried numerous times downloading Lemon,
> running CMake and
> > compiling the Lemon sources, with the same result each
> time.
>
> It is strange.
>
> The next thing I would try is to copy the working source
> and build tree
> from machine 1. to machine 2. to the _same location_ and
> try to rebuild.
> Could you try to do this?
>
> > I sent the problem and the error output
>
> Is this the full compiler log? It is very uninformative, I
> can't even
> see from the error report which .cc file was being compiled
> when the the
> problem occurred. Also the error report refers to a
> variable or type 'C'
> but there is no such a thing in lemon/adaptors.h
>
> Unfortunately, I don't have an easy access to VS2005. Would
> it be
> possible to try to compile it with a newer version, say
> VS2008? The
> express edition can be downloaded for free.
>
>
> Regards,
> Alpar
>
>
>
>
> > Allen
> >
> >
> > On Mon, Jun 28, 2010 at 7:09 AM, Alpár Jüttner
> <alpar at cs.elte.hu>
> > wrote:
> > 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
> >
> >
> >
>
>
> _______________________________________________
> 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