AFAICS, MSVC2010 compiles current Git version without any problem. The OP
doesn't say what version he is trying to build, but if I recall correctly, this
error was fixed months ago.
See
http://gitorious.org/fg/simgear/commit/acbc09b232e4570462d5936eaf20d2671530d8f4
Last tested Boost is 1.44.0 for me.
Regards,
-Fred
----- "Curtis Olson" <curtol...@gmail.com> a écrit :
> Arnt, different compilers often catch different subtle errors, so it is good
> and healthy to run our code through a variety of compilers on a variety of
> platforms. Gcc isn't perfect. Unfortunately I'm can't offer specific help for
> this particular problem, but hopefully one of our other windows developers
> can think of something to suggest.
> Curt.
>
>
> On Fri, May 27, 2011 at 1:36 PM, Arnt Karlsen wrote:
>
On Fri, 27 May 2011 12:55:24 -0400 (EDT), Claus wrote in message
> :
>
>
> > Hello all,
> >
> > I am trying to build FG in Windows 7, using Visual Studio 10.
>
> ..ah. Historically, Microsoft has made use of it's tools and
> "tools" to discourage the use of other peoples SW, this _may_
> be the case here too:
> http://groklaw.net/article.php?story=20090421111327711
>
>
> > A part of that process is simgear, and that gives me some trouble...
> >
> > I eliminated all compile errors with the exception of this one:
> >
> > 1>c:\users\claus\desktop\flighgear-dependencies\simgear-2.0.0\simgear\scene\material\effectbuilder.hxx(134):
> >
>
> ..are you trying to build simgear-2.0.0 ???
>
> > 1>error C2440: 'specialization' : cannot convert from 'std::string
> > 1>std::_Pair_base<_Ty1,_Ty2>::* ' to 'std::string
> > 1>std::pair<_Ty1,_Ty2>::* '
>
> > 1> with
> > 1> [
> > 1> _Ty1=std::string,
> > 1> _Ty2=osg::StateSet::RenderingHint
> > 1> ]
> > 1> Standard conversion from pointer-to-member of base to
> > 1> pointer-to-member of derived is not applied for template arguments
>
> >
> > Googeling only brings up https://svn.boost.org/trac/boost/ticket/3106
> > which unfortunately doesn't help me much. I am using boost 1.46.1.
> >
> > Any ideas?
>
> ..tried alternative tool sets?:
> http://beans.seartipy.com/2006/12/31/six-popular-ides-for-developing-software-in-cc-on-windows-platform/
>
> http://www.google.com/search?num=100&hl=en&q=gcc+windows+ide+C%2B%2B&aq=f&aqi=&aql=&oq=
>
>
> ..if the problem is VS10, one of these should succeed, or give
> you an _other_ error than yours above here.
> If it stops on the same error, you have found a simgear bug.
>
>
> --
> ..med vennlig hilsen = with Kind Regards from Arnt Karlsen
> ...with a number of polar bear hunters in his ancestry...
> Scenarios always come in sets of three:
> best case, worst case, and just in case.
>
>
> ------------------------------------------------------------------------------
>
> vRanger cuts backup time in half-while increasing security.
> With the market-leading solution for virtual backup and recovery,
> you get blazing-fast, flexible, and affordable data protection.
> Download your free trial now.
> http://p.sf.net/sfu/quest-d2dcopy1
> _______________________________________________
> Flightgear-devel mailing list
> Flightgear-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/flightgear-devel
>
>
> --
>
Curtis Olson:
http://www.atiak.com - http://aem.umn.edu/~uav/
http://www.flightgear.org - http://gallinazo.flightgear.org
>
> ------------------------------------------------------------------------------
> vRanger cuts backup time in half-while increasing security. With the
> market-leading solution for virtual backup and recovery, you get
> blazing-fast, flexible, and affordable data protection. Download your free
> trial now. http://p.sf.net/sfu/quest-d2dcopy1
> _______________________________________________ Flightgear-devel mailing list
> Flightgear-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/flightgear-devel
--
Frédéric Bouvier
http://www.youtube.com/user/fgfred64 Videos
------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery,
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now.
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel