Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29277 Discussions

Difficulty importing previous solution in Studio 2005 / IVF 10.1

zalcjm
Beginner
495 Views
Hi,

I had previously been able to build and use an XLL (Excel Add-In) that involved mixed-language programming with IVF 9. Basically, I had a solution (.sln) containing a C project and a Fortran static library. Everything worked great.

Recently, I got a new hard drive and installed Visual Studio 2005 and IVF 10.1 on it. The Fortran integrations with Studio look fine based on information/diagnostics elsewhere on your site.

I double-clicked the .sln and the conversion appeared to go ok. When I try to build I get the following link error:

Error 73 error LNK2019: unresolved external symbol _COKER_WRAPPER@16 referenced in function "struct _oper * __stdcall RUN_COKER(struct _oper *)" (?RUN_COKER@@YGPAU_oper@@PAU1@@Z) xlpxll.obj

What could be the problem? The Fortran static library uses CVF calling convention, Default Name Case Intepretation, String Length Argument Passing - After Individual String Argument, Append Underscore to External Names - No.
0 Kudos
1 Reply
Steven_L_Intel1
Employee
495 Views

I assume that COKER_WRAPPER is defined in your Fortran project and that it is set as a dependent of the C project. There was a bug in VS2005 that prevented dependent Fortran projects from being linked into a C project. This was fixed by VS2005 SP1, so install that if you haven't already.
0 Kudos
Reply