# Thread: RTSimpleApp failing to compile on NetSocket

1. ## 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>              _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>          ]```
...

2. Wow, quite an error message!

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

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

Thanks!

#### Posting Permissions

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