Solved

Problems with Intel Compiler!

Posted on 2006-07-08
14
424 Views
Last Modified: 2012-06-27
Hello,

i am tring to compile my project (built with Visual Studio 2005) with the Intel Compiler 9.1!

I am executing "icl.exe" on the command line of windows. But it does not matter what file i am typing there i always get the message "icl: internal error: Assertion failed ("!

What is that???

Even if I use all the Intel Compiler options set by Visual Studio i get the same error!

Thanks for advance...

PS: I use the Intel compiler so that I can produce files for Linux, windows and MacOS and also on all Intel processors!
0
Comment
Question by:LenWinSonSoft
  • 7
  • 2
  • 2
  • +2
14 Comments
 

Author Comment

by:LenWinSonSoft
ID: 17064184
PS: Thats my command line:

icl /c /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_UNICODE" /D "UNICODE" /Gm /EHsc /RTC1 /RTCc /MDd /GS /Gy /GR /Fp"C:/test/Debug/RandomTest.pch" /Fo"C:/test/Debug/" /W3 /nologo /Wp64 /ZI /Gd "C:/test/RandomTest.cpp" /link kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /OUT:"C:/test/Debug/RandomTest.exe" /INCREMENTAL /NOLOGO /TLBID:1 /DEBUG /PDB:"C:/test/Debug/RandomTest.pdb" /SUBSYSTEM:CONSOLE /IMPLIB:"C:/test/Debug/RandomTest.lib" /MACHINE:X86 /MANIFEST /MANIFESTFILE:"C:\test\Debug\RandomTest.exe.intermediate.manifest"
0
 

Author Comment

by:LenWinSonSoft
ID: 17064185
But that also fails with the same mistake:

icl "C:\test\RandomTest.cpp"
0
 
LVL 48

Expert Comment

by:AlexFM
ID: 17064288
So, what happens in RandomTest.cpp ? Possibly it contains something that causes this error.
Try to comment off different parts of this file to find the place. Maybe this is some #pragma statement or unknown keyword.
0
 
LVL 17

Expert Comment

by:rstaveley
ID: 17064484
I'd also zap the pre-compiled header C:/test/Debug/RandomTest.pch in case it was left from a Visual C compilation.
0
 
LVL 4

Expert Comment

by:e_tadeu
ID: 17064716
Also, try to disable pre-compiled header and incremental too.
What is the rest of the assertion message? Most of the time asserts should only fail on a debug release... I don't believe Intel released a compiler compiled for debug :)
0
 

Author Comment

by:LenWinSonSoft
ID: 17065202
>What is the rest of the assertion message?

There is no rest...

>So, what happens in RandomTest.cpp ?

Nothing... I cleared this file...

Even if there would be something... With Visual Studio there is no mistake shown!

> Also, try to disable pre-compiled header and incremental too.

Ok, I will try this
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

Author Comment

by:LenWinSonSoft
ID: 17065208
It doesn't change anything...

Can you please post me a simple command line that compiles an empty file "RandomTest.cpp" or if you use some content can you also post it here??? Without using precompiled Header and so on...
0
 
LVL 4

Expert Comment

by:e_tadeu
ID: 17065251
Try

icl /c "C:/test/RandomTest.cpp"
0
 
LVL 48

Expert Comment

by:AlexFM
ID: 17065374
So, file RandomTest.cpp  is empty. Does this mean that Intel compiler cannot compile empty file, Because it was created in VC++? Well, now create empty file in the Notepad.
0
 

Author Comment

by:LenWinSonSoft
ID: 17065800
I tried both...

There is always the message "icl: internal error: Assertion failed ("....

That was it... I know errors shouldn't contain many information because hacker can use them to crack the application but please, this is a compiler!!!!!

I also inserted "#include <conio.h>"...


What can I do now??
0
 

Author Comment

by:LenWinSonSoft
ID: 17065804
Now I also tried the compilers for Itanium und IA32EMT64... Both print the same mistakes...

I typed garbage in the file but nothing changed...

I dont understand this!!!
0
 

Author Comment

by:LenWinSonSoft
ID: 17065810
Oh... Such a damn...

I looked in the "icl.cfg"... There were statements to act compatible to  Microsoft Visual Studio 2003... But this is not installed on my machine... I am using 2005...

Thanks for your help...

I dont know what to do with the points now?!
0
 

Accepted Solution

by:
CetusMOD earned 0 total points
ID: 17258163
PAQed with points refunded (500)

CetusMOD
Community Support Moderator
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Often, when implementing a feature, you won't know how certain events should be handled at the point where they occur and you'd rather defer to the user of your function or class. For example, a XML parser will extract a tag from the source code, wh…
IntroductionThis article is the second in a three part article series on the Visual Studio 2008 Debugger.  It provides tips in setting and using breakpoints. If not familiar with this debugger, you can find a basic introduction in the EE article loc…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now