Intel® C++ Compiler

Problem:A license for CCompL could not be obtained

I get the following message when I compile my c++ project:

Error: A license for CCompL could not be obtained.

Your license has expired.

License file(s) used were (in this order):
1. Trusted Storage

2./opt/intel/composer_xe_2013.5.192/licenses

3. /opt/intel/licenses/intel_TBE.lic

4. /home/liudi/intel/licenses

5. /opt/intel/composer_xe_2013.5.192/Licenses

6. /Users/Shared/Library/Application Support/Intel/Licenses

7./opt/intel/composer_xe_2013.5.192/bin/intel64/*/lic

Templates/static(?) compilation issues

Hello! I'm trying to build Unreal Engine with Intel Compiler 17.0 but I'm getting quite interesting error. ICC complains about 'incomplete type' in multiple places. These places boil down to the following code snippet:

template <class Base>
class B : public Base
{};
 
class A
{
      static B<A> StaticMember; // D'OH! ICC:  incomplete type is not allowed
};

VC++, gcc and clang compile it while ICC complains about an incomplete type. Why is this the case? What is the reason behind ICC behaviour?

In matlab; Error using mex LINK : fatal error LNK1104: cannot open file 'ifconsol.lib'

In Matlab2015a, When i use "mex -output" command with some parameter, i get this error:

Building with 'Microsoft Visual C++ 2013 Professional'. Error using mex LINK : fatal error LNK1104: cannot open file 'ifconsol.lib'

I khow that this error is related with "Intel Composer XE 2013", but i dont khow how can i solve it. there is some 'ifconsol.lib' in installed "Intel Composer XE 2013" folders in program files. I use "Intel Composer XE 2013" on Windows 10 64bit.

catastrophic error: cannot open source file "iostream"

Hello All,

I have installed Intel Parallel Studio XE v18.0.1 on my mac and was trying to run a hello_world.cpp program. But I got into the following error.

hello.cpp(1): catastrophic error: cannot open source file "iostream"
  #include<iostream>
                    ^
compilation aborted hello.cpp (code 4)

Then I checked the version of icc and icpc from command line and found both of them are version 18.0.1. Any idea how to solve this issue?

Thanks in advance,

Fazlay

X64 inline assembley - how to read physical memory address (Windows)

Dear all,

Need to help to read the physical memory address of a Windows t process (Notepad -64bit process).

For example, I the Windows API , I can read the  Heap  memory of a process  - Block Size, Block Address. It is Virtual address of heap.

 https://msdn.microsoft.com/en-us/library/windows/desktop/dd299432(v=vs.85).aspx

Error with STDINT.h - Fatal Error C1083 (Visual Studio 2017 Update 4, Intel Compiler 18 Update 1)

Hello,

I have a project defined to be compiled with Intel Compiler.
When trying to compile it I get the following error:

C:\Program Files (x86)\IntelSWTools\compilers_and_libraries_2018\windows\compiler\include\stdint.h(39): fatal error C1083: Cannot open include file: '../../vc/include/stdint.h': No such file or directory

I'm attaching a ZIP file with the project (Simple Photoshop Plug In from PS SDK).
This is a Visual Studio 2017 project which is in the path:

internal error: assertion failed: macro_invocation: unknown special predefined macro

I encounter a failure at Version 17.0.4.210 Build 20170411​
it can be reproduced with these codes( test.c):

int main(int argc,char** argv)
{
#ifdef __DEC32_MAX__
    float i2 = __DEC32_MAX__;
#endif
    return 0;
}​

 

compile the souce with: "icl test.c " or "icl /E test.c", get the error message:

icpc 18.0.1 for Mac breaks cmath

I just upgraded to Intel C++ version 18.0.1 and discovered that cmath is apparently broken. The simple program

#include <cmath>
int main(int argc,char **argv)
{
    double x = 0.0/0.0;
    if (std::isnan(x)) return 0;
    else return 1;

}

will not compile (it would for previous versions of Intel and works fine for GNU). The error message I get is

icpc isnan.cc

isnan.cc(5): error: expected an identifier
      if (std::isnan(x)) return 0;

Subscribe to Intel® C++ Compiler