Problem with compilation on debian 10
- MarkoPolo
- Offline
- Elite Member
-
Less
More
- Posts: 269
- Thank you received: 72
10 Sep 2024 20:41 #309863
by MarkoPolo
Problem with compilation on debian 10 was created by MarkoPolo
For about 2-3 months there has been a problem
with compiling linuxcnc on debian 10
there is such an error:
cp ../scripts/rtapi.conf ../tests/uspace/spawnv-root/rtapi.conf
Compiling libnml/inifile/inifile.cc
Compiling libnml/inifile/inivar.cc
Compiling libnml/posemath/_posemath.c
Compiling libnml/posemath/posemath.cc
c++: error: unrecognized command line option ‘-std=gnu++20’; did you mean ‘-std=gnu++2a’?
c++: error: unrecognized command line option ‘-std=gnu++20’; did you mean ‘-std=gnu++2a’?
c++: error: unrecognized command line option ‘-std=gnu++20’; did you mean ‘-std=gnu++2a’?
I suspect that I need a newer compiler, because on debian 12 the compilation works normally.
Can this problem be solved in some simple way?
with compiling linuxcnc on debian 10
there is such an error:
cp ../scripts/rtapi.conf ../tests/uspace/spawnv-root/rtapi.conf
Compiling libnml/inifile/inifile.cc
Compiling libnml/inifile/inivar.cc
Compiling libnml/posemath/_posemath.c
Compiling libnml/posemath/posemath.cc
c++: error: unrecognized command line option ‘-std=gnu++20’; did you mean ‘-std=gnu++2a’?
c++: error: unrecognized command line option ‘-std=gnu++20’; did you mean ‘-std=gnu++2a’?
c++: error: unrecognized command line option ‘-std=gnu++20’; did you mean ‘-std=gnu++2a’?
I suspect that I need a newer compiler, because on debian 12 the compilation works normally.
Can this problem be solved in some simple way?
Please Log in or Create an account to join the conversation.
- andypugh
-
- Offline
- Moderator
-
Less
More
- Posts: 23213
- Thank you received: 4895
12 Sep 2024 11:41 #309991
by andypugh
Replied by andypugh on topic Problem with compilation on debian 10
Does compilation of 2.9 work?
Master only currently supports Debian 11+ / Ubuntu 20.04 +
(Note that LTS support of Buster ended in June)
The OS versions supported by each LinuxCNC release are shown here.
wiki.linuxcnc.org/cgi-bin/wiki.pl?MinimumSoftwareVersions
Master only currently supports Debian 11+ / Ubuntu 20.04 +
(Note that LTS support of Buster ended in June)
The OS versions supported by each LinuxCNC release are shown here.
wiki.linuxcnc.org/cgi-bin/wiki.pl?MinimumSoftwareVersions
Please Log in or Create an account to join the conversation.
- MarkoPolo
- Offline
- Elite Member
-
Less
More
- Posts: 269
- Thank you received: 72
12 Sep 2024 18:49 #310023
by MarkoPolo
Replied by MarkoPolo on topic Problem with compilation on debian 10
Thanks for the info. I haven't tried 2.9, only master.
Please Log in or Create an account to join the conversation.
Time to create page: 0.047 seconds