-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Description
I'm encountering a linkage failure when Conan is building GNS with MSC tooling. The issue appears to be the same as is described here, though it was closed with no resolution: https://developercommunity.visualstudio.com/t/conan-Build-error-when-building-protobuf/10890512?sort=active
Package and Environment Details
- Package Name/Version: gamenetworkingsockets/1.4.1
- Operating System+version: Windows 11
- Compiler+version: MSC Tools v143
- Conan version: conan 2.25.1
- Python version: Python 3.13.3
Conan profile
Custom is:
include(default)
[settings]
compiler.cppstd=20
Default is:
[settings]
arch=x86_64
build_type=Release
compiler=msvc
compiler.cppstd=14
compiler.runtime=dynamic
compiler.runtime_type=Release
compiler.version=194
os=Windows
Build profile:
[settings]
arch=x86_64
build_type=Release
compiler=msvc
compiler.cppstd=14
compiler.runtime=dynamic
compiler.runtime_type=Release
compiler.version=194
os=Windows
Steps to reproduce
conan install -of .conan-Debug --build=missing --settings=build_type=Debug -pr:h=conanprofile.txt
Logs
Click to expand log
``` libprotobuf.lib(strutil.cc.obj) : error LNK2001: unresolved external symbol __std_search_1 [C:\Users\noahx\.conan2\p\b\ gamene72bb5e108b2d\b\build\src\GameNetworkingSockets.vcxproj] libprotobuf.lib(stringpiece.cc.obj) : error LNK2001: unresolved external symbol __std_search_1 [C:\Users\noahx\.conan2\ p\b\gamene72bb5e108b2d\b\build\src\GameNetworkingSockets.vcxproj] libprotobuf.lib(stringpiece.cc.obj) : error LNK2001: unresolved external symbol __std_find_end_1 [C:\Users\noahx\.conan 2\p\b\gamene72bb5e108b2d\b\build\src\GameNetworkingSockets.vcxproj] libprotobuf.lib(io_win32.cc.obj) : error LNK2001: unresolved external symbol __std_find_first_of_trivial_pos_1 [C:\User s\noahx\.conan2\p\b\gamene72bb5e108b2d\b\build\src\GameNetworkingSockets.vcxproj] libprotobuf.lib(io_win32.cc.obj) : error LNK2001: unresolved external symbol __std_find_last_of_trivial_pos_1 [C:\Users \noahx\.conan2\p\b\gamene72bb5e108b2d\b\build\src\GameNetworkingSockets.vcxproj] C:\Users\noahx\.conan2\p\b\gamene72bb5e108b2d\b\build\bin\Release\GameNetworkingSockets.dll : fatal error LNK1120: 4 un resolved externals [C:\Users\noahx\.conan2\p\b\gamene72bb5e108b2d\b\build\src\GameNetworkingSockets.vcxproj] ```Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working