Jump to content

Binary compilation error


Recommended Posts

Hello. I tried to install offline shop system on my server and when i tried to compile binary i had 4 errors:

	Error    295    error C2653: 'CPythonPlayer' : is not a class or namespace name    e:\Sursa server\SursaLauncher BUNA\UserInterface\PythonNetworkStreamPhaseGameItem.cpp    897    UserInterface
Error    296    error C2039: 'HasOfflineShop' : is not a member of 'CPythonNetworkStream'    e:\Sursa server\SursaLauncher BUNA\UserInterface\PythonNetworkStreamPhaseGameItem.cpp    897    UserInterface
Error    297    error C2065: 'SHOP_SUBHEADER_GC_CHECK_RESULT' : undeclared identifier    e:\Sursa server\SursaLauncher BUNA\UserInterface\PythonNetworkStreamPhaseGame.cpp    4325    UserInterface
Error    298    error C2051: case expression not constant    e:\Sursa server\SursaLauncher BUNA\UserInterface\PythonNetworkStreamPhaseGame.cpp    4325    UserInterface

Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Error    295    error C2653: 'CPythonPlayer' : is not a class or namespace name    e:\Sursa server\SursaLauncher BUNA\UserInterface\PythonNetworkStreamPhaseGameItem.cpp    897    UserInterface
Error    296    error C2039: 'HasOfflineShop' : is not a member of 'CPythonNetworkStream'    e:\Sursa server\SursaLauncher BUNA\UserInterface\PythonNetworkStreamPhaseGameItem.cpp    897    UserInterface

I solved this ^. 

I added 

#include PythonPlayer.h in PythonNetworkStreamPhaseGameItem.cpp header.

 

But i cant fix 3rd and 4th error...

Link to comment
Share on other sites

18 hours ago, ladcatalin said:

Hello. I tried to install offline shop system on my server and when i tried to compile binary i had 4 errors:

 



Error    297    error C2065: 'SHOP_SUBHEADER_GC_CHECK_RESULT' : undeclared identifier    e:\Sursa server\SursaLauncher BUNA\UserInterface\PythonNetworkStreamPhaseGame.cpp    4325    UserInterface
Error    298    error C2051: case expression not constant    e:\Sursa server\SursaLauncher BUNA\UserInterface\PythonNetworkStreamPhaseGame.cpp    4325    UserInterface

 

Solved ^^^

I added in 

enum EPacketShopSubHeaders

from

Packet.h

this: 

    SHOP_SUBHEADER_GC_CHECK_RESULT,

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.