BetterEdit icon indicating copy to clipboard operation
BetterEdit copied to clipboard

Build Errors on MacOS

Open DDAN-17 opened this issue 1 year ago • 0 comments

BetterEdit version

Latest

Bug description

While building, many errors appear. I know that MacOS isn't technically supported, but I'm hoping this isn't MacOS specific.

Screenshots

/Users/DDAN/Downloads/BetterEdit-6/src/features/BetterColorSelect.cpp:49:38: warning: 'textForColorIdx' is deprecated: GJSpecialColorSelect::textForColorIdx not implemented [-Wdeprecated-declarations] return GJSpecialColorSelect::textForColorIdx(channel); ^ /Users/DDAN/Downloads/BetterEdit-6/build/bindings/bindings/Geode/binding_arm/GJSpecialColorSelect.hpp:68:7: note: 'textForColorIdx' has been explicitly marked deprecated here [[deprecated("GJSpecialColorSelect::textForColorIdx not implemented")]] ^ /Users/DDAN/Downloads/BetterEdit-6/src/features/BetterColorSelect.cpp:49:38: error: 'textForColorIdx' is a private member of 'GJSpecialColorSelect' return GJSpecialColorSelect::textForColorIdx(channel); ^ /Users/DDAN/Downloads/BetterEdit-6/build/bindings/bindings/Geode/binding_arm/GJSpecialColorSelect.hpp:73:24: note: declared private here static const char* textForColorIdx(int p0); ^ /Users/DDAN/Downloads/BetterEdit-6/src/features/BetterColorSelect.cpp:170:55: warning: 'onSelectColor' is deprecated: CustomizeObjectLayer::onSelectColor not implemented [-Wdeprecated-declarations] this, menu_selector(CustomizeObjectLayer::onSelectColor) ^ /Users/DDAN/Downloads/BetterEdit-6/build/bindings/bindings/Geode/binding_arm/CustomizeObjectLayer.hpp:175:7: note: 'onSelectColor' has been explicitly marked deprecated here [[deprecated("CustomizeObjectLayer::onSelectColor not implemented")]] ^ /Users/DDAN/Downloads/BetterEdit-6/src/features/BetterColorSelect.cpp:170:55: error: 'onSelectColor' is a private member of 'CustomizeObjectLayer' this, menu_selector(CustomizeObjectLayer::onSelectColor) ^ /Users/DDAN/Downloads/BetterEdit-6/build/bindings/bindings/Geode/binding_arm/CustomizeObjectLayer.hpp:180:10: note: declared private here void onSelectColor(cocos2d::CCObject* sender); ^ /Users/DDAN/Downloads/BetterEdit-6/src/features/BetterColorSelect.cpp:199:42: warning: 'onSelectColor' is deprecated: CustomizeObjectLayer::onSelectColor not implemented [-Wdeprecated-declarations] return CustomizeObjectLayer::onSelectColor(sender); ^ /Users/DDAN/Downloads/BetterEdit-6/build/bindings/bindings/Geode/binding_arm/CustomizeObjectLayer.hpp:175:7: note: 'onSelectColor' has been explicitly marked deprecated here [[deprecated("CustomizeObjectLayer::onSelectColor not implemented")]] ^ /Users/DDAN/Downloads/BetterEdit-6/src/features/BetterColorSelect.cpp:199:42: error: 'onSelectColor' is a private member of 'CustomizeObjectLayer' return CustomizeObjectLayer::onSelectColor(sender); ^ /Users/DDAN/Downloads/BetterEdit-6/build/bindings/bindings/Geode/binding_arm/CustomizeObjectLayer.hpp:180:10: note: declared private here void onSelectColor(cocos2d::CCObject* sender); ^ /Users/DDAN/Downloads/BetterEdit-6/src/features/BetterColorSelect.cpp:214:31: warning: 'onSelectColor' is deprecated: CustomizeObjectLayer::onSelectColor not implemented [-Wdeprecated-declarations] CustomizeObjectLayer::onSelectColor(sender); ^ /Users/DDAN/Downloads/BetterEdit-6/build/bindings/bindings/Geode/binding_arm/CustomizeObjectLayer.hpp:175:7: note: 'onSelectColor' has been explicitly marked deprecated here [[deprecated("CustomizeObjectLayer::onSelectColor not implemented")]] ^ /Users/DDAN/Downloads/BetterEdit-6/src/features/BetterColorSelect.cpp:214:31: error: 'onSelectColor' is a private member of 'CustomizeObjectLayer' CustomizeObjectLayer::onSelectColor(sender); ^ /Users/DDAN/Downloads/BetterEdit-6/build/bindings/bindings/Geode/binding_arm/CustomizeObjectLayer.hpp:180:10: note: declared private here void onSelectColor(cocos2d::CCObject* sender); ^ /Users/DDAN/Downloads/BetterEdit-6/src/features/BetterColorSelect.cpp:216:29: warning: 'getActiveMode' is deprecated: CustomizeObjectLayer::getActiveMode not implemented [-Wdeprecated-declarations] channel = this->getActiveMode(true); ^ /Users/DDAN/Downloads/BetterEdit-6/build/bindings/bindings/Geode/binding_arm/CustomizeObjectLayer.hpp:49:7: note: 'getActiveMode' has been explicitly marked deprecated here [[deprecated("CustomizeObjectLayer::getActiveMode not implemented")]] ^ /Users/DDAN/Downloads/BetterEdit-6/src/features/BetterColorSelect.cpp:216:29: error: 'getActiveMode' is a private member of 'CustomizeObjectLayer' channel = this->getActiveMode(true); ^ /Users/DDAN/Downloads/BetterEdit-6/build/bindings/bindings/Geode/binding_arm/CustomizeObjectLayer.hpp:54:9: note: declared private here int getActiveMode(bool p0); ^ /Users/DDAN/Downloads/BetterEdit-6/src/features/BetterColorSelect.cpp:239:42: warning: 'highlightSelected' is deprecated: CustomizeObjectLayer::highlightSelected not implemented [-Wdeprecated-declarations] return CustomizeObjectLayer::highlightSelected(sprite); ^ /Users/DDAN/Downloads/BetterEdit-6/build/bindings/bindings/Geode/binding_arm/CustomizeObjectLayer.hpp:75:7: note: 'highlightSelected' has been explicitly marked deprecated here [[deprecated("CustomizeObjectLayer::highlightSelected not implemented")]] ^ /Users/DDAN/Downloads/BetterEdit-6/src/features/BetterColorSelect.cpp:239:42: error: 'highlightSelected' is a private member of 'CustomizeObjectLayer' return CustomizeObjectLayer::highlightSelected(sprite); ^ /Users/DDAN/Downloads/BetterEdit-6/build/bindings/bindings/Geode/binding_arm/CustomizeObjectLayer.hpp:80:10: note: declared private here void highlightSelected(ButtonSprite* p0); ^ /Users/DDAN/Downloads/BetterEdit-6/src/features/BetterColorSelect.cpp:241:31: warning: 'getActiveMode' is deprecated: CustomizeObjectLayer::getActiveMode not implemented [-Wdeprecated-declarations] auto selected = this->getActiveMode(true); ^ /Users/DDAN/Downloads/BetterEdit-6/build/bindings/bindings/Geode/binding_arm/CustomizeObjectLayer.hpp:49:7: note: 'getActiveMode' has been explicitly marked deprecated here [[deprecated("CustomizeObjectLayer::getActiveMode not implemented")]] ^ /Users/DDAN/Downloads/BetterEdit-6/src/features/BetterColorSelect.cpp:241:31: error: 'getActiveMode' is a private member of 'CustomizeObjectLayer' auto selected = this->getActiveMode(true); ^ /Users/DDAN/Downloads/BetterEdit-6/build/bindings/bindings/Geode/binding_arm/CustomizeObjectLayer.hpp:54:9: note: declared private here int getActiveMode(bool p0); ^ /Users/DDAN/Downloads/BetterEdit-6/src/features/BetterColorSelect.cpp:262:42: warning: 'updateCustomColorLabels' is deprecated: CustomizeObjectLayer::updateCustomColorLabels not implemented [-Wdeprecated-declarations] return CustomizeObjectLayer::updateCustomColorLabels(); ^ /Users/DDAN/Downloads/BetterEdit-6/build/bindings/bindings/Geode/binding_arm/CustomizeObjectLayer.hpp:261:7: note: 'updateCustomColorLabels' has been explicitly marked deprecated here [[deprecated("CustomizeObjectLayer::updateCustomColorLabels not implemented")]] ^ /Users/DDAN/Downloads/BetterEdit-6/src/features/BetterColorSelect.cpp:262:42: error: 'updateCustomColorLabels' is a private member of 'CustomizeObjectLayer' return CustomizeObjectLayer::updateCustomColorLabels(); ^ /Users/DDAN/Downloads/BetterEdit-6/build/bindings/bindings/Geode/binding_arm/CustomizeObjectLayer.hpp:266:10: note: declared private here void updateCustomColorLabels(); ^ /Users/DDAN/Downloads/BetterEdit-6/src/features/BetterColorSelect.cpp:275:42: warning: 'onUpdateCustomColor' is deprecated: CustomizeObjectLayer::onUpdateCustomColor not implemented [-Wdeprecated-declarations] return CustomizeObjectLayer::onUpdateCustomColor(sender); ^ /Users/DDAN/Downloads/BetterEdit-6/build/bindings/bindings/Geode/binding_arm/CustomizeObjectLayer.hpp:201:7: note: 'onUpdateCustomColor' has been explicitly marked deprecated here [[deprecated("CustomizeObjectLayer::onUpdateCustomColor not implemented")]] ^ /Users/DDAN/Downloads/BetterEdit-6/src/features/BetterColorSelect.cpp:275:42: error: 'onUpdateCustomColor' is a private member of 'CustomizeObjectLayer' return CustomizeObjectLayer::onUpdateCustomColor(sender); ^ /Users/DDAN/Downloads/BetterEdit-6/build/bindings/bindings/Geode/binding_arm/CustomizeObjectLayer.hpp:206:10: note: declared private here void onUpdateCustomColor(cocos2d::CCObject* sender); ^ /Users/DDAN/Downloads/BetterEdit-6/src/features/BetterColorSelect.cpp:340:15: warning: 'updateSelected' is deprecated: CustomizeObjectLayer::updateSelected not implemented [-Wdeprecated-declarations] this->updateSelected(i); ^ /Users/DDAN/Downloads/BetterEdit-6/build/bindings/bindings/Geode/binding_arm/CustomizeObjectLayer.hpp:287:7: note: 'updateSelected' has been explicitly marked deprecated here [[deprecated("CustomizeObjectLayer::updateSelected not implemented")]] ^ /Users/DDAN/Downloads/BetterEdit-6/src/features/BetterColorSelect.cpp:340:15: error: 'updateSelected' is a private member of 'CustomizeObjectLayer' this->updateSelected(i); ^ /Users/DDAN/Downloads/BetterEdit-6/build/bindings/bindings/Geode/binding_arm/CustomizeObjectLayer.hpp:292:10: note: declared private here void updateSelected(int p0); ^ /Users/DDAN/Downloads/BetterEdit-6/src/features/BetterColorSelect.cpp:342:15: warning: 'updateColorSprite' is deprecated: CustomizeObjectLayer::updateColorSprite not implemented [-Wdeprecated-declarations] this->updateColorSprite(); ^ /Users/DDAN/Downloads/BetterEdit-6/build/bindings/bindings/Geode/binding_arm/CustomizeObjectLayer.hpp:244:7: note: 'updateColorSprite' has been explicitly marked deprecated here [[deprecated("CustomizeObjectLayer::updateColorSprite not implemented")]] ^ /Users/DDAN/Downloads/BetterEdit-6/src/features/BetterColorSelect.cpp:342:15: error: 'updateColorSprite' is a private member of 'CustomizeObjectLayer' this->updateColorSprite(); ^ /Users/DDAN/Downloads/BetterEdit-6/build/bindings/bindings/Geode/binding_arm/CustomizeObjectLayer.hpp:249:10: note: declared private here void updateColorSprite(); ^ /Users/DDAN/Downloads/BetterEdit-6/src/features/BetterColorSelect.cpp:343:15: warning: 'updateChannelLabel' is deprecated: CustomizeObjectLayer::updateChannelLabel not implemented [-Wdeprecated-declarations] this->updateChannelLabel(i); ^ /Users/DDAN/Downloads/BetterEdit-6/build/bindings/bindings/Geode/binding_arm/CustomizeObjectLayer.hpp:235:7: note: 'updateChannelLabel' has been explicitly marked deprecated here [[deprecated("CustomizeObjectLayer::updateChannelLabel not implemented")]] ^ /Users/DDAN/Downloads/BetterEdit-6/src/features/BetterColorSelect.cpp:343:15: error: 'updateChannelLabel' is a private member of 'CustomizeObjectLayer' this->updateChannelLabel(i); ^ /Users/DDAN/Downloads/BetterEdit-6/build/bindings/bindings/Geode/binding_arm/CustomizeObjectLayer.hpp:240:10: note: declared private here void updateChannelLabel(int channel); ^ /Users/DDAN/Downloads/BetterEdit-6/src/features/BetterColorSelect.cpp:362:42: warning: 'onClose' is deprecated: CustomizeObjectLayer::onClose not implemented [-Wdeprecated-declarations] return CustomizeObjectLayer::onClose(sender); ^ /Users/DDAN/Downloads/BetterEdit-6/build/bindings/bindings/Geode/binding_arm/CustomizeObjectLayer.hpp:117:7: note: 'onClose' has been explicitly marked deprecated here [[deprecated("CustomizeObjectLayer::onClose not implemented")]] ^ /Users/DDAN/Downloads/BetterEdit-6/src/features/BetterColorSelect.cpp:362:42: error: 'onClose' is a private member of 'CustomizeObjectLayer' return CustomizeObjectLayer::onClose(sender); ^ /Users/DDAN/Downloads/BetterEdit-6/build/bindings/bindings/Geode/binding_arm/CustomizeObjectLayer.hpp:122:10: note: declared private here void onClose(cocos2d::CCObject* sender); ^ /Users/DDAN/Downloads/BetterEdit-6/src/features/BetterColorSelect.cpp:376:31: warning: 'onClose' is deprecated: CustomizeObjectLayer::onClose not implemented [-Wdeprecated-declarations] CustomizeObjectLayer::onClose(sender); ^ /Users/DDAN/Downloads/BetterEdit-6/build/bindings/bindings/Geode/binding_arm/CustomizeObjectLayer.hpp:117:7: note: 'onClose' has been explicitly marked deprecated here [[deprecated("CustomizeObjectLayer::onClose not implemented")]] ^ /Users/DDAN/Downloads/BetterEdit-6/src/features/BetterColorSelect.cpp:376:31: error: 'onClose' is a private member of 'CustomizeObjectLayer' CustomizeObjectLayer::onClose(sender); ^ /Users/DDAN/Downloads/BetterEdit-6/build/bindings/bindings/Geode/binding_arm/CustomizeObjectLayer.hpp:122:10: note: declared private here void onClose(cocos2d::CCObject* sender); ^ In file included from /Users/DDAN/Downloads/BetterEdit-6/src/features/BetterColorSelect.cpp:6: In file included from /Users/DDAN/Downloads/BetterEdit-6/build/bindings/bindings/Geode/modify/CustomizeObjectLayer.hpp:5: /Users/DDAN/Downloads/BetterEdit-6/build/bindings/bindings/Geode/modify_arm/CustomizeObjectLayer.hpp:414:4: error: static assertion failed due to requirement '!FunctionExists_highlightSelected<NewColorSelect, ButtonSprite >': Function CustomizeObjectLayer::highlightSelected does not have an available address in the bindings, please add it to the bindings to hook it. GEODE_APPLY_MODIFY_FOR_FUNCTION_ERROR(CustomizeObjectLayer, highlightSelected, , ButtonSprite) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/Shared/Geode/sdk/loader/include/Geode/modify/Modify.hpp:47:9: note: expanded from macro 'GEODE_APPLY_MODIFY_FOR_FUNCTION_ERROR' static_assert(!FunctionExists_##FunctionName_<Derived VA_ARGS>,
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/Shared/Geode/sdk/loader/include/Geode/modify/Modify.hpp:202:61: note: in instantiation of member function 'geode::modifier::ModifyDerive<NewColorSelect, CustomizeObjectLayer>::apply' requested here static inline modifier::ModifyDerive<Derived, Base> s_apply; ^ /Users/Shared/Geode/sdk/loader/include/Geode/modify/Modify.hpp:204:50: note: in instantiation of static data member 'geode::Modify<NewColorSelect, CustomizeObjectLayer>::s_apply' requested here static inline auto s_applyRef = &Modify::s_apply; ^ In file included from /Users/DDAN/Downloads/BetterEdit-6/src/features/BetterColorSelect.cpp:6: In file included from /Users/DDAN/Downloads/BetterEdit-6/build/bindings/bindings/Geode/modify/CustomizeObjectLayer.hpp:5: /Users/DDAN/Downloads/BetterEdit-6/build/bindings/bindings/Geode/modify_arm/CustomizeObjectLayer.hpp:419:4: error: static assertion failed due to requirement '!FunctionExists_onClose<NewColorSelect, cocos2d::CCObject >': Function CustomizeObjectLayer::onClose does not have an available address in the bindings, please add it to the bindings to hook it. GEODE_APPLY_MODIFY_FOR_FUNCTION_ERROR(CustomizeObjectLayer, onClose, , cocos2d::CCObject) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/Shared/Geode/sdk/loader/include/Geode/modify/Modify.hpp:47:9: note: expanded from macro 'GEODE_APPLY_MODIFY_FOR_FUNCTION_ERROR' static_assert(!FunctionExists_##FunctionName_<Derived VA_ARGS>,
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /Users/DDAN/Downloads/BetterEdit-6/src/features/BetterColorSelect.cpp:6: In file included from /Users/DDAN/Downloads/BetterEdit-6/build/bindings/bindings/Geode/modify/CustomizeObjectLayer.hpp:5: /Users/DDAN/Downloads/BetterEdit-6/build/bindings/bindings/Geode/modify_arm/CustomizeObjectLayer.hpp:426:4: error: static assertion failed due to requirement '!FunctionExists_onSelectColor<NewColorSelect, cocos2d::CCObject >': Function CustomizeObjectLayer::onSelectColor does not have an available address in the bindings, please add it to the bindings to hook it. GEODE_APPLY_MODIFY_FOR_FUNCTION_ERROR(CustomizeObjectLayer, onSelectColor, , cocos2d::CCObject) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/Shared/Geode/sdk/loader/include/Geode/modify/Modify.hpp:47:9: note: expanded from macro 'GEODE_APPLY_MODIFY_FOR_FUNCTION_ERROR' static_assert(!FunctionExists_##FunctionName_<Derived VA_ARGS>,
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /Users/DDAN/Downloads/BetterEdit-6/src/features/BetterColorSelect.cpp:6: In file included from /Users/DDAN/Downloads/BetterEdit-6/build/bindings/bindings/Geode/modify/CustomizeObjectLayer.hpp:5: /Users/DDAN/Downloads/BetterEdit-6/build/bindings/bindings/Geode/modify_arm/CustomizeObjectLayer.hpp:429:4: error: static assertion failed due to requirement '!FunctionExists_onUpdateCustomColor<NewColorSelect, cocos2d::CCObject >': Function CustomizeObjectLayer::onUpdateCustomColor does not have an available address in the bindings, please add it to the bindings to hook it. GEODE_APPLY_MODIFY_FOR_FUNCTION_ERROR(CustomizeObjectLayer, onUpdateCustomColor, , cocos2d::CCObject) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/Shared/Geode/sdk/loader/include/Geode/modify/Modify.hpp:47:9: note: expanded from macro 'GEODE_APPLY_MODIFY_FOR_FUNCTION_ERROR' static_assert(!FunctionExists_##FunctionName_<Derived VA_ARGS>,
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /Users/DDAN/Downloads/BetterEdit-6/src/features/BetterColorSelect.cpp:6: In file included from /Users/DDAN/Downloads/BetterEdit-6/build/bindings/bindings/Geode/modify/CustomizeObjectLayer.hpp:5: /Users/DDAN/Downloads/BetterEdit-6/build/bindings/bindings/Geode/modify_arm/CustomizeObjectLayer.hpp:436:4: error: static assertion failed due to requirement '!FunctionExists_updateCustomColorLabels<NewColorSelect>': Function CustomizeObjectLayer::updateCustomColorLabels does not have an available address in the bindings, please add it to the bindings to hook it. GEODE_APPLY_MODIFY_FOR_FUNCTION_ERROR(CustomizeObjectLayer, updateCustomColorLabels, ) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/Shared/Geode/sdk/loader/include/Geode/modify/Modify.hpp:47:9: note: expanded from macro 'GEODE_APPLY_MODIFY_FOR_FUNCTION_ERROR' static_assert(!FunctionExists_##FunctionName_<Derived VA_ARGS>,
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 14 warnings and 19 errors generated. gmake[2]: *** [CMakeFiles/BetterEdit.dir/build.make:130: CMakeFiles/BetterEdit.dir/src/features/BetterColorSelect.cpp.o] Error 1 gmake[1]: *** [CMakeFiles/Makefile2:181: CMakeFiles/BetterEdit.dir/all] Error 2 gmake: *** [Makefile:136: all] Error 2 | Fail | CMake build returned code 2

Platform

  • [ ] Windows
  • [X] Mac
  • [ ] Android (32-bit)
  • [ ] Android (64-bit)
  • [ ] Linux

DDAN-17 avatar Aug 13 '24 13:08 DDAN-17