You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sh make_ios_lua53.sh
编译报错:
../build/lua-rapidjson/source/values.hpp:232:10: error: calling a private
constructor of class 'rapidjson::GenericValue<rapidjson::UTF8<> >'
return details::toValue(L, idx, 0, allocator);
In file included from ../build/lua-rapidjson/source/rapidjson.cpp:16:
../build/lua-rapidjson/include/rapidjson/document.h:690:5: note: declared
private here
GenericValue(const GenericValue& rhs);
The text was updated successfully, but these errors were encountered:
xLua:[v2.1.16]https://github.com/Tencent/xLua/releases/tag/v2.1.16
lua-rapidjson: [v2.1.16]https://github.com/xpol/lua-rapidjson/releases/tag/v0.7.1
cmake 3.23.1
gcc 13.1.6 (clang-1316.0.21.2.3)
xLua的CMakeLists中添加如下:
#begin lua-rapidjson
set (RAPIDJSON_SRC
lua-rapidjson/source/Document.cpp
lua-rapidjson/source/rapidjson.cpp
lua-rapidjson/source/Schema.cpp
lua-rapidjson/source/values.cpp
)
set_property(
SOURCE ${RAPIDJSON_SRC}
APPEND
PROPERTY COMPILE_DEFINITIONS
LUA_LIB
)
list(APPEND THIRDPART_INC lua-rapidjson/include)
set (THIRDPART_SRC ${THIRDPART_SRC} ${RAPIDJSON_SRC})
#end lua-rapidjson
sh make_ios_lua53.sh
编译报错:
../build/lua-rapidjson/source/values.hpp:232:10: error: calling a private
constructor of class 'rapidjson::GenericValue<rapidjson::UTF8<> >'
return details::toValue(L, idx, 0, allocator);
In file included from ../build/lua-rapidjson/source/rapidjson.cpp:16:
../build/lua-rapidjson/include/rapidjson/document.h:690:5: note: declared
private here
GenericValue(const GenericValue& rhs);
The text was updated successfully, but these errors were encountered: