Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
29285 Discussions

Accessing library in Visual Studio .NET 2003

keithweber
Beginner
451 Views

I am trying to access a library and keep getting the following error:

error LNK2019: unresolved external symbol _myfunction@12 referenced in function _MAIN_

I have the "Additional Library Directories" under the Linker -> General tab of the project set to the directory of my library and the "Additional Dependencies" under the Linker -> Input tab of the project set to the name of the library. Is there anything that I am missing?

Thanks in advance for any help!

0 Kudos
1 Reply
Steven_L_Intel1
Employee
451 Views

You are either calling from C/C++ with __stdcall specified, or you have Fortran options that apply the STDCALL calling mechanism to this routine. Is that correct for the routine and is the case of the name (lowercase) correct?

What is the structure of your application? All Fortran? Mix? What type of project (Console?) What are the compiler options shown on the Fortran Command :Line property page?

0 Kudos
Reply