Quantcast
Channel: Intel® Software - Intel® C++ Compiler
Viewing all articles
Browse latest Browse all 1175

Eclipse C++ Makefile Project icpc Command Not Found

$
0
0

Does anyone know how to get the Eclipse C++ (2019-05 on CentOS 7) console to recognize the icpc command for Makefile Projects? 

I recently downloaded Intel Parallel Studio XE 2019 update 5 from [1] and completed an "offline" installation following section 3.2 of the Intel Parallel Studio XE 2019 Update 4 Installation Guide for Linux OS [2] using a trial license. I then followed the tutorial in [3] to integrate the Intel compiler into Eclipse. I was then able to create a "Hello World" C++ Project through the Eclipse New Project Wizard and it compiled as expected. Unfortunately, when I changed my compiler from "g++" to "icpc" in an existing makefile project (I typically work with makefile projects), I received the following error in the Eclipse console:

"make: icpc: Command not found".

I also realized I couldn't use make from a bash terminal unless I used the compilervars.sh script as explained in [4]. Even after using the compilervars.sh script, I was still unable to use Eclipse to build the project; which I think is expected since the script seems to set the environment variable only for the bash terminal it is used in.

Has anyone had success using Makefile Projects in Eclipse with the Intel C++ Compiler or know how to get the icpc command recognized globally on CentOS 7?

 

References:

  1. https://software.seek.intel.com/ps-l
  2. https://software.intel.com/en-us/download/parallel-studio-xe-2019-instal...
  3. https://software.intel.com/en-us/get-started-with-cpp-compiler-19.0-for-...
  4. https://software.intel.com/en-us/articles/setting-up-the-build-environme...

TCE Open Date: 

Thursday, December 5, 2019 - 13:13

Viewing all articles
Browse latest Browse all 1175

Trending Articles