AnswerBun.com

VScode on Ubuntu 18.04 LTS (cpp: error trying to exec 'cc1plus': execvp: No such file or directory)

Ask Ubuntu Asked by Vivek Sharma on October 23, 2020

In kernel of vscode

cpp: error trying to exec ‘cc1plus’: execvp: No such file or directory The terminal process "/bin/bash ‘-c’,
‘/home/viveksharmavs/anaconda3/bin/cpp -g
‘/home/viveksharmavs/Documents/c++ codes/viveksharma.cpp’ -o
‘/home/viveksharmavs/Documents/c++ codes/viveksharma”" failed to
launch (exit code: 1).

in launch.json

    {
        "name": "g++ - Build and debug active file",
        "type": "cppdbg",
        "request": "launch",
        "program": "/home/viveksharmavs/Documents/c++ codes/a.out",
        "processId": "${workspacefolder}",
        "MIMode": "gdb",
        "setupCommands": [
            {
                "description": "Enable pretty-printing for gdb",
                "text": "-enable-pretty-printing",
                "ignoreFailures": true
            }
    {

How can I reset settings if needed, or how can I cure this problem? I want to do some C++ coding stuff, but I’m getting these errors.

Add your own answers!

Related Questions

Handbrake can’t access my video files

2  Asked on February 12, 2021 by roger06

   

Ubuntu on Hyper-V sluggish/slow UI experience

0  Asked on February 12, 2021 by bartek

       

Dell XPS 15 9570 – How to control the fans?

3  Asked on February 12, 2021 by j-ehrling

       

Freedesktop.org Failure

2  Asked on February 11, 2021 by garry-wakely

     

HP Pavillion x2 10.1 detachable

1  Asked on February 11, 2021 by daman-boparai

 

Stuck in emergency mode 20.10

0  Asked on February 11, 2021 by raj-verma

 

How to find /etc/apt/sources.conf file

2  Asked on February 11, 2021

 

Ubuntu 20.04 ImportError: No module named gtk.glade

1  Asked on February 10, 2021 by kyeiv

     

Can’t install software using package manager

0  Asked on February 10, 2021 by rachid-bensaleh

 

(Ubuntu 20.04) Port forwarding for Minecraft server

0  Asked on February 10, 2021 by mason-spies

 

Both Internet and Wifi not working on Ubuntu 20.04

0  Asked on February 10, 2021 by maxclac

   

Bluetooth doesn’t work anymore

0  Asked on February 9, 2021 by gogo94210

     

Multiple Partitions under /home and mount it as /home

0  Asked on February 9, 2021 by sriram-rayadurg

 

Installing Ubuntu on a new computer

1  Asked on February 9, 2021 by wassap124

     

Mouse sensitivity reset after replugging

0  Asked on February 8, 2021 by lehdari

         

Media keys running gnome-session-quit

0  Asked on February 8, 2021 by pineapplefan

     

(gedit:76): Gtk-WARNING

2  Asked on February 8, 2021 by manish-kumar

         

Ask a Question

Get help from others!

© 2022 AnswerBun.com. All rights reserved. Sites we Love: PCI Database, MenuIva, UKBizDB, Menu Kuliner, Sharing RPP