ValveSoftware/GameNetworkingSockets

Segmentation fault on CreateListenSocketIP using WSL2 Ubuntu

OCSalter opened this issue · 0 comments

Hey Everyone,

I'm getting a Segmentation fault when I run CreateListenSocketIP using a built libGameNetworkingSockets.so.
Could this be an issue with WSL2 permissions (and if it is does anyone have an insight on workarounds?), or with how I'm using the project?

CMake Library Linking:

add_executable(LiveChat main.cpp)
target_link_libraries(LiveChat PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/vendor/GameNetworkingSockets/bin/libGameNetworkingSockets.so")

Library Storage Structure:
image