Emulator Issues #8612
closedcompile failure for git version on linux: enet_socket_get_address: not declared
0%
Description
Running on a gentoo box, with enet-1.3.7 installed
Compiling fails:
/var/tmp/portage/games-emulation/dolphin-9999/work/dolphin-9999/Source/Core/Common/ENetUtil.cpp: In function 'void ENetUtil::WakeupThread(ENetHost*)':
/var/tmp/portage/games-emulation/dolphin-9999/work/dolphin-9999/Source/Core/Common/ENetUtil.cpp:21:49: error: 'enet_socket_get_address' was not declared in this scope
Culprit is the logic in CMakeList.txt
if (ENET_FOUND)
message("Using shared enet")
else()
message("Using static enet from Externals")
include_directories(Externals/enet/include)
add_subdirectory(Externals/enet)
endif()
But latest version of enet doesn't declare "enet_socket_get_address"
Should replace ENET_FOUND with something like: "ENET_FOUND AND ENET_VERSION < 1.3.0"