Fails to build
ohthehugemanatee opened this issue · 3 comments
ohthehugemanatee commented
Deps is fine, but it fails out of the compile. I'm on Ubuntu 22.10. I ensured to use the right version of g++-arm-linux-gnueabihf
since that was a solution in previous thread #2 .
sudo apt install g++-10-arm-linux-gnueabihf
sudo update-alternatives --install /usr/bin/arm-linux-gnueabihf-gcc arm-linux-gnueabihf-gcc /usr/bin/arm-linux-gnueabihf-gcc-10 100 --slave /usr/bin/arm-linux-gnueabihf-g++ arm-linux-gnueabihf-g++ /usr/bin/arm-linux-gnueabihf-g++-10
Make output:
❯ make
make -C src/rebook-ui compile
make[1]: Entering directory '/home/ohthehugemanatee/Projects/personal/remarkable-projects/ReBook/src/rebook-ui'
make compile_arm
make[2]: Entering directory '/home/ohthehugemanatee/Projects/personal/remarkable-projects/ReBook/src/rebook-ui'
CXX=arm-linux-gnueabihf-g++ okp -ni -I../../libs/boost/ -I../../libs/rmkit/src -for -d ../._cpp/ -o ../../build/rebook main.cpy ../../libs/rmkit/src/build/stb.arm.o -- -D"REMARKABLE=1" -pthread -lpthread -fdata-sections -ffunction-sections -Wl,--gc-sections -I../../libs/boost/ -I../../libs/rmkit/src -O2
compile flags: -DREMARKABLE=1 -pthread -lpthread -fdata-sections -ffunction-sections -Wl,--gc-sections -I../../libs/boost/ -I../../libs/rmkit/src -O2 -I../../libs/boost/ -I../../libs/rmkit/src
missing file: build/rmkit.h
missing file: build/rmkit.h
missing file: build/rmkit.h
missing file: boost/json/src.hpp
missing file: boost/unordered/unordered_map.hpp
missing file: boost/json/src.hpp
missing file: boost/unordered/unordered_map.hpp
arm-linux-gnueabihf-g++ -c /home/ohthehugemanatee/Projects/personal/remarkable-projects/ReBook/src/._cpp/main.cpp -o /home/ohthehugemanatee/Projects/personal/remarkable-projects/ReBook/src/._cpp/main.o -DREMARKABLE=1 -pthread -lpthread -fdata-sections -ffunction-sections -Wl,--gc-sections -I../../libs/boost/ -I../../libs/rmkit/src -O2 -I../../libs/boost/ -I../../libs/rmkit/src
/home/ohthehugemanatee/Projects/personal/remarkable-projects/ReBook/src/rebook-ui/main.cpy: In function ‘int main()’:
/home/ohthehugemanatee/Projects/personal/remarkable-projects/ReBook/src/rebook-ui/main.cpy:15:8: warning: ignoring return value of ‘int chdir(const char*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
15 | chdir(HOME_DIR)
| ~~~~~^~~~~~~~~~
arm-linux-gnueabihf-g++ ../../libs/rmkit/src/build/stb.arm.o /home/ohthehugemanatee/Projects/personal/remarkable-projects/ReBook/src/._cpp/main.o -o /home/ohthehugemanatee/Projects/personal/remarkable-projects/ReBook/src/rebook-ui/../../build/rebook -DREMARKABLE=1 -pthread -lpthread -fdata-sections -ffunction-sections -Wl,--gc-sections -I../../libs/boost/ -I../../libs/rmkit/src -O2 -I../../libs/boost/ -I../../libs/rmkit/src
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: /home/ohthehugemanatee/Projects/personal/remarkable-projects/ReBook/src/._cpp/main.o: in function `framebuffer::FB::init()':
main.cpp:(.text._ZN11framebuffer2FB4initEv[_ZN11framebuffer2FB4initEv]+0x9c): undefined reference to `framebuffer::DEBUG_FB_INFO'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: /home/ohthehugemanatee/Projects/personal/remarkable-projects/ReBook/src/._cpp/main.o: in function `stbtext::setup_font() [clone .part.0]':
main.cpp:(.text._ZN7stbtextL10setup_fontEv.part.0+0xdc): undefined reference to `stbtext::did_setup'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: /home/ohthehugemanatee/Projects/personal/remarkable-projects/ReBook/src/._cpp/main.o: in function `stbtext::get_line_height(int)':
main.cpp:(.text._ZN7stbtextL15get_line_heightEi+0xa8): undefined reference to `stbtext::did_setup'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: /home/ohthehugemanatee/Projects/personal/remarkable-projects/ReBook/src/._cpp/main.o: in function `framebuffer::HardwareFB::init()':
main.cpp:(.text._ZN11framebuffer10HardwareFB4initEv[_ZN11framebuffer10HardwareFB4initEv]+0x188): undefined reference to `framebuffer::DEBUG_FB_INFO'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: /home/ohthehugemanatee/Projects/personal/remarkable-projects/ReBook/src/._cpp/main.o: in function `ui::Widget::undraw()':
main.cpp:(.text._ZN2ui6Widget6undrawEv[_ZN2ui6Widget6undrawEv]+0x9c): undefined reference to `ui::Widget::fb'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: /home/ohthehugemanatee/Projects/personal/remarkable-projects/ReBook/src/._cpp/main.o: in function `ui::Keyboard::render()':
main.cpp:(.text._ZN2ui8Keyboard6renderEv[_ZN2ui8Keyboard6renderEv]+0x9c): undefined reference to `ui::Widget::fb'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: /home/ohthehugemanatee/Projects/personal/remarkable-projects/ReBook/src/._cpp/main.o: in function `ui::Widget::render_border()':
main.cpp:(.text._ZN2ui6Widget13render_borderEv[_ZN2ui6Widget13render_borderEv]+0xe4): undefined reference to `ui::Widget::fb'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: /home/ohthehugemanatee/Projects/personal/remarkable-projects/ReBook/src/._cpp/main.o: in function `ui::DialogBase::render()':
main.cpp:(.text._ZN2ui10DialogBase6renderEv[_ZN2ui10DialogBase6renderEv]+0xd0): undefined reference to `ui::Widget::fb'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: /home/ohthehugemanatee/Projects/personal/remarkable-projects/ReBook/src/._cpp/main.o: in function `ui::Pixmap::render()':
main.cpp:(.text._ZN2ui6Pixmap6renderEv[_ZN2ui6Pixmap6renderEv]+0x40): undefined reference to `ui::Widget::fb'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: /home/ohthehugemanatee/Projects/personal/remarkable-projects/ReBook/src/._cpp/main.o:main.cpp:(.text._ZN2ui6Button6renderEv[_ZN2ui6Button6renderEv]+0x100): more undefined references to `ui::Widget::fb' follow
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: /home/ohthehugemanatee/Projects/personal/remarkable-projects/ReBook/src/._cpp/main.o: in function `ui::TaskQueue::run_task()::{lambda()#1}::operator()() const':
main.cpp:(.text._ZZN2ui9TaskQueue8run_taskEvENKUlvE_clEv[_ZZN2ui9TaskQueue8run_taskEvENKUlvE_clEv]+0x174): undefined reference to `ui::TaskQueue::tasks'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: main.cpp:(.text._ZZN2ui9TaskQueue8run_taskEvENKUlvE_clEv[_ZZN2ui9TaskQueue8run_taskEvENKUlvE_clEv]+0x17c): undefined reference to `ui::TaskQueue::task_q'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: main.cpp:(.text._ZZN2ui9TaskQueue8run_taskEvENKUlvE_clEv[_ZZN2ui9TaskQueue8run_taskEvENKUlvE_clEv]+0x180): undefined reference to `ui::TaskQueue::task_m'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: main.cpp:(.text._ZZN2ui9TaskQueue8run_taskEvENKUlvE_clEv[_ZZN2ui9TaskQueue8run_taskEvENKUlvE_clEv]+0x188): undefined reference to `input::ipc_fd'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: /home/ohthehugemanatee/Projects/personal/remarkable-projects/ReBook/src/._cpp/main.o: in function `ui::TaskQueue::run_task()':
main.cpp:(.text._ZN2ui9TaskQueue8run_taskEv[_ZN2ui9TaskQueue8run_taskEv]+0x138): undefined reference to `ui::TaskQueue::tasks'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: main.cpp:(.text._ZN2ui9TaskQueue8run_taskEv[_ZN2ui9TaskQueue8run_taskEv]+0x150): undefined reference to `input::ipc_fd'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: /home/ohthehugemanatee/Projects/personal/remarkable-projects/ReBook/src/._cpp/main.o: in function `ui::InnerScene::redraw(std::vector<std::shared_ptr<ui::Widget>, std::allocator<std::shared_ptr<ui::Widget> > >&)':
main.cpp:(.text._ZN2ui10InnerScene6redrawERSt6vectorISt10shared_ptrINS_6WidgetEESaIS4_EE[_ZN2ui10InnerScene6redrawERSt6vectorISt10shared_ptrINS_6WidgetEESaIS4_EE]+0x154): undefined reference to `ui::Widget::fb'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: /home/ohthehugemanatee/Projects/personal/remarkable-projects/ReBook/src/._cpp/main.o: in function `ui::MainLoop::hide_overlay() [clone .part.0]':
main.cpp:(.text._ZN2ui8MainLoop12hide_overlayEv.part.0+0x1c8): undefined reference to `ui::MainLoop::overlay_is_visible'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: main.cpp:(.text._ZN2ui8MainLoop12hide_overlayEv.part.0+0x1cc): undefined reference to `ui::Widget::fb'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: main.cpp:(.text._ZN2ui8MainLoop12hide_overlayEv.part.0+0x1d0): undefined reference to `ui::MainLoop::scene'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: main.cpp:(.text._ZN2ui8MainLoop12hide_overlayEv.part.0+0x1d8): undefined reference to `ui::MainLoop::overlay'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: /home/ohthehugemanatee/Projects/personal/remarkable-projects/ReBook/src/._cpp/main.o: in function `ui::MainLoop::refresh()':
main.cpp:(.text._ZN2ui8MainLoop7refreshEv[_ZN2ui8MainLoop7refreshEv]+0xb8): undefined reference to `ui::MainLoop::scene'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: main.cpp:(.text._ZN2ui8MainLoop7refreshEv[_ZN2ui8MainLoop7refreshEv]+0xc0): undefined reference to `ui::MainLoop::overlay_is_visible'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: main.cpp:(.text._ZN2ui8MainLoop7refreshEv[_ZN2ui8MainLoop7refreshEv]+0xc4): undefined reference to `ui::MainLoop::overlay'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: /home/ohthehugemanatee/Projects/personal/remarkable-projects/ReBook/src/._cpp/main.o: in function `std::_Function_handler<void (input::SynMotionEvent&), ui::Keyboard::set_layout(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)::{lambda(auto:1&)#5}>::_M_invoke(std::_Any_data const&, input::SynMotionEvent&)':
main.cpp:(.text._ZNSt17_Function_handlerIFvRN5input14SynMotionEventEEZN2ui8Keyboard10set_layoutENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESB_SB_EUlRT_E3_E9_M_invokeERKSt9_Any_dataS2_[_ZNSt17_Function_handlerIFvRN5input14SynMotionEventEEZN2ui8Keyboard10set_layoutENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESB_SB_EUlRT_E3_E9_M_invokeERKSt9_Any_dataS2_]+0x29c): undefined reference to `ui::MainLoop::scene'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: main.cpp:(.text._ZNSt17_Function_handlerIFvRN5input14SynMotionEventEEZN2ui8Keyboard10set_layoutENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESB_SB_EUlRT_E3_E9_M_invokeERKSt9_Any_dataS2_[_ZNSt17_Function_handlerIFvRN5input14SynMotionEventEEZN2ui8Keyboard10set_layoutENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESB_SB_EUlRT_E3_E9_M_invokeERKSt9_Any_dataS2_]+0x2a4): undefined reference to `ui::MainLoop::overlay_is_visible'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: main.cpp:(.text._ZNSt17_Function_handlerIFvRN5input14SynMotionEventEEZN2ui8Keyboard10set_layoutENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESB_SB_EUlRT_E3_E9_M_invokeERKSt9_Any_dataS2_[_ZNSt17_Function_handlerIFvRN5input14SynMotionEventEEZN2ui8Keyboard10set_layoutENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESB_SB_EUlRT_E3_E9_M_invokeERKSt9_Any_dataS2_]+0x2a8): undefined reference to `ui::MainLoop::kbd_is_visible'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: main.cpp:(.text._ZNSt17_Function_handlerIFvRN5input14SynMotionEventEEZN2ui8Keyboard10set_layoutENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESB_SB_EUlRT_E3_E9_M_invokeERKSt9_Any_dataS2_[_ZNSt17_Function_handlerIFvRN5input14SynMotionEventEEZN2ui8Keyboard10set_layoutENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESB_SB_EUlRT_E3_E9_M_invokeERKSt9_Any_dataS2_]+0x2b0): undefined reference to `ui::MainLoop::overlay'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: main.cpp:(.text._ZNSt17_Function_handlerIFvRN5input14SynMotionEventEEZN2ui8Keyboard10set_layoutENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESB_SB_EUlRT_E3_E9_M_invokeERKSt9_Any_dataS2_[_ZNSt17_Function_handlerIFvRN5input14SynMotionEventEEZN2ui8Keyboard10set_layoutENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESB_SB_EUlRT_E3_E9_M_invokeERKSt9_Any_dataS2_]+0x2b4): undefined reference to `ui::Widget::fb'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: main.cpp:(.text._ZNSt17_Function_handlerIFvRN5input14SynMotionEventEEZN2ui8Keyboard10set_layoutENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESB_SB_EUlRT_E3_E9_M_invokeERKSt9_Any_dataS2_[_ZNSt17_Function_handlerIFvRN5input14SynMotionEventEEZN2ui8Keyboard10set_layoutENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESB_SB_EUlRT_E3_E9_M_invokeERKSt9_Any_dataS2_]+0x2b8): undefined reference to `ui::MainLoop::kbd'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: /home/ohthehugemanatee/Projects/personal/remarkable-projects/ReBook/src/._cpp/main.o: in function `SearchInput::search_for(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)::{lambda(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)#1}::operator()(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >) const':
main.cpp:(.text._ZZN11SearchInput10search_forENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEENKUlS5_E_clES5_[_ZZN11SearchInput10search_forENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEENKUlS5_E_clES5_]+0x7c4): undefined reference to `ui::MainLoop::overlay_is_visible'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: /home/ohthehugemanatee/Projects/personal/remarkable-projects/ReBook/src/._cpp/main.o: in function `ui::Button::on_key_pressed(input::SynKeyEvent&)':
main.cpp:(.text._ZN2ui6Button14on_key_pressedERN5input11SynKeyEventE[_ZN2ui6Button14on_key_pressedERN5input11SynKeyEventE]+0xc8): undefined reference to `input::next_id'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: /home/ohthehugemanatee/Projects/personal/remarkable-projects/ReBook/src/._cpp/main.o: in function `framebuffer::get()':
main.cpp:(.text._ZN11framebufferL3getEv+0xe8): undefined reference to `framebuffer::fb_info::display_height'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: main.cpp:(.text._ZN11framebufferL3getEv+0xf0): undefined reference to `framebuffer::fb_info::display_width'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: main.cpp:(.text._ZN11framebufferL3getEv+0xf4): undefined reference to `framebuffer::fb_info::height'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: main.cpp:(.text._ZN11framebufferL3getEv+0xf8): undefined reference to `framebuffer::fb_info::width'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: /home/ohthehugemanatee/Projects/personal/remarkable-projects/ReBook/src/._cpp/main.o: in function `_rmkit_init()':
main.cpp:(.text.startup._ZL11_rmkit_initv+0x258): undefined reference to `ui::Widget::fb'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: main.cpp:(.text.startup._ZL11_rmkit_initv+0x268): undefined reference to `rm2fb::IN_RM2FB_SHIM'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: /home/ohthehugemanatee/Projects/personal/remarkable-projects/ReBook/src/._cpp/main.o: in function `_rmkit_exit(int)':
main.cpp:(.text._ZL11_rmkit_exiti+0xe0): undefined reference to `ui::MainLoop::in'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: main.cpp:(.text._ZL11_rmkit_exiti+0xec): undefined reference to `ui::MainLoop::exit'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: /home/ohthehugemanatee/Projects/personal/remarkable-projects/ReBook/src/._cpp/main.o: in function `ui::Keyboard::show()':
main.cpp:(.text._ZN2ui8Keyboard4showEv[_ZN2ui8Keyboard4showEv]+0x250): undefined reference to `ui::MainLoop::kbd'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: main.cpp:(.text._ZN2ui8Keyboard4showEv[_ZN2ui8Keyboard4showEv]+0x254): undefined reference to `ui::MainLoop::kbd_is_visible'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: main.cpp:(.text._ZN2ui8Keyboard4showEv[_ZN2ui8Keyboard4showEv]+0x260): undefined reference to `ui::Widget::fb'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: main.cpp:(.text._ZN2ui8Keyboard4showEv[_ZN2ui8Keyboard4showEv]+0x264): undefined reference to `ui::MainLoop::scene'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: main.cpp:(.text._ZN2ui8Keyboard4showEv[_ZN2ui8Keyboard4showEv]+0x26c): undefined reference to `ui::MainLoop::overlay_is_visible'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: main.cpp:(.text._ZN2ui8Keyboard4showEv[_ZN2ui8Keyboard4showEv]+0x278): undefined reference to `ui::MainLoop::overlay'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: /home/ohthehugemanatee/Projects/personal/remarkable-projects/ReBook/src/._cpp/main.o: in function `ui::DialogBase::show()':
main.cpp:(.text._ZN2ui10DialogBase4showEv[_ZN2ui10DialogBase4showEv]+0x25c): undefined reference to `ui::MainLoop::overlay'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: main.cpp:(.text._ZN2ui10DialogBase4showEv[_ZN2ui10DialogBase4showEv]+0x260): undefined reference to `ui::MainLoop::overlay_is_visible'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: main.cpp:(.text._ZN2ui10DialogBase4showEv[_ZN2ui10DialogBase4showEv]+0x264): undefined reference to `ui::Widget::fb'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: main.cpp:(.text._ZN2ui10DialogBase4showEv[_ZN2ui10DialogBase4showEv]+0x268): undefined reference to `ui::MainLoop::scene'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: /home/ohthehugemanatee/Projects/personal/remarkable-projects/ReBook/src/._cpp/main.o: in function `ui::MainLoop::handle_key_event(input::SynKeyEvent&)':
main.cpp:(.text._ZN2ui8MainLoop16handle_key_eventERN5input11SynKeyEventE[_ZN2ui8MainLoop16handle_key_eventERN5input11SynKeyEventE]+0x258): undefined reference to `ui::MainLoop::scene'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: main.cpp:(.text._ZN2ui8MainLoop16handle_key_eventERN5input11SynKeyEventE[_ZN2ui8MainLoop16handle_key_eventERN5input11SynKeyEventE]+0x260): undefined reference to `ui::MainLoop::overlay_is_visible'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: main.cpp:(.text._ZN2ui8MainLoop16handle_key_eventERN5input11SynKeyEventE[_ZN2ui8MainLoop16handle_key_eventERN5input11SynKeyEventE]+0x264): undefined reference to `ui::MainLoop::kbd_is_visible'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: main.cpp:(.text._ZN2ui8MainLoop16handle_key_eventERN5input11SynKeyEventE[_ZN2ui8MainLoop16handle_key_eventERN5input11SynKeyEventE]+0x270): undefined reference to `ui::MainLoop::kbd'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: main.cpp:(.text._ZN2ui8MainLoop16handle_key_eventERN5input11SynKeyEventE[_ZN2ui8MainLoop16handle_key_eventERN5input11SynKeyEventE]+0x274): undefined reference to `ui::MainLoop::overlay'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: /home/ohthehugemanatee/Projects/personal/remarkable-projects/ReBook/src/._cpp/main.o: in function `ui::MainLoop::handle_events()':
main.cpp:(.text._ZN2ui8MainLoop13handle_eventsEv[_ZN2ui8MainLoop13handle_eventsEv]+0x77c): undefined reference to `ui::MainLoop::in'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: main.cpp:(.text._ZN2ui8MainLoop13handle_eventsEv[_ZN2ui8MainLoop13handle_eventsEv]+0x788): undefined reference to `ui::MainLoop::motion_event'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: main.cpp:(.text._ZN2ui8MainLoop13handle_eventsEv[_ZN2ui8MainLoop13handle_eventsEv]+0x790): undefined reference to `ui::MainLoop::scene'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: main.cpp:(.text._ZN2ui8MainLoop13handle_eventsEv[_ZN2ui8MainLoop13handle_eventsEv]+0x794): undefined reference to `ui::MainLoop::overlay_is_visible'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: main.cpp:(.text._ZN2ui8MainLoop13handle_eventsEv[_ZN2ui8MainLoop13handle_eventsEv]+0x798): undefined reference to `ui::MainLoop::kbd_is_visible'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: main.cpp:(.text._ZN2ui8MainLoop13handle_eventsEv[_ZN2ui8MainLoop13handle_eventsEv]+0x79c): undefined reference to `ui::MainLoop::first_mouse_down'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: main.cpp:(.text._ZN2ui8MainLoop13handle_eventsEv[_ZN2ui8MainLoop13handle_eventsEv]+0x7a4): undefined reference to `ui::MainLoop::key_event'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: main.cpp:(.text._ZN2ui8MainLoop13handle_eventsEv[_ZN2ui8MainLoop13handle_eventsEv]+0x7ac): undefined reference to `ui::MainLoop::kbd'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: main.cpp:(.text._ZN2ui8MainLoop13handle_eventsEv[_ZN2ui8MainLoop13handle_eventsEv]+0x7b0): undefined reference to `ui::MainLoop::overlay'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: /home/ohthehugemanatee/Projects/personal/remarkable-projects/ReBook/src/._cpp/main.o: in function `ui::MainLoop::main()':
main.cpp:(.text.startup._ZN2ui8MainLoop4mainEv[_ZN2ui8MainLoop4mainEv]+0x9c): undefined reference to `ui::MainLoop::kbd_is_visible'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: main.cpp:(.text.startup._ZN2ui8MainLoop4mainEv[_ZN2ui8MainLoop4mainEv]+0xa0): undefined reference to `ui::MainLoop::scene'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: main.cpp:(.text.startup._ZN2ui8MainLoop4mainEv[_ZN2ui8MainLoop4mainEv]+0xa4): undefined reference to `ui::MainLoop::overlay_is_visible'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: main.cpp:(.text.startup._ZN2ui8MainLoop4mainEv[_ZN2ui8MainLoop4mainEv]+0xa8): undefined reference to `ui::MainLoop::overlay'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: main.cpp:(.text.startup._ZN2ui8MainLoop4mainEv[_ZN2ui8MainLoop4mainEv]+0xac): undefined reference to `ui::MainLoop::kbd'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: /home/ohthehugemanatee/Projects/personal/remarkable-projects/ReBook/src/._cpp/main.o: in function `ui::Pager::on_button_selected(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
main.cpp:(.text._ZN2ui5Pager18on_button_selectedENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE[_ZN2ui5Pager18on_button_selectedENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE]+0x1e8): undefined reference to `ui::MainLoop::scene'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: main.cpp:(.text._ZN2ui5Pager18on_button_selectedENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE[_ZN2ui5Pager18on_button_selectedENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE]+0x1f0): undefined reference to `ui::MainLoop::overlay_is_visible'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: main.cpp:(.text._ZN2ui5Pager18on_button_selectedENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE[_ZN2ui5Pager18on_button_selectedENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE]+0x1f8): undefined reference to `ui::MainLoop::overlay'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: /home/ohthehugemanatee/Projects/personal/remarkable-projects/ReBook/src/._cpp/main.o: in function `ui::DialogBase::position_dialog()':
main.cpp:(.text._ZN2ui10DialogBase15position_dialogEv[_ZN2ui10DialogBase15position_dialogEv]+0x388): undefined reference to `ui::Widget::fb'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: /home/ohthehugemanatee/Projects/personal/remarkable-projects/ReBook/src/._cpp/main.o: in function `ui::Dialog::build_dialog()':
main.cpp:(.text._ZN2ui6Dialog12build_dialogEv[_ZN2ui6Dialog12build_dialogEv]+0x3dc): undefined reference to `ui::Widget::fb'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: /home/ohthehugemanatee/Projects/personal/remarkable-projects/ReBook/src/._cpp/main.o: in function `ui::Button::set_style(ui::Stylesheet const&)':
main.cpp:(.text._ZN2ui6Button9set_styleERKNS_10StylesheetE[_ZN2ui6Button9set_styleERKNS_10StylesheetE]+0x92): undefined reference to `ui::Style::inherit() const'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: /home/ohthehugemanatee/Projects/personal/remarkable-projects/ReBook/src/._cpp/main.o: in function `input::InputClass<input::WacomEvent, input::SynMotionEvent>::handle_event_fd()':
main.cpp:(.text._ZN5input10InputClassINS_10WacomEventENS_14SynMotionEventEE15handle_event_fdEv[_ZN5input10InputClassINS_10WacomEventENS_14SynMotionEventEE15handle_event_fdEv]+0x464): undefined reference to `input::WacomEvent::scale_y'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: main.cpp:(.text._ZN5input10InputClassINS_10WacomEventENS_14SynMotionEventEE15handle_event_fdEv[_ZN5input10InputClassINS_10WacomEventENS_14SynMotionEventEE15handle_event_fdEv]+0x468): undefined reference to `framebuffer::fb_info::display_height'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: main.cpp:(.text._ZN5input10InputClassINS_10WacomEventENS_14SynMotionEventEE15handle_event_fdEv[_ZN5input10InputClassINS_10WacomEventENS_14SynMotionEventEE15handle_event_fdEv]+0x46c): undefined reference to `input::WacomEvent::min_tilt_y'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: main.cpp:(.text._ZN5input10InputClassINS_10WacomEventENS_14SynMotionEventEE15handle_event_fdEv[_ZN5input10InputClassINS_10WacomEventENS_14SynMotionEventEE15handle_event_fdEv]+0x470): undefined reference to `input::WacomEvent::max_tilt_y'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: main.cpp:(.text._ZN5input10InputClassINS_10WacomEventENS_14SynMotionEventEE15handle_event_fdEv[_ZN5input10InputClassINS_10WacomEventENS_14SynMotionEventEE15handle_event_fdEv]+0x474): undefined reference to `input::WacomEvent::min_tilt_x'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: main.cpp:(.text._ZN5input10InputClassINS_10WacomEventENS_14SynMotionEventEE15handle_event_fdEv[_ZN5input10InputClassINS_10WacomEventENS_14SynMotionEventEE15handle_event_fdEv]+0x478): undefined reference to `input::WacomEvent::max_tilt_x'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: main.cpp:(.text._ZN5input10InputClassINS_10WacomEventENS_14SynMotionEventEE15handle_event_fdEv[_ZN5input10InputClassINS_10WacomEventENS_14SynMotionEventEE15handle_event_fdEv]+0x47c): undefined reference to `input::WacomEvent::min_pressure'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: main.cpp:(.text._ZN5input10InputClassINS_10WacomEventENS_14SynMotionEventEE15handle_event_fdEv[_ZN5input10InputClassINS_10WacomEventENS_14SynMotionEventEE15handle_event_fdEv]+0x480): undefined reference to `input::WacomEvent::max_pressure'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: main.cpp:(.text._ZN5input10InputClassINS_10WacomEventENS_14SynMotionEventEE15handle_event_fdEv[_ZN5input10InputClassINS_10WacomEventENS_14SynMotionEventEE15handle_event_fdEv]+0x484): undefined reference to `input::WacomEvent::scale_x'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: main.cpp:(.text._ZN5input10InputClassINS_10WacomEventENS_14SynMotionEventEE15handle_event_fdEv[_ZN5input10InputClassINS_10WacomEventENS_14SynMotionEventEE15handle_event_fdEv]+0x488): undefined reference to `framebuffer::fb_info::display_width'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: /home/ohthehugemanatee/Projects/personal/remarkable-projects/ReBook/src/._cpp/main.o: in function `input::InputClass<input::TouchEvent, input::SynMotionEvent>::handle_event_fd()':
main.cpp:(.text._ZN5input10InputClassINS_10TouchEventENS_14SynMotionEventEE15handle_event_fdEv[_ZN5input10InputClassINS_10TouchEventENS_14SynMotionEventEE15handle_event_fdEv]+0x594): undefined reference to `input::TouchEvent::swap_xy'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: main.cpp:(.text._ZN5input10InputClassINS_10TouchEventENS_14SynMotionEventEE15handle_event_fdEv[_ZN5input10InputClassINS_10TouchEventENS_14SynMotionEventEE15handle_event_fdEv]+0x598): undefined reference to `input::TouchEvent::scale_y'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: main.cpp:(.text._ZN5input10InputClassINS_10TouchEventENS_14SynMotionEventEE15handle_event_fdEv[_ZN5input10InputClassINS_10TouchEventENS_14SynMotionEventEE15handle_event_fdEv]+0x59c): undefined reference to `input::TouchEvent::invert_y'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: main.cpp:(.text._ZN5input10InputClassINS_10TouchEventENS_14SynMotionEventEE15handle_event_fdEv[_ZN5input10InputClassINS_10TouchEventENS_14SynMotionEventEE15handle_event_fdEv]+0x5a0): undefined reference to `input::TouchEvent::MAX_SLOTS'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: main.cpp:(.text._ZN5input10InputClassINS_10TouchEventENS_14SynMotionEventEE15handle_event_fdEv[_ZN5input10InputClassINS_10TouchEventENS_14SynMotionEventEE15handle_event_fdEv]+0x5a4): undefined reference to `input::TouchEvent::scale_x'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: main.cpp:(.text._ZN5input10InputClassINS_10TouchEventENS_14SynMotionEventEE15handle_event_fdEv[_ZN5input10InputClassINS_10TouchEventENS_14SynMotionEventEE15handle_event_fdEv]+0x5a8): undefined reference to `input::TouchEvent::invert_x'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: main.cpp:(.text._ZN5input10InputClassINS_10TouchEventENS_14SynMotionEventEE15handle_event_fdEv[_ZN5input10InputClassINS_10TouchEventENS_14SynMotionEventEE15handle_event_fdEv]+0x5ac): undefined reference to `framebuffer::fb_info::display_width'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: main.cpp:(.text._ZN5input10InputClassINS_10TouchEventENS_14SynMotionEventEE15handle_event_fdEv[_ZN5input10InputClassINS_10TouchEventENS_14SynMotionEventEE15handle_event_fdEv]+0x5b0): undefined reference to `framebuffer::fb_info::display_height'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: /home/ohthehugemanatee/Projects/personal/remarkable-projects/ReBook/src/._cpp/main.o: in function `input::Input::listen_all(long)':
main.cpp:(.text._ZN5input5Input10listen_allEl[_ZN5input5Input10listen_allEl]+0x580): undefined reference to `input::next_id'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: main.cpp:(.text._ZN5input5Input10listen_allEl[_ZN5input5Input10listen_allEl]+0x70c): undefined reference to `input::ipc_fd'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: /home/ohthehugemanatee/Projects/personal/remarkable-projects/ReBook/src/._cpp/main.o: in function `ui::Widget::Widget(int, int, int, int)':
main.cpp:(.text._ZN2ui6WidgetC2Eiiii[_ZN2ui6WidgetC5Eiiii]+0x230): undefined reference to `ui::Style::DEFAULT'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: /home/ohthehugemanatee/Projects/personal/remarkable-projects/ReBook/src/._cpp/main.o: in function `ui::Button::Button(int, int, int, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
main.cpp:(.text._ZN2ui6ButtonC2EiiiiNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE[_ZN2ui6ButtonC5EiiiiNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE]+0x190): undefined reference to `ui::Button::key_ctr'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: main.cpp:(.text._ZN2ui6ButtonC2EiiiiNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE[_ZN2ui6ButtonC5EiiiiNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE]+0x19c): undefined reference to `ui::Button::DEFAULT_STYLE'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: /home/ohthehugemanatee/Projects/personal/remarkable-projects/ReBook/src/._cpp/main.o: in function `ui::Keyboard::make_char_button(char)':
main.cpp:(.text._ZN2ui8Keyboard16make_char_buttonEc[_ZN2ui8Keyboard16make_char_buttonEc]+0x190): undefined reference to `ui::Keyboard::BTN_STYLE'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: /home/ohthehugemanatee/Projects/personal/remarkable-projects/ReBook/src/._cpp/main.o: in function `ui::Keyboard::set_layout(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
main.cpp:(.text._ZN2ui8Keyboard10set_layoutENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_S6_[_ZN2ui8Keyboard10set_layoutENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_S6_]+0xb18): undefined reference to `ui::Widget::fb'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: main.cpp:(.text._ZN2ui8Keyboard10set_layoutENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_S6_[_ZN2ui8Keyboard10set_layoutENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_S6_]+0xb30): undefined reference to `ui::Keyboard::INPUT_STYLE'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: main.cpp:(.text._ZN2ui8Keyboard10set_layoutENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_S6_[_ZN2ui8Keyboard10set_layoutENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_S6_]+0xb3c): undefined reference to `ui::Keyboard::BTN_STYLE'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: /home/ohthehugemanatee/Projects/personal/remarkable-projects/ReBook/src/._cpp/main.o: in function `ui::TextInput::on_mouse_click(input::SynMotionEvent&)':
main.cpp:(.text._ZN2ui9TextInput14on_mouse_clickERN5input14SynMotionEventE[_ZN2ui9TextInput14on_mouse_clickERN5input14SynMotionEventE]+0x2c0): undefined reference to `ui::Widget::fb'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: main.cpp:(.text._ZN2ui9TextInput14on_mouse_clickERN5input14SynMotionEventE[_ZN2ui9TextInput14on_mouse_clickERN5input14SynMotionEventE]+0x2d4): undefined reference to `ui::MainLoop::scene'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: main.cpp:(.text._ZN2ui9TextInput14on_mouse_clickERN5input14SynMotionEventE[_ZN2ui9TextInput14on_mouse_clickERN5input14SynMotionEventE]+0x2dc): undefined reference to `ui::MainLoop::overlay_is_visible'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: main.cpp:(.text._ZN2ui9TextInput14on_mouse_clickERN5input14SynMotionEventE[_ZN2ui9TextInput14on_mouse_clickERN5input14SynMotionEventE]+0x2e4): undefined reference to `ui::MainLoop::overlay'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: /home/ohthehugemanatee/Projects/personal/remarkable-projects/ReBook/src/._cpp/main.o: in function `ui::ImageCache::get(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
main.cpp:(.text._ZN2ui10ImageCache3getENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE[_ZN2ui10ImageCache3getENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE]+0x240): undefined reference to `ui::ImageCache::CACHE[abi:cxx11]'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: /home/ohthehugemanatee/Projects/personal/remarkable-projects/ReBook/src/._cpp/main.o: in function `prep_input_scene()':
main.cpp:(.text._Z16prep_input_scenev+0x8dc): undefined reference to `ui::TextInput::DEFAULT_STYLE'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: /home/ohthehugemanatee/Projects/personal/remarkable-projects/ReBook/src/._cpp/main.o: in function `main':
main.cpp:(.text.startup.main+0x284): undefined reference to `ui::MainLoop::scene'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: main.cpp:(.text.startup.main+0x294): undefined reference to `ui::MainLoop::in'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: main.cpp:(.text.startup.main+0x298): undefined reference to `ui::MainLoop::fb'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: /home/ohthehugemanatee/Projects/personal/remarkable-projects/ReBook/src/._cpp/main.o: in function `stbtext::get_text_size(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, int)':
main.cpp:(.text._ZN7stbtextL13get_text_sizeERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEi+0x1e4): undefined reference to `stbtext::did_setup'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: /home/ohthehugemanatee/Projects/personal/remarkable-projects/ReBook/src/._cpp/main.o: in function `ui::Dialog::add_buttons(ui::HorizontalLayout*)':
main.cpp:(.text._ZN2ui6Dialog11add_buttonsEPNS_16HorizontalLayoutE[_ZN2ui6Dialog11add_buttonsEPNS_16HorizontalLayoutE]+0x1b0): undefined reference to `ui::Style::DEFAULT'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: /home/ohthehugemanatee/Projects/personal/remarkable-projects/ReBook/src/._cpp/main.o: in function `stbtext::render_text(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, image_data&, int) [clone .isra.0]':
main.cpp:(.text._ZN7stbtextL11render_textERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEER10image_datai.isra.0+0x2a0): undefined reference to `stbtext::did_setup'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: /home/ohthehugemanatee/Projects/personal/remarkable-projects/ReBook/src/._cpp/main.o: in function `ui::Text::render()':
main.cpp:(.text._ZN2ui4Text6renderEv[_ZN2ui4Text6renderEv]+0x1ec): undefined reference to `ui::Widget::fb'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: /home/ohthehugemanatee/Projects/personal/remarkable-projects/ReBook/src/._cpp/main.o: in function `ui::TextInput::render()':
main.cpp:(.text._ZN2ui9TextInput6renderEv[_ZN2ui9TextInput6renderEv]+0x38): undefined reference to `ui::Widget::fb'
/usr/lib/gcc-cross/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/bin/ld: /home/ohthehugemanatee/Projects/personal/remarkable-projects/ReBook/src/._cpp/main.o: in function `ui::MultiText::render()':
main.cpp:(.text._ZN2ui9MultiText6renderEv[_ZN2ui9MultiText6renderEv]+0x34c): undefined reference to `ui::Widget::fb'
collect2: error: ld returned 1 exit status
compiled into /home/ohthehugemanatee/Projects/personal/remarkable-projects/ReBook/src/._cpp
Traceback (most recent call last):
File "/home/ohthehugemanatee/.local/bin/okp", line 4, in <module>
okp.main()
File "/home/ohthehugemanatee/.local/lib/python3.10/site-packages/okp/main_impl.py", line 87, in main
compile_project(args)
File "/home/ohthehugemanatee/.local/lib/python3.10/site-packages/okp/project.py", line 455, in compile_project
ofiles = compile_files(tmp_dir, args)
File "/home/ohthehugemanatee/.local/lib/python3.10/site-packages/okp/project.py", line 407, in compile_files
run_cmd(CXX, cmd_args)
File "/home/ohthehugemanatee/.local/lib/python3.10/site-packages/okp/project.py", line 186, in run_cmd
return subprocess.check_output(cmd_args)
File "/usr/lib/python3.10/subprocess.py", line 420, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/usr/lib/python3.10/subprocess.py", line 524, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['arm-linux-gnueabihf-g++', '../../libs/rmkit/src/build/stb.arm.o', '/home/ohthehugemanatee/Projects/personal/remarkable-projects/ReBook/src/._cpp/main.o', '-o', '/home/ohthehugemanatee/Projects/personal/remarkable-projects/ReBook/src/rebook-ui/../../build/rebook', '-DREMARKABLE=1', '-pthread', '-lpthread', '-fdata-sections', '-ffunction-sections', '-Wl,--gc-sections', '-I../../libs/boost/', '-I../../libs/rmkit/src', '-O2', '-I../../libs/boost/', '-I../../libs/rmkit/src']' returned non-zero exit status 1.
make[2]: *** [Makefile:28: compile_arm] Error 1
make[2]: Leaving directory '/home/ohthehugemanatee/Projects/personal/remarkable-projects/ReBook/src/rebook-ui'
make[1]: *** [Makefile:19: compile] Error 2
make[1]: Leaving directory '/home/ohthehugemanatee/Projects/personal/remarkable-projects/ReBook/src/rebook-ui'
make: *** [Makefile:7: rebook-ui] Error 2
I'm not sure where to go from here. Any suggestions are appreciated!
raisjn commented
I'll look into this and open a pr for compiling it against latest rmkit
raisjn commented
diff --git a/src/rebook-ui/Makefile b/src/rebook-ui/Makefile
index 2771f52..38a82c1 100644
--- a/src/rebook-ui/Makefile
+++ b/src/rebook-ui/Makefile
@@ -6,7 +6,7 @@ ARCH?=arm
CXX_BIN?=arm-linux-gnueabihf-g++
CC_BIN?=arm-linux-gnueabihf-gcc
CPP_FLAGS=-pthread -lpthread -fdata-sections -ffunction-sections -Wl,--gc-sections
-CPP_FLAGS += -I${LIBS_DIR}/boost/ -I${LIBS_DIR}/rmkit/src
+CPP_FLAGS += -I${LIBS_DIR}/boost/ -I${LIBS_DIR}/rmkit/src -DRMKIT_IMPLEMENTATION
fsniper commented
This should be solved. Build recently.