[nutyx-support] Can't compile C++ code with g++

[ Thread Index | Date Index | More nutyx.org/nutyx-support Archives ]


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.


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/