Problems with Intel Compiler!


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!
Who is Participating?
CetusMODConnect With a Mentor Commented:
PAQed with points refunded (500)

Community Support Moderator
LenWinSonSoftAuthor Commented:
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"
LenWinSonSoftAuthor Commented:
But that also fails with the same mistake:

icl "C:\test\RandomTest.cpp"
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

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.
I'd also zap the pre-compiled header C:/test/Debug/RandomTest.pch in case it was left from a Visual C compilation.
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 :)
LenWinSonSoftAuthor Commented:
>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
LenWinSonSoftAuthor Commented:
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...

icl /c "C:/test/RandomTest.cpp"
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.
LenWinSonSoftAuthor Commented:
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??
LenWinSonSoftAuthor Commented:
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!!!
LenWinSonSoftAuthor Commented:
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?!
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.