Intel® C++ Compiler
Support and discussions for creating C++ code that runs on platforms based on Intel® processors.
Announcements
The Intel sign-in experience is changing in February to support enhanced security controls. If you sign in, click here for more information.

Intel C++ compiler vs Vcpkg

Eichenherz
Beginner
1,608 Views

Hello !
I've tried using the Intel C++ in a Win10 Visual Studio (x64) environment. It works fine until I switch on the "Use static libraries" flag in Properties/Vcpkg. This gives me: error MSB6006 "xilink.exe" exited with code -1073741819.
 
Thank you !
PS: if you need more info/logs/print screens , please do tell what should I send 

0 Kudos
13 Replies
PrasanthD_intel
Moderator
1,595 Views

Hi Liviu,


We have tested your scenario by installing the package manager vcpkg and setting the "Use static libraries" flag to "Yes". But we haven't got any errors.

Could you please provide the versions of InteL Compiler, Visual Studio and vcpkg that you are using.

If possible provide us with a reproducible and any additional settings you have made.

Also, post the debug info by setting the verbosity level to Diagnostic. You can do that in Tools -> Options -> Projects and Solutions -> Build and Run and there change output and log file verbosity.


Regards

Prasanth


Eichenherz
Beginner
1,591 Views

Hello ! Thanks for taking interest !
Microsoft Visual Studio Community 2019 Version 16.7.0
VisualStudio.16.Release/16.7.0+30330.147

Intel® C++ Compiler Package ID: w_comp_lib_2020.2.254
Intel® C++ Compiler – extension version 19.1.0.16, Package ID: w_comp_lib_2020.2.254, Intel® Performance Libraries Package ID: w_comp_lib_2020.2.254
Intel® Performance Libraries – extension version 19.1.0.16, Package ID: w_comp_lib_2020.2.254, 

Vcpkg package management program version 2020.06.15-nohash
I've attached the simple ConsoleApp template with Intel Compiler settings and stuff. Also the "Diagnostic" log of both Debug(431 kb) and Release (423 kb)

I hope the info I provided it's useful. If not let me know.
Regards !

Viet_H_Intel
Moderator
1,560 Views

Would you still see the problem if you downgrade to a bit older VS version (e.g. 16.6.0 Release)?


Eichenherz
Beginner
1,540 Views

I'd assume it would work since I read some posts on the Intel community saying that VS versions released after Icc might be troublesome. But unfortunately I can't try because MS doesn't supply older versions for VS2019 community.
Thanks !

Viet_H_Intel
Moderator
1,496 Views

I would suggest to use VS which released before our compiler built date. Because we were able to integrate/tested our compiler for those versions, but wont be able to do so with the ones released after we had released our compiler.


Thanks,


Eichenherz
Beginner
1,491 Views

Ok, I will try do so. Or wait for the next version of Icc in case I fail. Thanks !

 

 

Eichenherz
Beginner
1,397 Views

Sorry, for the late reply.
I managed to install VS2017, and integrate ICC, but I got the same error: xlink.exe exited with some code
( unfortunately, I can't reproduce it, but it's the same error that I got with VS2019 ).
Also something weird happened, ICC would complain about__declspec(no_init_all) when I included Windows.h ( even with all that WIN_LEAN_AND_MEAN ).
Thanks in advance !

Viet_H_Intel
Moderator
1,373 Views

What version of VS2017 you installed? Was it released prior to the compiler built date?

Thanks,


Eichenherz
Beginner
1,368 Views

Version 15.9 from here : https://visualstudio.microsoft.com/vs/older-downloads/
Apparently it was released after ICC ( I'm aware of the prior to ICC versioning ). Couldn't find any previous versions of VS2019 or VS2017. 

Viet_H_Intel
Moderator
1,361 Views

I would suggest to wait for the next compiler release then.

Thanks,


Viet_H_Intel
Moderator
1,359 Views

or if you have VS Subscription Account, then I think you can download the older versions.


Eichenherz
Beginner
1,317 Views

I do not have any VS subscriptions. 
Hope it won't take long for the next version of ICC to come out.
We can declare this thread closed. 
Thanks for all the help. 

Viet_H_Intel
Moderator
934 Views

This issue has been resolved and we will no longer respond to this thread. If you require additional assistance from Intel, please start a new thread. Any further interaction in this thread will be considered community only.


Thanks,


Reply