klenio0
New Member
- Joined
- May 10, 2010
- Messages
- 85
- Reaction score
- 1
I am trying to implement this code on my server, but when I compile an error appears.
Feature - Embedded proxy in your server.
error:
Building CXX object CMakeFiles/tfs.dir/src/protocollogin.cpp.o
/home/proxy/src/protocollogin.cpp: In member function ‘void ProtocolLogin::addWorldInfo(OutputMessage_ptr&, const string&, const string&, uint16_t, bool)’:
/home/proxy/src/protocollogin.cpp:69:41: error: ‘account’ was not declared in this scope
auto proxyInfo = g_config.getProxyInfo(account.proxyId);
^
CMakeFiles/tfs.dir/build.make:1319: recipe for target 'CMakeFiles/tfs.dir/src/protocollogin.cpp.o' failed
make[2]: *** [CMakeFiles/tfs.dir/src/protocollogin.cpp.o] Error 1
CMakeFiles/Makefile2:60: recipe for target 'CMakeFiles/tfs.dir/all' failed
make[1]: *** [CMakeFiles/tfs.dir/all] Error 2
Makefile:76: recipe for target 'all' failed
make: *** [all] Error 2
Feature - Embedded proxy in your server.
error:
Building CXX object CMakeFiles/tfs.dir/src/protocollogin.cpp.o
/home/proxy/src/protocollogin.cpp: In member function ‘void ProtocolLogin::addWorldInfo(OutputMessage_ptr&, const string&, const string&, uint16_t, bool)’:
/home/proxy/src/protocollogin.cpp:69:41: error: ‘account’ was not declared in this scope
auto proxyInfo = g_config.getProxyInfo(account.proxyId);
^
CMakeFiles/tfs.dir/build.make:1319: recipe for target 'CMakeFiles/tfs.dir/src/protocollogin.cpp.o' failed
make[2]: *** [CMakeFiles/tfs.dir/src/protocollogin.cpp.o] Error 1
CMakeFiles/Makefile2:60: recipe for target 'CMakeFiles/tfs.dir/all' failed
make[1]: *** [CMakeFiles/tfs.dir/all] Error 2
Makefile:76: recipe for target 'all' failed
make: *** [all] Error 2