Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Miraboreasu
Beginner
655 Views

Cannot open .lib file when switch to Intel C++ compiler

I used to use Visual C++ compiler in visual studio 2019, it works well.Now I heard that the Intel compiler can automatically parallelize the code, so I want to try it, however, under Intel compiler, there is a building error, namely, a .lib file cannot file. Any suggestion to handle this?

The message is cannot find library CGAL-iw-mt-4.10.2.lib from #pragma comment

But I don't think I code something like ```pragma comment(xxx.lib)```

0 Kudos
3 Replies
ArpitaP_Intel
Moderator
633 Views

Hi,


Thanks for reaching out to us.


Please help us with the compiler and Visual studio versions that are being used. We would need a small reproducer code along with the error screenshot to better understand the query. It would be better if we get the steps followed for building the code too. Also, you can check the below links for reference :

https://software.intel.com/content/www/us/en/develop/articles/automatic-parallelization-with-intel-c...

https://software.intel.com/content/www/us/en/develop/documentation/cpp-compiler-auto-vectorization-t...


Please let us know if the issue persists in command prompt too.


Regards,

Arpita  


ArpitaP_Intel
Moderator
586 Views

Hi,


Please let us know, if you have any updates on the above query.


Regards,

Arpita


Miraboreasu
Beginner
576 Views

I have 2019 visual studio, I am not sure about the compiler version, and this is a huge project, IDK how to make you reproduce it, but can't I simply click using the intel compiler?

Reply