blackcatq8 0 Posted December 25, 2018 Share Posted December 25, 2018 Quote Error LNK2001 unresolved external symbol "public: bool __thiscall CPythonNetworkStream::SendExchangeGemAddPacket(unsigned char)" (?SendExchangeGemAddPacket@CPythonNetworkStream@@QAE_NE@Z) UserInterface 3 F:\blackcatq8\test1-server\test1-client\Srcs\Client\UserInterface F:\blackcatq8\test1-server\test1-client\Srcs\Client\UserInterface\PythonNetworkStreamModule.obj 1 Quote #ifdef ENABLE_GEM_SYSTEM { "SendExchangeGemAddPacket", netSendExchangeGemAddPacket, METH_VARARGS }, #endif #ifdef ENABLE_GEM_SYSTEM PyObject* netSendExchangeGemAddPacket(PyObject* poSelf, PyObject* poArgs) { BYTE iGem; if (!PyTuple_GetInteger(poArgs, 0, &iGem)) return Py_BuildException(); CPythonNetworkStream& rkNetStream=CPythonNetworkStream::Instance(); rkNetStream.SendExchangeGemAddPacket(iGem); return Py_BuildNone(); } #endif pythonnetworkstream.h #ifdef ENABLE_GEM_SYSTEM bool SendExchangeGemAddPacket(BYTE gem); #endif I try rebuild again a lot O.o pls help me if i add in pythonnetworkstreamphasegame.cpp it line compile i done bool CPythonNetworkStream::SendExchangeGemAddPacket(BYTE gem) { return false; } if someone have code for it part tell me pls what i do im so nuba Link to comment Share on other sites More sharing options...
Premium WeedHex 635 Posted December 27, 2018 Premium Share Posted December 27, 2018 bool CPythonNetworkStream::SendExchangeGemAddPacket(BYTE gem) { return false; } You made a bool function to let it return always false? O_O Link to comment Share on other sites More sharing options...
blackcatq8 0 Posted December 28, 2018 Author Share Posted December 28, 2018 On 12/27/2018 at 3:11 PM, WeedHex said: bool CPythonNetworkStream::SendExchangeGemAddPacket(BYTE gem) { return false; } You made a bool function to let it return always false? O_O yeah i was find error *_*" Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now