Skip to content

[package] gamenetworkingsockets/1.4.1: Missing __std_search_1 during linkage #29521

@Emily-TTG

Description

@Emily-TTG

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] ```

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions