New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build failure ‘msgpack_object_union’ has no member named ‘dec’ #1899
Comments
It seems this msgpack/msgpack-c#191 has something to do with it. |
I've always had this issue when building with It doesn't look like it'd be too hard to update to the new names in the float format family, detailed in msgpack/msgpack-c@737e670). |
Yep, builds fine with that cpp flag. I've no idea how to pass arbitrary flags to cmake on the command line, so I did this: diff --git a/CMakeLists.txt b/CMakeLists.txt
index 42eb50a..87fdf02 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -141,6 +141,7 @@ endif()
add_definitions(-DINCLUDE_GENERATED_DECLARATIONS)
add_definitions(-DHAVE_CONFIG_H)
+add_definitions(-DMSGPACK_USE_LEGACY_NAME_AS_FLOAT)
if(CMAKE_COMPILER_IS_GNUCXX AND CMAKE_SYSTEM_NAME STREQUAL "Linux")
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,--no-undefined") |
@JelteF I submitted a PR, let me know if the commit over there fixes your issue. |
ping @JelteF |
Sorry for the late response, it works when I change the repo to your fork. |
Good to hear. |
I can't get the current source to build. Doing this on Gentoo with the ebuild from the lua overlay and GCC 4.9.2
The text was updated successfully, but these errors were encountered: