We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
With the option AX_EXT_HINT enabled and using lua, the lua bindings for cocos studio are not disabled.
AX_EXT_HINT
Reproduce: generate lua project add set(AX_EXT_HINT OFF) to CMakeLists.txt use axmol build to build
set(AX_EXT_HINT OFF)
axmol build
Errors:
lld-link: error: undefined symbol: public: static class cocostudio::timeline::ActionTimelineCache * __cdecl cocostudio::timeline::ActionTimelineCache::getInstance(void) >>> referenced by axlua.lib(axlua_cocostudio_manual.cpp.obj):(int __cdecl axlua_studio_ActionTimelineCache_getInstance(struct lua_State *)) lld-link: error: undefined symbol: public: void __cdecl cocostudio::ArmatureAnimation::setMovementEventCallFunc(class std::function<void __cdecl(class cocostudio::Armature *, enum cocostudio::MovementEventType, class std::basic_string_view<char, struct std::char_traits<char>>)>) >>> referenced by axlua.lib(axlua_cocostudio_manual.cpp.obj):(int __cdecl axlua_ArmatureAnimation_setMovementEventCallFunc(struct lua_State *)) lld-link: error: undefined symbol: public: void __cdecl cocostudio::ArmatureAnimation::setFrameEventCallFunc(class std::function<void __cdecl(class cocostudio::Bone *, class std::basic_string_view<char, struct std::char_traits<char>>, int, int)>) >>> referenced by axlua.lib(axlua_cocostudio_manual.cpp.obj):(int __cdecl axlua_ArmatureAnimation_setFrameEventCallFunc(struct lua_State *)) lld-link: error: undefined symbol: public: void __cdecl cocostudio::ArmatureDataManager::addArmatureFileInfoAsync(class std::basic_string_view<char, struct std::char_traits<char>>, class ax::Object *, void (__cdecl ax::Object::*)(float)) >>> referenced by axlua.lib(axlua_cocostudio_manual.cpp.obj):(int __cdecl axlua_ArmatureDataManager_addArmatureFileInfoAsyncCallFunc(struct lua_State *)) lld-link: error: undefined symbol: public: void __cdecl cocostudio::ArmatureDataManager::addArmatureFileInfoAsync(class std::basic_string_view<char, struct std::char_traits<char>>, class std::basic_string_view<char, struct std::char_traits<char>>, class std::basic_string_view<char, struct std::char_traits<char>>, class ax::Object *, void (__cdecl ax::Object::*)(float)) >>> referenced by axlua.lib(axlua_cocostudio_manual.cpp.obj):(int __cdecl axlua_ArmatureDataManager_addArmatureFileInfoAsyncCallFunc(struct lua_State *)) lld-link: error: undefined symbol: public: void __cdecl cocostudio::timeline::ActionTimeline::setFrameEventCallFunc(class std::function<void __cdecl(class cocostudio::timeline::Frame *)>) >>> referenced by axlua.lib(axlua_cocostudio_manual.cpp.obj):(int __cdecl axlua_ActionTimeline_setFrameEventCallFunc(struct lua_State *)) lld-link: error: undefined symbol: public: void __cdecl ax::extension::AssetsManager::setDelegate(class ax::extension::AssetsManagerDelegateProtocol *) >>> referenced by axlua.lib(axlua_extension_manual.cpp.obj):(int __cdecl axlua_AssetsManager_setDelegate(struct lua_State *)) lld-link: error: undefined symbol: public: static class ax::extension::EventListenerAssetsManagerEx * __cdecl ax::extension::EventListenerAssetsManagerEx::create(class ax::extension::AssetsManagerEx *, class std::function<void __cdecl(class ax::extension::EventAssetsManagerEx *)> const &) >>> referenced by axlua.lib(axlua_extension_manual.cpp.obj):(int __cdecl axlua_Extension_EventListenerAssetsManagerEx_create(struct lua_State *)) lld-link: error: undefined symbol: public: static class ax::extension::TableView * __cdecl ax::extension::TableView::create(class ax::extension::TableViewDataSource *, class ax::Vec2) >>> referenced by axlua.lib(axlua_extension_manual.cpp.obj):(int __cdecl axlua_extension_TableView_create(struct lua_State *)) lld-link: error: undefined symbol: public: void __cdecl ax::extension::TableView::reloadData(void) >>> referenced by axlua.lib(axlua_extension_manual.cpp.obj):(int __cdecl axlua_extension_TableView_create(struct lua_State *)) >>> referenced by axlua.lib(axlua_extension_auto.cpp.obj):(int __cdecl lua_ax_extension_TableView_reloadData(struct lua_State *)) lld-link: error: undefined symbol: public: static class ax::extension::TableView * __cdecl ax::extension::TableView::create(class ax::extension::TableViewDataSource *, class ax::Vec2, class ax::Node *) >>> referenced by axlua.lib(axlua_extension_manual.cpp.obj):(int __cdecl axlua_extension_TableView_create(struct lua_State *)) lld-link: error: undefined symbol: public: virtual void __cdecl ax::extension::TableViewDelegate::tableCellHighlight(class ax::extension::TableView *, class ax::extension::TableViewCell *) >>> referenced by axlua.lib(axlua_extension_manual.cpp.obj):(const ax::extension::TableViewDelegate::`vftable') lld-link: error: undefined symbol: public: virtual void __cdecl ax::extension::TableViewDelegate::tableCellUnhighlight(class ax::extension::TableView *, class ax::extension::TableViewCell *) >>> referenced by axlua.lib(axlua_extension_manual.cpp.obj):(const ax::extension::TableViewDelegate::`vftable') lld-link: error: undefined symbol: public: virtual void __cdecl ax::extension::TableViewDelegate::tableCellWillRecycle(class ax::extension::TableView *, class ax::extension::TableViewCell *) >>> referenced by axlua.lib(axlua_extension_manual.cpp.obj):(const ax::extension::TableViewDelegate::`vftable') lld-link: error: undefined symbol: public: virtual class ax::Vec2 __cdecl ax::extension::TableViewDataSource::cellSizeForTable(class ax::extension::TableView *) >>> referenced by axlua.lib(axlua_extension_manual.cpp.obj):(const LUA_TableViewDataSource::`vftable'{for `ax::extension::TableViewDataSource'}) >>> referenced by axlua.lib(axlua_extension_manual.cpp.obj):(const ax::extension::TableViewDataSource::`vftable') lld-link: error: undefined symbol: public: virtual class ax::Vec2 __cdecl ax::extension::TableViewDataSource::tableCellSizeForIndex(class ax::extension::TableView *, __int64) >>> referenced by axlua.lib(axlua_extension_manual.cpp.obj):(const ax::extension::TableViewDataSource::`vftable') lld-link: error: undefined symbol: public: class spine::Animation * __cdecl spine::TrackEntry::getAnimation(void) >>> referenced by axlua.lib(axlua_spine_manual.cpp.obj):(int __cdecl executeSpineEvent(class LuaSkeletonAnimation *, int, enum spine::EventType, class spine::TrackEntry *, class spine::Event *)) >>> referenced by axlua.lib(axlua_spine_manual.cpp.obj):(int __cdecl executeSpineEvent(class LuaSkeletonAnimation *, int, enum spine::EventType, class spine::TrackEntry *, class spine::Event *)) lld-link: error: undefined symbol: public: class spine::String const & __cdecl spine::Animation::getName(void) >>> referenced by axlua.lib(axlua_spine_manual.cpp.obj):(int __cdecl executeSpineEvent(class LuaSkeletonAnimation *, int, enum spine::EventType, class spine::TrackEntry *, class spine::Event *)) lld-link: error: undefined symbol: public: int __cdecl spine::TrackEntry::getTrackIndex(void) >>> referenced by axlua.lib(axlua_spine_manual.cpp.obj):(int __cdecl executeSpineEvent(class LuaSkeletonAnimation *, int, enum spine::EventType, class spine::TrackEntry *, class spine::Event *)) lld-link: error: undefined symbol: public: float __cdecl spine::TrackEntry::getTrackTime(void) >>> referenced by axlua.lib(axlua_spine_manual.cpp.obj):(int __cdecl executeSpineEvent(class LuaSkeletonAnimation *, int, enum spine::EventType, class spine::TrackEntry *, class spine::Event *)) lld-link: error: too many errors emitted, stopping now (use /errorlimit:0 to see all errors) clang++: error: linker command failed with exit code 1 (use -v to see invocation)
The text was updated successfully, but these errors were encountered:
0b2e9d0
No branches or pull requests
With the option
AX_EXT_HINT
enabled and using lua, the lua bindings for cocos studio are not disabled.Reproduce:
generate lua project
add
set(AX_EXT_HINT OFF)
to CMakeLists.txtuse
axmol build
to buildErrors:
The text was updated successfully, but these errors were encountered: