Hallo zusammen, ich habe ein Linux Mint laufen und das VsCode installiert. Das Mint soll die benötigten Tools für C++ vorinstalliert haben. (?) Ich habe mit $ 'xxx' --version gesucht für >gcc >gdb >make und es wurde jeweils etwas gefunden (siehe unten an). Dann müsste ich doch die Extensions nicht mehr installieren, sondern vscode "sagen, wo es die Tools findet" ? Habe mit selber suchen und google nicht herausgefunden wie das geht. >>vielen Dank :> EveeBork@EveeBork-VirtualBox:~/projects/helloworld$ gcc --version gcc (Ubuntu 11.2.0-19ubuntu1) 11.2.0 Copyright (C) 2021 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. EveeBork@EveeBork-VirtualBox:~/projects/helloworld$ gdb --version GNU gdb (Ubuntu 12.0.90-0ubuntu1) 12.0.90 Copyright (C) 2022 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. EveeBork@EveeBork-VirtualBox:~/projects/helloworld$ make --version GNU Make 4.3 Built for x86_64-pc-linux-gnu Copyright (C) 1988-2020 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
Der Compiler usw. sollte sich an Standardpfaden befinden, sprich automatisch erkannt werden von deiner Buildumgebung. So ist vscode jedoch nur ein dummer Texteditor, dir fehlen vermutlich die C Erweiterungen und eine passende Konfiguration deines Projektes. Das hat jedoch nicht wirklich etwas mit den installierten Paketen auf deinem System zu tun.
Schon mal versucht build-essential zu installieren? sudo apt install build-essential Grüße, Martin
Bitte melde dich an um einen Beitrag zu schreiben. Anmeldung ist kostenlos und dauert nur eine Minute.
Bestehender Account
Schon ein Account bei Google/GoogleMail? Keine Anmeldung erforderlich!
Mit Google-Account einloggen
Mit Google-Account einloggen
Noch kein Account? Hier anmelden.