[nutyx-support] Can't compile C++ code with g++ |
[ Thread Index |
Date Index
| More nutyx.org/nutyx-support Archives
]
- To: nutyx-support@xxxxxxxxx
- Subject: [nutyx-support] Can't compile C++ code with g++
- From: hung.nguyengia@xxxxxxxxxxxx
- Date: Mon, 2 Aug 2021 11:25:51 +0200 (CEST)
- Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1627896351; s=s1; d=tutamail.com; h=From:From:To:To:Subject:Subject:Content-Description:Content-ID:Content-Type:Content-Type:Content-Transfer-Encoding:Cc:Date:Date:In-Reply-To:MIME-Version:MIME-Version:Message-ID:Message-ID:Reply-To:References:Sender; bh=Oe4qex1XfFBBqVsiKYv6G+pP7obqhlmAuB0YsRJo+RU=; b=nIzxkSNGVNAuCKxFJSGUupFxugI5KYowTBSTKKlMY1GJw/q/CtGbVhmhgYNA2SB+ 0IKocYh4xX7F0j9nhvFVy8+ShMX/ABvy4Ci7shLetM6YdYHu4koR78epTNr1WfwreEH KW0plcZ10KEuDToOPexXY1qRBp1nSyRZ8l3oCKRfoPP62QmHGKZAogh4z4fuh3cXkwd c4kJSyOtFotGhaJuCIgL4bvoKn0OlapXDZ0s2dWcBrLcfPOxGCKyqh4VlGFcw99uiF3 t1dsxYvqbh8X7qTovkB4NK67tm+0m6OGBDuzAVr3D2NdwHagPE0D4qFuEGZY+csjobc W8B7VIRwew==
g++ installed by cards install gcc.devel
This is the error printed on the terminal:
In file included from /usr/include/c++/11.1.0/x86_64-pc-linux-gnu/bits/c++config.h:571,
from /usr/include/c++/11.1.0/iostream:38,
from test.cpp:1:
/usr/include/c++/11.1.0/x86_64-pc-linux-gnu/bits/os_defines.h:39:10: fatal error: features.h: No such file or directory
39 | #include <features.h>
| ^~~~~~~~~~~~
compilation terminated.
--
Sent with Tutanota, the secure & ad-free mailbox.