You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello! Trying to build/use GNS into my game engine.
Unfortunately I'm bound to X86 and Static linking.
VCPKG install of x86-windows-static gives this error:
gamenetworkingsockets[core]:x86-windows-static is only supported on '!(static & windows) & !uwp & !(arm64 & windows)'
Tried downloading and building, with success, but when implementing in my source setting STEAMNETWORKINGSOCKETS_STATIC_LINK and linking GameNetworkingSockets_s.lib I get a lot of linking errors :
`Build started...
1>------ Build started: Project: GameServer, Configuration: Debug Win32 ------
1>Build started 30/08/2023 14:31:33.
1>Target InitializeBuildStatus:
1> Touching "C:\Users\Administrator\Desktop\Priston\PTEU_\pristontaleeu-source\Src\GameServer..\Cache\GameServer\Debug\GameServer.tlog\unsuccessfulbuild".
1>Target VcpkgTripletSelection:
1> Using triplet "x86-windows-static" from "C:\vcpkg\installed\x86-windows-static"
1> Using normalized configuration "Debug"
1>Target ClCompile:
1> All outputs are up-to-date.
1> GNS_Server.cpp
1> All outputs are up-to-date.
1>Target Link:
1> ASM_functions.obj : warning LNK4075: ignoring '/EDITANDCONTINUE' due to '/INCREMENTAL:NO' specification
1> Creating library C:\Users\Administrator\Desktop\Priston\PTEU_\pristontaleeu-source\Src\GameServer....\bin\server\game-server\server.lib and object C:\Users\Administrator\Desktop\Priston\PTEU_\pristontaleeu-source\Src\GameServer....\bin\server\game-server\server.exp
1> LINK : warning LNK4217: symbol '_free' defined in 'libucrtd.lib(free.obj)' is imported by 'ZLib_d.lib(zutil.obj)' in function '_zcfree'
1> LINK : warning LNK4217: symbol '_malloc' defined in 'libucrtd.lib(malloc.obj)' is imported by 'ZLib_d.lib(zutil.obj)' in function '_zcalloc'
1> GameNetworkingSockets_s.lib(steamnetworkingsockets_p2p_ice.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall google::protobuf::internal::LogMessage::LogMessage(enum google::protobuf::LogLevel,char const *,int)" (_imp??0LogMessage@internal@protobuf@google@@QAE@W4LogLevel@23@PBDH@Z)
1> GameNetworkingSockets_s.lib(steamnetworkingsockets_messages_udp.pb.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall google::protobuf::internal::LogMessage::LogMessage(enum google::protobuf::LogLevel,char const *,int)" (_imp??0LogMessage@internal@protobuf@google@@QAE@W4LogLevel@23@PBDH@Z)
1> GameNetworkingSockets_s.lib(steamnetworkingsockets_stun.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall google::protobuf::internal::LogMessage::LogMessage(enum google::protobuf::LogLevel,char const *,int)" (_imp??0LogMessage@internal@protobuf@google@@QAE@W4LogLevel@23@PBDH@Z)
1> GameNetworkingSockets_s.lib(steamnetworkingsockets_p2p.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall google::protobuf::internal::LogMessage::LogMessage(enum google::protobuf::LogLevel,char const *,int)" (_imp??0LogMessage@internal@protobuf@google@@QAE@W4LogLevel@23@PBDH@Z)
1> GameNetworkingSockets_s.lib(steamnetworkingsockets_udp.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall google::protobuf::internal::LogMessage::LogMessage(enum google::protobuf::LogLevel,char const *,int)" (_imp??0LogMessage@internal@protobuf@google@@QAE@W4LogLevel@23@PBDH@Z)
1> GameNetworkingSockets_s.lib(steamnetworkingsockets_certstore.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall google::protobuf::internal::LogMessage::LogMessage(enum google::protobuf::LogLevel,char const *,int)" (_imp??0LogMessage@internal@protobuf@google@@QAE@W4LogLevel@23@PBDH@Z)
1> GameNetworkingSockets_s.lib(steamnetworkingsockets_messages.pb.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall google::protobuf::internal::LogMessage::LogMessage(enum google::protobuf::LogLevel,char const *,int)" (_imp??0LogMessage@internal@protobuf@google@@QAE@W4LogLevel@23@PBDH@Z)
1> GameNetworkingSockets_s.lib(csteamnetworkingsockets.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall google::protobuf::internal::LogMessage::LogMessage(enum google::protobuf::LogLevel,char const *,int)" (_imp??0LogMessage@internal@protobuf@google@@QAE@W4LogLevel@23@PBDH@Z)
1> GameNetworkingSockets_s.lib(steamnetworkingsockets_messages_certs.pb.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall google::protobuf::internal::LogMessage::LogMessage(enum google::protobuf::LogLevel,char const *,int)" (_imp??0LogMessage@internal@protobuf@google@@QAE@W4LogLevel@23@PBDH@Z)
1> GameNetworkingSockets_s.lib(steamnetworkingsockets_certs.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall google::protobuf::internal::LogMessage::LogMessage(enum google::protobuf::LogLevel,char const *,int)" (_imp??0LogMessage@internal@protobuf@google@@QAE@W4LogLevel@23@PBDH@Z)
1> GameNetworkingSockets_s.lib(steamnetworkingsockets_connections.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall google::protobuf::internal::LogMessage::LogMessage(enum google::protobuf::LogLevel,char const *,int)" (_imp??0LogMessage@internal@protobuf@google@@QAE@W4LogLevel@23@PBDH@Z)
1> GameNetworkingSockets_s.lib(steamnetworkingsockets_p2p_ice.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall google::protobuf::internal::LogMessage::~LogMessage(void)" (_imp??1LogMessage@internal@protobuf@google@@QAE@XZ)
1> GameNetworkingSockets_s.lib(steamnetworkingsockets_messages_udp.pb.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall google::protobuf::internal::LogMessage::~LogMessage(void)" (_imp??1LogMessage@internal@protobuf@google@@QAE@XZ)
1> GameNetworkingSockets_s.lib(steamnetworkingsockets_stun.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall google::protobuf::internal::LogMessage::~LogMessage(void)" (_imp??1LogMessage@internal@protobuf@google@@QAE@XZ)
1> GameNetworkingSockets_s.lib(steamnetworkingsockets_p2p.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall google::protobuf::internal::LogMessage::~LogMessage(void)" (_imp??1LogMessage@internal@protobuf@google@@QAE@XZ)
1> GameNetworkingSockets_s.lib(steamnetworkingsockets_udp.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall google::protobuf::internal::LogMessage::~LogMessage(void)" (_imp??1LogMessage@internal@protobuf@google@@QAE@XZ)
1> GameNetworkingSockets_s.lib(steamnetworkingsockets_certstore.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall google::protobuf::internal::LogMessage::~LogMessage(void)" (_imp??1LogMessage@internal@protobuf@google@@QAE@XZ)
1> GameNetworkingSockets_s.lib(steamnetworkingsockets_messages.pb.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall google::protobuf::internal::LogMessage::~LogMessage(void)" (_imp??1LogMessage@internal@protobuf@google@@QAE@XZ)
1> GameNetworkingSockets_s.lib(csteamnetworkingsockets.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall google::protobuf::internal::LogMessage::~LogMessage(void)" (_imp??1LogMessage@internal@protobuf@google@@QAE@XZ)
1> GameNetworkingSockets_s.lib(steamnetworkingsockets_messages_certs.pb.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall google::protobuf::internal::LogMessage::~LogMessage(void)" (_imp??1LogMessage@internal@protobuf@google@@QAE@XZ)
1> GameNetworkingSockets_s.lib(steamnetworkingsockets_certs.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall google::protobuf::internal::LogMessage::~LogMessage(void)" (_imp??1LogMessage@internal@protobuf@google@@QAE@XZ)
1> GameNetworkingSockets_s.lib(steamnetworkingsockets_connections.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall google::protobuf::internal::LogMessage::~LogMessage(void)" (_imp??1LogMessage@internal@protobuf@google@@QAE@XZ)
1> GameNetworkingSockets_s.lib(steamnetworkingsockets_p2p_ice.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class google::protobuf::internal::LogMessage & __thiscall google::protobuf::internal::LogMessage::operator<<(char const *)" (_imp??6LogMessage@internal@protobuf@google@@QAEAAV0123@PBD@Z)
1> GameNetworkingSockets_s.lib(steamnetworkingsockets_messages_udp.pb.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class google::protobuf::internal::LogMessage & __thiscall google::protobuf::internal::LogMessage::operator<<(char const *)" (_imp??6LogMessage@internal@protobuf@google@@QAEAAV0123@PBD@Z)
1> GameNetworkingSockets_s.lib(steamnetworkingsockets_stun.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class google::protobuf::internal::LogMessage & __thiscall google::protobuf::internal::LogMessage::operator<<(char const *)" (_imp??6LogMessage@internal@protobuf@google@@QAEAAV0123@PBD@Z)
1> GameNetworkingSockets_s.lib(steamnetworkingsockets_p2p.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class google::protobuf::internal::LogMessage & __thiscall google::protobuf::internal::LogMessage::operator<<(char const *)" (_imp??6LogMessage@internal@protobuf@google@@QAEAAV0123@PBD@Z)
1> GameNetworkingSockets_s.lib(steamnetworkingsockets_udp.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class google::protobuf::internal::LogMessage & __thiscall google::protobuf::internal::LogMessage::operator<<(char const *)" (imp??6LogMessage@internal@protobuf@google@@QAEAAV0123@PBD@Z)
................................................................
1>C:\Users\Administrator\Desktop\Priston\PTEU\pristontaleeu-source\Src\GameServer....\bin\server\game-server\server.dll : fatal error LNK1120: 190 unresolved externals
1> 3 Warning(s)
1> 408 Error(s)
1>
1>Time Elapsed 00:00:02.18
Build has been canceled.
========== Elapsed 14:31 ==========
Hello! Trying to build/use GNS into my game engine.
Unfortunately I'm bound to X86 and Static linking.
VCPKG install of x86-windows-static gives this error:
gamenetworkingsockets[core]:x86-windows-static is only supported on '!(static & windows) & !uwp & !(arm64 & windows)'
Tried downloading and building, with success, but when implementing in my source setting STEAMNETWORKINGSOCKETS_STATIC_LINK and linking GameNetworkingSockets_s.lib I get a lot of linking errors :
`Build started...
1>------ Build started: Project: GameServer, Configuration: Debug Win32 ------
1>Build started 30/08/2023 14:31:33.
1>Target InitializeBuildStatus:
1> Touching "C:\Users\Administrator\Desktop\Priston\PTEU_\pristontaleeu-source\Src\GameServer..\Cache\GameServer\Debug\GameServer.tlog\unsuccessfulbuild".
1>Target VcpkgTripletSelection:
1> Using triplet "x86-windows-static" from "C:\vcpkg\installed\x86-windows-static"
1> Using normalized configuration "Debug"
1>Target ClCompile:
1> All outputs are up-to-date.
1> GNS_Server.cpp
1> All outputs are up-to-date.
1>Target Link:
1> ASM_functions.obj : warning LNK4075: ignoring '/EDITANDCONTINUE' due to '/INCREMENTAL:NO' specification
1> Creating library C:\Users\Administrator\Desktop\Priston\PTEU_\pristontaleeu-source\Src\GameServer....\bin\server\game-server\server.lib and object C:\Users\Administrator\Desktop\Priston\PTEU_\pristontaleeu-source\Src\GameServer....\bin\server\game-server\server.exp
1> LINK : warning LNK4217: symbol '_free' defined in 'libucrtd.lib(free.obj)' is imported by 'ZLib_d.lib(zutil.obj)' in function '_zcfree'
1> LINK : warning LNK4217: symbol '_malloc' defined in 'libucrtd.lib(malloc.obj)' is imported by 'ZLib_d.lib(zutil.obj)' in function '_zcalloc'
1> GameNetworkingSockets_s.lib(steamnetworkingsockets_p2p_ice.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall google::protobuf::internal::LogMessage::LogMessage(enum google::protobuf::LogLevel,char const *,int)" (_imp??0LogMessage@internal@protobuf@google@@QAE@W4LogLevel@23@PBDH@Z)
1> GameNetworkingSockets_s.lib(steamnetworkingsockets_messages_udp.pb.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall google::protobuf::internal::LogMessage::LogMessage(enum google::protobuf::LogLevel,char const *,int)" (_imp??0LogMessage@internal@protobuf@google@@QAE@W4LogLevel@23@PBDH@Z)
1> GameNetworkingSockets_s.lib(steamnetworkingsockets_stun.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall google::protobuf::internal::LogMessage::LogMessage(enum google::protobuf::LogLevel,char const *,int)" (_imp??0LogMessage@internal@protobuf@google@@QAE@W4LogLevel@23@PBDH@Z)
1> GameNetworkingSockets_s.lib(steamnetworkingsockets_p2p.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall google::protobuf::internal::LogMessage::LogMessage(enum google::protobuf::LogLevel,char const *,int)" (_imp??0LogMessage@internal@protobuf@google@@QAE@W4LogLevel@23@PBDH@Z)
1> GameNetworkingSockets_s.lib(steamnetworkingsockets_udp.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall google::protobuf::internal::LogMessage::LogMessage(enum google::protobuf::LogLevel,char const *,int)" (_imp??0LogMessage@internal@protobuf@google@@QAE@W4LogLevel@23@PBDH@Z)
1> GameNetworkingSockets_s.lib(steamnetworkingsockets_certstore.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall google::protobuf::internal::LogMessage::LogMessage(enum google::protobuf::LogLevel,char const *,int)" (_imp??0LogMessage@internal@protobuf@google@@QAE@W4LogLevel@23@PBDH@Z)
1> GameNetworkingSockets_s.lib(steamnetworkingsockets_messages.pb.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall google::protobuf::internal::LogMessage::LogMessage(enum google::protobuf::LogLevel,char const *,int)" (_imp??0LogMessage@internal@protobuf@google@@QAE@W4LogLevel@23@PBDH@Z)
1> GameNetworkingSockets_s.lib(csteamnetworkingsockets.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall google::protobuf::internal::LogMessage::LogMessage(enum google::protobuf::LogLevel,char const *,int)" (_imp??0LogMessage@internal@protobuf@google@@QAE@W4LogLevel@23@PBDH@Z)
1> GameNetworkingSockets_s.lib(steamnetworkingsockets_messages_certs.pb.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall google::protobuf::internal::LogMessage::LogMessage(enum google::protobuf::LogLevel,char const *,int)" (_imp??0LogMessage@internal@protobuf@google@@QAE@W4LogLevel@23@PBDH@Z)
1> GameNetworkingSockets_s.lib(steamnetworkingsockets_certs.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall google::protobuf::internal::LogMessage::LogMessage(enum google::protobuf::LogLevel,char const *,int)" (_imp??0LogMessage@internal@protobuf@google@@QAE@W4LogLevel@23@PBDH@Z)
1> GameNetworkingSockets_s.lib(steamnetworkingsockets_connections.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall google::protobuf::internal::LogMessage::LogMessage(enum google::protobuf::LogLevel,char const *,int)" (_imp??0LogMessage@internal@protobuf@google@@QAE@W4LogLevel@23@PBDH@Z)
1> GameNetworkingSockets_s.lib(steamnetworkingsockets_p2p_ice.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall google::protobuf::internal::LogMessage::~LogMessage(void)" (_imp??1LogMessage@internal@protobuf@google@@QAE@XZ)
1> GameNetworkingSockets_s.lib(steamnetworkingsockets_messages_udp.pb.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall google::protobuf::internal::LogMessage::~LogMessage(void)" (_imp??1LogMessage@internal@protobuf@google@@QAE@XZ)
1> GameNetworkingSockets_s.lib(steamnetworkingsockets_stun.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall google::protobuf::internal::LogMessage::~LogMessage(void)" (_imp??1LogMessage@internal@protobuf@google@@QAE@XZ)
1> GameNetworkingSockets_s.lib(steamnetworkingsockets_p2p.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall google::protobuf::internal::LogMessage::~LogMessage(void)" (_imp??1LogMessage@internal@protobuf@google@@QAE@XZ)
1> GameNetworkingSockets_s.lib(steamnetworkingsockets_udp.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall google::protobuf::internal::LogMessage::~LogMessage(void)" (_imp??1LogMessage@internal@protobuf@google@@QAE@XZ)
1> GameNetworkingSockets_s.lib(steamnetworkingsockets_certstore.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall google::protobuf::internal::LogMessage::~LogMessage(void)" (_imp??1LogMessage@internal@protobuf@google@@QAE@XZ)
1> GameNetworkingSockets_s.lib(steamnetworkingsockets_messages.pb.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall google::protobuf::internal::LogMessage::~LogMessage(void)" (_imp??1LogMessage@internal@protobuf@google@@QAE@XZ)
1> GameNetworkingSockets_s.lib(csteamnetworkingsockets.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall google::protobuf::internal::LogMessage::~LogMessage(void)" (_imp??1LogMessage@internal@protobuf@google@@QAE@XZ)
1> GameNetworkingSockets_s.lib(steamnetworkingsockets_messages_certs.pb.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall google::protobuf::internal::LogMessage::~LogMessage(void)" (_imp??1LogMessage@internal@protobuf@google@@QAE@XZ)
1> GameNetworkingSockets_s.lib(steamnetworkingsockets_certs.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall google::protobuf::internal::LogMessage::~LogMessage(void)" (_imp??1LogMessage@internal@protobuf@google@@QAE@XZ)
1> GameNetworkingSockets_s.lib(steamnetworkingsockets_connections.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall google::protobuf::internal::LogMessage::~LogMessage(void)" (_imp??1LogMessage@internal@protobuf@google@@QAE@XZ)
1> GameNetworkingSockets_s.lib(steamnetworkingsockets_p2p_ice.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class google::protobuf::internal::LogMessage & __thiscall google::protobuf::internal::LogMessage::operator<<(char const *)" (_imp??6LogMessage@internal@protobuf@google@@QAEAAV0123@PBD@Z)
1> GameNetworkingSockets_s.lib(steamnetworkingsockets_messages_udp.pb.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class google::protobuf::internal::LogMessage & __thiscall google::protobuf::internal::LogMessage::operator<<(char const *)" (_imp??6LogMessage@internal@protobuf@google@@QAEAAV0123@PBD@Z)
1> GameNetworkingSockets_s.lib(steamnetworkingsockets_stun.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class google::protobuf::internal::LogMessage & __thiscall google::protobuf::internal::LogMessage::operator<<(char const *)" (_imp??6LogMessage@internal@protobuf@google@@QAEAAV0123@PBD@Z)
1> GameNetworkingSockets_s.lib(steamnetworkingsockets_p2p.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class google::protobuf::internal::LogMessage & __thiscall google::protobuf::internal::LogMessage::operator<<(char const *)" (_imp??6LogMessage@internal@protobuf@google@@QAEAAV0123@PBD@Z)
1> GameNetworkingSockets_s.lib(steamnetworkingsockets_udp.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class google::protobuf::internal::LogMessage & __thiscall google::protobuf::internal::LogMessage::operator<<(char const *)" (imp??6LogMessage@internal@protobuf@google@@QAEAAV0123@PBD@Z)
................................................................
1>C:\Users\Administrator\Desktop\Priston\PTEU\pristontaleeu-source\Src\GameServer....\bin\server\game-server\server.dll : fatal error LNK1120: 190 unresolved externals
1> 3 Warning(s)
1> 408 Error(s)
1>
1>Time Elapsed 00:00:02.18
Build has been canceled.
========== Elapsed 14:31 ==========
Projects build report:
Status | Project [Debug|Win32]
-----------|---------------------------------------------------------------------------------------------------
Failed | GameServer
`
The text was updated successfully, but these errors were encountered: