PurpleI2P / i2pd-qt

i2pd with Qt based GUI
BSD 3-Clause "New" or "Revised" License
59 stars 11 forks source link

[I2PControl.cpp] ld error: undefined reference to `i2p::client::I2PControlHandlers::ClientServicesInfoHandler #72

Closed nonlin-lin-chaos-order-etc-etal closed 2 years ago

nonlin-lin-chaos-order-etc-etal commented 2 years ago
‎08/28/2022 | 05:56:36 PM  x: /usr/bin/ld: I2PControl.o: in function `i2p::client::I2PControlService::I2PControlService(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)':
I2PControl.cpp:(.text+0x3120): undefined reference to `i2p::client::I2PControlHandlers::I2PControlHandlers()'
/usr/bin/ld: I2PControl.cpp:(.text+0x3d02): undefined reference to `i2p::client::I2PControlHandlers::ClientServicesInfoHandler(boost::property_tree::basic_ptree<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::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&, std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >&)'
collect2: error: ld returned 1 exit status
make: *** [Makefile:264: i2pd_qt] Ошибка 1  
‎08/28/2022 | 05:58:26 PM  ‎fj‎: это оригнал чот намудрил, а я лечи, но там возиться надо. скорее всего инстанс темплейта отсутствует, напиши g++ --version  
‎08/28/2022 | 05:58:47 PM  ‎fj‎: ну он не виноват просто г++ сложный оч  
‎08/28/2022 | 05:58:57 PM  x: g++ (Debian 8.3.0-6) 8.3.0
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  
‎08/28/2022 | 05:59:27 PM  ‎fj‎: дебиан 8.3.х ща скачаю скорей всего. или попробую твой г++ найти  
nonlin-lin-chaos-order-etc-etal commented 2 years ago

https://github.com/PurpleI2P/i2pd/commit/b4d73683d12c7afe3c09e3c19a425adfb7771e31

nonlin-lin-chaos-order-etc-etal commented 2 years ago

‎эт оригнал чота щас ковыряет, а какогото фига в куте новый коммит пролез

orignal commented 2 years ago

Добавь I2PControlHeaders.cpp в проект

nonlin-lin-chaos-order-etc-etal commented 2 years ago

@orignal 10x, done