Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.
7956 Discussions

Integration of Intel Compiler to Eclipse

techrepublic
Beginner
335 Views

I Have Purchased Intel C++ compiler suite for Linux version 11.1.064,I have a problem while using intel compiler in Eclipse Galileo version 3.5.0.

I am using Fedora 12 x86_64,installation for compiler was succcess also update for "c/c++ CDT" was applied within Eclipse.

I also modified my ".bashrc" as "root" by following lines:-

___________________________________________

# .bashrc

# User specific aliases and functions

alias rm='rm -i'
alias cp='cp -i'
alias mv='mv -i'

# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
#intel
source /opt/intel/Compiler/11.1/064/bin/iccvars.sh intel64
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/intel/Compiler/11.1/064/lib/intel64
export PATH=$PATH:/opt/intel/Compiler/11.1/064/bin/intel64
export LC_ALL=C

-----------------------------------------------------------------

Also imported support of Eclipse as:-

Now ,when i create a "test" helloworld project,after a build i got following errors:-

___________________________________________

Invoking: Intel Intel 64 C++ Compiler
icpc -MMD -MP -MF"src/test.d" -MT"src/test.d" -c -o "src/test.o" "../src/test.cpp"
/opt/intel/Compiler/11.1/064/bin/intel64/mcpcom: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory
compilation aborted for ../src/test.cpp (code 127)
make: *** [src/test.o] Error 127
make: Target `all' not remade because of errors.
-----------------------------------------------------------------

Where complete GCC has been installed with G++ support compatible to fedora 12,

I haven't understood where problem is occuring,please resolve.

Thanx.

 

0 Kudos
1 Reply
William_H_Intel3
Employee
335 Views

I would guess you do not have libstdc++.so.5 on your system. The release notes indicate this comes from:

Linux component compat-libstdc++ providing libstdc++.so.5

I am not familiar with Fedora 12 and it is not one of our supported distro's, but this is where I would suggest to start looking. I suspect it is not related to Eclipse.

Hope this helps,

Bill

0 Kudos
Reply