Intel® C++ Compiler
Support and discussions for creating C++ code that runs on platforms based on Intel® processors.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.
7677 Discussions

Unable to install c++ eclipse extension 2015

Krátký__Michal
New Contributor I
118 Views

Hello,

I am trying to install intel C++ compiler 15 plugin into eclipse. I followed instalation instruction in https://software.intel.com/sites/default/files/managed/6a/3f/Release_Notes_C_2015_L_EN_initial_product.pdf.

In fact in past I already installed same plugin on same system from composer 2013 without problems. I run compilervars script in console and then run eclipse with vm set to jdk 1.8 I am able to add local eclipse repository for composer xe 2015. When packages loads the first strange thing is the documentutation package is in chinese (at least I think it is chinese).

icc1.png

After successfull instalation eclipse restarts but there is no "intel" menu as in 2013 version. Moreover in help->help content there is no help from intel. I think instalation was completed because I see installed packages and intel c++ 15 resources link

icc2.png

Curent screenshots are from latest eclipse kepler with CDT 8.3. I Also tried CDT 8.2 with Kepler, CDT 8.1 with juno, CDT 8.5 with luna. Also tried jdk 1.7 and jdk 1.8, jdk 1.6 for juno. All configurations resulted in same error when I tried to create new C++ project.   (see output from console)

 

~/Downloads> source /data/development/intel/bin/compilervars.sh intel64
~/Downloads> export LANG=en_US
~/Downloads> ./eclipse/eclipse -vm jdk1.7.0_71/bin/java
java.lang.Exception: Exception in client
    at com.intel.compiler.cdt.core.IntelProductProviderManager$ExtensionSafeExecuter.handleException(IntelProductProviderManager.java:51)
    at org.eclipse.core.runtime.SafeRunner.handleException(SafeRunner.java:75)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:44)
    at com.intel.compiler.cdt.core.IntelProductProviderManager.getIntelProductsSafe(IntelProductProviderManager.java:62)
    at com.intel.compiler.cdt.core.IntelProductProviderManager.getIntelProducts(IntelProductProviderManager.java:33)
    at com.intel.compiler.cdt.core.IntelProductManager.getInstalledProducts(IntelProductManager.java:63)
    at com.intel.compiler.cdt.core.IntelProductManager.getInstalledProducts(IntelProductManager.java:18)
    at com.intel.compiler.cdt.managedbuilder.core.IntelToolchainUtils.getAvailableCompilers(IntelToolchainUtils.java:29)
    at com.intel.compiler.cdt.managedbuilder.composerxe.ComposerXEToolChainManager.isSupported(ComposerXEToolChainManager.java:24)
    at org.eclipse.cdt.managedbuilder.internal.core.ToolChain.isSupported(ToolChain.java:1742)
    at org.eclipse.cdt.managedbuilder.ui.wizards.AbstractCWizard.isValid(AbstractCWizard.java:56)
    at org.eclipse.cdt.managedbuilder.ui.wizards.ManagedBuildWizard.createItems(ManagedBuildWizard.java:60)
    at org.eclipse.cdt.ui.wizards.CDTMainWizardPage.updateData(CDTMainWizardPage.java:291)
    at org.eclipse.cdt.ui.wizards.CDTMainWizardPage.createControl(CDTMainWizardPage.java:89)
    at org.eclipse.jface.wizard.Wizard.createPageControls(Wizard.java:174)
    at org.eclipse.jface.wizard.WizardDialog.createPageControls(WizardDialog.java:736)
    at org.eclipse.jface.wizard.WizardDialog.createContents(WizardDialog.java:608)
    at org.eclipse.jface.window.Window.create(Window.java:432)
    at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1104)
    at org.eclipse.ui.internal.actions.NewWizardShortcutAction.run(NewWizardShortcutAction.java:122)
    at org.eclipse.jface.action.Action.runWithEvent(Action.java:499)
    at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
    at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
    at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1392)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3742)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3363)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1113)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:997)
    at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:140)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:611)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:567)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:354)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1426)
Caused by: java.lang.NullPointerException
    at com.intel.compiler.cdt.linux.LinuxCompiler.getBinArchDir(LinuxCompiler.java:42)
    at com.intel.compiler.cdt.linux.LinuxCompiler.updateData(LinuxCompiler.java:91)
    at com.intel.compiler.cdt.linux.CompilerEntityCache.invalidate(CompilerEntityCache.java:71)
    at com.intel.compiler.cdt.linux.CompilerEntityCache.getCachedEntities(CompilerEntityCache.java:109)
    at com.intel.compiler.cdt.linux.CompilerManager.getCompilers(CompilerManager.java:27)
    at com.intel.compiler.cdt.managedbuilder.composerxe.XEProductProvider.getInstalledProducts(XEProductProvider.java:26)
    at com.intel.compiler.cdt.core.IntelProductProviderManager$1.run(IntelProductProviderManager.java:59)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    ... 47 more

I do not know what I am doing wrong. Plugin from composer xe 2013 is working correctly. Composer xe 2015 is installed in latest version. 

Thank you for advice,

Pavel

0 Kudos
0 Replies
Reply