Date: Fri, 27 Dec 2024 12:35:48 +0000 From: "Baptiste Daroussin" <bapt@freebsd.org> To: "Nuno Teixeira" <eduardo@freebsd.org>, "FreeBSD CURRENT" <freebsd-current@freebsd.org> Subject: Re: base64.h problems with rtorent port Message-ID: <e794b549374b282f1b5211f703a86a8682215fde@freebsd.org> In-Reply-To: <CAFDf7UJ3uc0jUasWwOUK1cQkWV65Za9uR=z6kcPCaD36QwcX1A@mail.gmail.com>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] 27 décembre 2024 à 13:13 "Nuno Teixeira" <eduardo@freebsd.org mailto:eduardo@freebsd.org?to=%22Nuno%20Teixeira%22%20%3Ceduardo%40freebsd.org%3E > a écrit: > > Hello, > > Looking for help to figure out a base64.h and tinyxml2: > https://github.com/rakshasa/rtorrent/issues/1353 > > Any help is welcome, thanks > > ``` > --- rpc/xmlrpc_tinyxml2.o --- > rpc/xmlrpc_tinyxml2.cc:129:35: error: no member named 'decode_base64' in namespace 'utils' > 129 | return torrent::Object(utils::decode_base64(utils::remove_newlines(child_element->ToText()->Value()))); > | ~~~~~~~^ > rpc/xmlrpc_tinyxml2.cc:129:56: error: no member named 'remove_newlines' in namespace 'utils' > 129 | return torrent::Object(utils::decode_base64(utils::remove_newlines(child_element->ToText()->Value()))); > | ~~~~~~~^ > --- input/manager.o --- > 3 warnings generated. > --- display/window.o --- > depbase=`echo display/window.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; c++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -DNDEBUG -Wall -pthread -I/usr/local/include -I/usr/local/include -MT display/window.o -MD -MP -MF $depbase.Tpo -c -o display/window.o display/window.cc && mv -f $depbase.Tpo $depbase.Po > --- rpc/xmlrpc_tinyxml2.o --- > 1 warning and 2 errors generated. > *** [rpc/xmlrpc_tinyxml2.o] Error code 1 > ``` > -- > > Nuno Teixeira > FreeBSD UNIX: <eduardo@FreeBSD.org> Web: https://FreeBSD.org https://freebsd.org/ > the utils/base64.h you are looking for is part of the rtorrent sources, it has nothing to do with include/base64.h https://github.com/rakshasa/rtorrent/blob/master/src/utils/base64.h The problem is to figure out why it is not found, not to change its path. Bapt [-- Attachment #2 --] <!DOCTYPE html><html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body><div><br><br></div><p>27 décembre 2024 à 13:13 "Nuno Teixeira" <<a href="mailto:eduardo@freebsd.org?to=%22Nuno%20Teixeira%22%20%3Ceduardo%40freebsd.org%3E" target="_blank" tabindex="-1">eduardo@freebsd.org</a>> a écrit:</p><blockquote><div dir="ltr"><div>Hello,</div><div><br></div><div>Looking for help to figure out a base64.h and tinyxml2:</div><div><a href="https://github.com/rakshasa/rtorrent/issues/1353" target="_blank" tabindex="-1">https://github.com/rakshasa/rtorrent/issues/1353</a></div><div><br></div><div>Any help is welcome, thanks</div><div><br></div><div>```</div><div>--- rpc/xmlrpc_tinyxml2.o ---<br>rpc/xmlrpc_tinyxml2.cc:129:35: error: no member named 'decode_base64' in namespace 'utils'<br> 129 | return torrent::Object(utils::decode_base64(utils::remove_newlines(child_element->ToText()->Value())));<br> | ~~~~~~~^<br>rpc/xmlrpc_tinyxml2.cc:129:56: error: no member named 'remove_newlines' in namespace 'utils'<br> 129 | return torrent::Object(utils::decode_base64(utils::remove_newlines(child_element->ToText()->Value())));<br> | ~~~~~~~^<br>--- input/manager.o ---<br>3 warnings generated.<br>--- display/window.o ---<br>depbase=`echo display/window.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; c++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -DNDEBUG -Wall -pthread -I/usr/local/include -I/usr/local/include -MT display/window.o -MD -MP -MF $depbase.Tpo -c -o display/window.o display/window.cc && mv -f $depbase.Tpo $depbase.Po<br>--- rpc/xmlrpc_tinyxml2.o ---<br>1 warning and 2 errors generated.<br>*** [rpc/xmlrpc_tinyxml2.o] Error code 1</div><div>```</div><br><span>-- </span><br><div dir="ltr"><div dir="ltr"><div><span style="color: rgb(136, 136, 136);">Nuno Teixeira</span></div><div><div><span style="color: rgb(136, 136, 136);"> FreeBSD UNIX: <eduardo@FreeBSD.org> Web: <a href="https://freebsd.org/" target="_blank" tabindex="-1">https://FreeBSD.org</a></span></div></div></div></div></div></blockquote><div><br></div><div>the utils/base64.h you are looking for is part of the rtorrent sources, it has nothing to do with include/base64.h</div><div><br></div><div><a href="https://github.com/rakshasa/rtorrent/blob/master/src/utils/base64.h">https://github.com/rakshasa/rtorrent/blob/master/src/utils/base64.h</a></div><div><br></div><div>The problem is to figure out why it is not found, not to change its path.</div><div><br></div><div>Bapt<br></div></body></html>home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e794b549374b282f1b5211f703a86a8682215fde>
