Skip site navigation (1)Skip section navigation (2)
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>
References:  <CAFDf7UJ3uc0jUasWwOUK1cQkWV65Za9uR=z6kcPCaD36QwcX1A@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--84f1a892-aa2a-4cd3-912f-c15655f5c6d8-1
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable

27 d=C3=A9cembre 2024 =C3=A0 13:13 "Nuno Teixeira" <eduardo@freebsd.org m=
ailto:eduardo@freebsd.org?to=3D%22Nuno%20Teixeira%22%20%3Ceduardo%40freeb=
sd.org%3E > a =C3=A9crit:


>=20
>=20Hello,
>=20
>=20Looking for help to figure out a base64.h and tinyxml2:
> https://github.com/rakshasa/rtorrent/issues/1353
>=20
>=20Any help is welcome, thanks
>=20
>=20```
> --- rpc/xmlrpc_tinyxml2.o ---
> rpc/xmlrpc_tinyxml2.cc:129:35: error: no member named 'decode_base64' i=
n namespace 'utils'
> =C2=A0 129 | =C2=A0 =C2=A0 return torrent::Object(utils::decode_base64(=
utils::remove_newlines(child_element->ToText()->Value())));
> =C2=A0 =C2=A0 =C2=A0 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0~~~~~~~^
> rpc/xmlrpc_tinyxml2.cc:129:56: error: no member named 'remove_newlines'=
 in namespace 'utils'
> =C2=A0 129 | =C2=A0 =C2=A0 return torrent::Object(utils::decode_base64(=
utils::remove_newlines(child_element->ToText()->Value())));
> =C2=A0 =C2=A0 =C2=A0 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ~~~~~~~^
> --- input/manager.o ---
> 3 warnings generated.
> --- display/window.o ---
> depbase=3D`echo display/window.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; c=
++ -std=3Dc++14 -DHAVE_CONFIG_H -I. -I.. =C2=A0 -I. -I.. -isystem /usr/lo=
cal/include =C2=A0-O2 -pipe -fstack-protector-strong -isystem /usr/local/=
include -fno-strict-aliasing =C2=A0-isystem /usr/local/include =C2=A0-DND=
EBUG -Wall -pthread =C2=A0-I/usr/local/include -I/usr/local/include -MT d=
isplay/window.o -MD -MP -MF $depbase.Tpo -c -o display/window.o display/w=
indow.cc && mv -f $depbase.Tpo $depbase.Po
> --- rpc/xmlrpc_tinyxml2.o ---
> 1 warning and 2 errors generated.
> *** [rpc/xmlrpc_tinyxml2.o] Error code 1
> ```
> --=20
>=20
> Nuno Teixeira
> FreeBSD UNIX:=C2=A0 <eduardo@FreeBSD.org>=C2=A0 =C2=A0Web:=C2=A0 https:=
//FreeBSD.org https://freebsd.org/
>=20
the=20utils/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
--84f1a892-aa2a-4cd3-912f-c15655f5c6d8-1
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html><html><head><meta http-equiv=3D"Content-Type" content=3D"t=
ext/html; charset=3Dutf-8"></head><body><div><br><br></div><p>27 d=C3=A9c=
embre 2024 =C3=A0 13:13 "Nuno Teixeira" &lt;<a href=3D"mailto:eduardo@fre=
ebsd.org?to=3D%22Nuno%20Teixeira%22%20%3Ceduardo%40freebsd.org%3E" target=
=3D"_blank" tabindex=3D"-1">eduardo@freebsd.org</a>&gt; a =C3=A9crit:</p>=
<blockquote><div dir=3D"ltr"><div>Hello,</div><div><br></div><div>Looking=
 for help to figure out a base64.h and tinyxml2:</div><div><a href=3D"htt=
ps://github.com/rakshasa/rtorrent/issues/1353" target=3D"_blank" tabindex=
=3D"-1">https://github.com/rakshasa/rtorrent/issues/1353</a></div><div><b=
r></div><div>Any help is welcome, thanks</div><div><br></div><div>```</di=
v><div>--- rpc/xmlrpc_tinyxml2.o ---<br>rpc/xmlrpc_tinyxml2.cc:129:35: er=
ror: no member named 'decode_base64' in namespace 'utils'<br>=C2=A0 129 |=
 =C2=A0 =C2=A0 return torrent::Object(utils::decode_base64(utils::remove_=
newlines(child_element-&gt;ToText()-&gt;Value())));<br>=C2=A0 =C2=A0 =C2=
=A0 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0~~~~~~~^<br>rpc/xmlrpc_tinyxml2.cc:129:56:=
 error: no member named 'remove_newlines' in namespace 'utils'<br>=C2=A0 =
129 | =C2=A0 =C2=A0 return torrent::Object(utils::decode_base64(utils::re=
move_newlines(child_element-&gt;ToText()-&gt;Value())));<br>=C2=A0 =C2=A0=
 =C2=A0 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ~~~~~~~^<br>--- input/manager.o ---<br>3 =
warnings generated.<br>--- display/window.o ---<br>depbase=3D`echo displa=
y/window.o | sed 's|[^/]*$|.deps/&amp;|;s|\.o$||'`; c++ -std=3Dc++14 -DHA=
VE_CONFIG_H -I. -I.. =C2=A0 -I. -I.. -isystem /usr/local/include =C2=A0-O=
2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-=
aliasing =C2=A0-isystem /usr/local/include =C2=A0-DNDEBUG -Wall -pthread =
=C2=A0-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 &amp;&amp; =
mv -f $depbase.Tpo $depbase.Po<br>--- rpc/xmlrpc_tinyxml2.o ---<br>1 warn=
ing and 2 errors generated.<br>*** [rpc/xmlrpc_tinyxml2.o] Error code 1</=
div><div>```</div><br><span>-- </span><br><div dir=3D"ltr"><div dir=3D"lt=
r"><div><span style=3D"color: rgb(136, 136, 136);">Nuno Teixeira</span></=
div><div><div><span style=3D"color: rgb(136, 136, 136);">
FreeBSD UNIX:=C2=A0 &lt;eduardo@FreeBSD.org&gt;=C2=A0 =C2=A0Web:=C2=A0 <a=
 href=3D"https://freebsd.org/" target=3D"_blank" tabindex=3D"-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 rtorren=
t sources, it has nothing to do with include/base64.h</div><div><br></div=
><div><a href=3D"https://github.com/rakshasa/rtorrent/blob/master/src/uti=
ls/base64.h">https://github.com/rakshasa/rtorrent/blob/master/src/utils/b=
ase64.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>
--84f1a892-aa2a-4cd3-912f-c15655f5c6d8-1--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e794b549374b282f1b5211f703a86a8682215fde>