Results 1 to 3 of 3

Thread: RTSimpleApp failing to compile on NetSocket

  1. #1
    Lesser Wizard
    Join Date
    Nov 2010
    Location
    Los Angeles, California, United States, United States
    Posts
    126

    Default RTSimpleApp failing to compile on NetSocket

    any idea why I'd be getting this? Thanks for any help!

    Code:
    1>  NetSocket.cpp
    1>c:\program files (x86)\microsoft visual studio 10.0\vc\include\xxresult(28): error C2825: '_Fty': must be a class or namespace when followed by '::'
    1>          c:\program files (x86)\microsoft visual studio 10.0\vc\include\xxresult(40) : see reference to class template instantiation 'std::tr1::_Result_type2<__formal,_Fty,_Arg0,_Arg1>' being compiled
    1>          with
    1>          [
    1>              __formal=false,
    1>              _Fty=int,
    1>              _Arg0=std::tr1::_Nil &,
    1>              _Arg1=std::tr1::_Nil &
    1>          ]
    1>          c:\program files (x86)\microsoft visual studio 10.0\vc\include\xxresult(597) : see reference to class template instantiation 'std::tr1::_Result_of2<_Fty,_Farg0,_Farg1>' being compiled
    1>          with
    1>          [
    1>              _Fty=int,
    1>              _Farg0=std::tr1::_Nil &,
    1>              _Farg1=std::tr1::_Nil &
    1>          ]
    1>          c:\program files (x86)\microsoft visual studio 10.0\vc\include\xrefwrap(28) : see reference to class template instantiation 'std::tr1::_Result_of<_Ty>' being compiled
    1>          with
    1>          [
    1>              _Ty=int (std::tr1::_Nil &,std::tr1::_Nil &)
    1>          ]
    1>          c:\program files (x86)\microsoft visual studio 10.0\vc\include\xxbind1(273) : see reference to class template instantiation 'std::tr1::result_of<_Fty>' being compiled
    1>          with
    1>          [
    1>              _Fty=int (std::tr1::_Nil &,std::tr1::_Nil &)
    1>          ]
    1>          c:\program files (x86)\microsoft visual studio 10.0\vc\include\xxbind0(10) : see reference to class template instantiation 'std::tr1::_Bind2<_Callable,_Arg0,_Arg1>::_Return<_Barg0,_Barg1,_Barg2,_Barg3,_Barg4,_Barg5,_Barg6,_Barg7,_Barg8,_Barg9>' being compiled
    1>          with
    1>          [
    1>              _Callable=std::tr1::_Callable_obj<int,false>,
    1>              _Arg0=sockaddr *,
    1>              _Arg1=unsigned int,
    1>              _Barg0=std::tr1::_Nil &,
    1>              _Barg1=std::tr1::_Nil &,
    1>              _Barg2=std::tr1::_Nil &,
    1>              _Barg3=std::tr1::_Nil &,
    1>              _Barg4=std::tr1::_Nil &,
    1>              _Barg5=std::tr1::_Nil &,
    1>              _Barg6=std::tr1::_Nil &,
    1>              _Barg7=std::tr1::_Nil &,
    1>              _Barg8=std::tr1::_Nil &,
    1>              _Barg9=std::tr1::_Nil &
    1>          ]
    1>          c:\program files (x86)\microsoft visual studio 10.0\vc\include\functional(408) : see reference to class template instantiation 'std::tr1::_Bind_base<_Ret,_BindN>' being compiled
    1>          with
    1>          [
    1>              _Ret=std::tr1::_Notforced,
    1>              _BindN=std::tr1::_Bind2<std::tr1::_Callable_obj<int,false>,sockaddr *,unsigned int>
    1>          ]
    ...

  2. #2
    Administrator Seth's Avatar
    Join Date
    Jul 2002
    Location
    Japan
    Posts
    5,389

    Default

    Wow, quite an error message!

    Fixed in svn, thanks. (needed to change bind to ::bind, I guess msvc2010 confused it with std::bind)
    Seth A. Robinson
    Robinson Technologies

  3. #3
    Lesser Wizard
    Join Date
    Nov 2010
    Location
    Los Angeles, California, United States, United States
    Posts
    126

    Default

    Had to remove Seth.props and update the linker target in Debug GL but that did the trick!

    Thanks!

Similar Threads

  1. RT3DApp_VC2010.sln failing to compile
    By BigBMan in forum Proton SDK
    Replies: 7
    Last Post: 01-30-2011, 10:53 PM
  2. Replies: 5
    Last Post: 12-26-2010, 10:52 PM
  3. Scrolling in RTSimpleApp
    By BigBMan in forum Proton SDK
    Replies: 4
    Last Post: 12-10-2010, 04:40 AM
  4. Failing Android build
    By rzuf in forum Proton SDK
    Replies: 1
    Last Post: 11-11-2010, 10:57 PM
  5. NetGameClient::connect() never failing?
    By Bluk in forum Official ClanLib SDK Forums
    Replies: 1
    Last Post: 03-02-2010, 11:48 AM

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •