Intel® oneAPI DPC++/C++ Compiler
Talk to fellow users of Intel® oneAPI DPC++/C++ Compiler and companion tools like Intel® oneAPI DPC++ Library, Intel® DPC++ Compatibility Tool, and Intel® Distribution for GDB*

Intel oneAPI/HPC toolkit installation fails

pbart
Beginner
340 Views

I am trying to install oneAPI/HPC toolkit on Ubuntu 24.04 (WSL2), however when I run the installer I get the following error message:

```

Launching the installer...

G++ package is not installed

Intel® oneAPI DPC++/C++ Compiler requires G++. It can be installed with

sudo apt-get install g++ on Ubuntu / Debian

sudo zypper install gcc-c++ on SUSE

sudo dnf install gcc-c++ on CentOS / RHEL / Fedora

```

g++ is available on $PATH, libstc++ is on $LIBRARY_PATH and the c++ includes can be found on $CPLUS_INCLUDE_PATH - however they are not installed in the standard locations, e.g. /usr/bin/g++

Is it possible to specify the g++ installation to use or otherwise solve this issue or do I need to install g++ in a standard location following the suggestions above?

0 Kudos
0 Replies
Reply