Intel® oneAPI HPC Toolkit
Get help with building, analyzing, optimizing, and scaling high-performance computing (HPC) applications.
Announcements
Welcome to the Intel Community. If you get an answer you like, please mark it as an Accepted Solution to help others. Thank you!
For the latest information on Intel’s response to the Log4j/Log4Shell vulnerability, please see Intel-SA-00646
1844 Discussions

using oneAPI classic C/C++ with Visual Studio 2019 express

Glenn_F_
Beginner
352 Views

I'm looking for documentation or help with building a C/C++ application using the classic oneAPI C/C++ compiler and Visual Studio 2019 express.  I am able to build with a makefile from the command line.  But when I build with Visual studio I get a lot of unresolved external references such as to common C library routines such as strcat, fopen, strcmp, sin, cos and to other symbols such as __chkstk, __stdio_common_vfprintf .  I specified this directory

C:\Program Files (x86)\Intel\oneAPI\compiler\latest\windows\lib on the linker properties page but must be missing something .  

 

0 Kudos
5 Replies
Glenn_F_
Beginner
336 Views

found an example using visual studio and the oneAPI c++ compiler and was able to use options from example in my project.  one other issue  is it looks like the oneAPI c/c++ compiler expects Fortran routine symbols to be in all CAPS.  

GouthamK_Intel
Moderator
309 Views

Hi Glenn,

Thanks for reaching out to us!

>>"found an example using visual studio and the oneAPI c++ compiler and was able to use options from example in my project"

Glad to know that your originally posted issue is resolved, Could you please let us know whether we can close this thread from our end?

>>"one other issue is it looks like the oneAPI c/c++ compiler expects Fortran routine symbols to be in all CAPS."

As this forum is intended to support issues related to HPC Toolkit. For any issues related to FORTRAN, please kindly raise a new thread in the Fortran compiler forum.

Link to FORTRAN compiler forum: https://community.intel.com/t5/Intel-Fortran-Compiler/bd-p/fortran-compiler

Have a Good day.


Thanks & Regards

Goutham


GouthamK_Intel
Moderator
283 Views

Hi,

Could you please confirm if your issue is resolved and whether we can close this thread from our end.


Regards

Goutham


Glenn_F_
Beginner
271 Views

I was able to resolve this problem.  you can close this issue

GouthamK_Intel
Moderator
217 Views

Hi, 

Thanks for the confirmation!

As this issue has been resolved, we will no longer respond to this thread. 

If you require any additional assistance from Intel, please start a new thread. 

Any further interaction in this thread will be considered community only. 

Have a Good day.


Thanks & Regards

Goutham


Reply