- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am developing a project that includes a module XYGraph and subroutine XYPlot, which I compile for redistribution to other programmers working in my group. The object files XYGraph.obj and XYPlot.obj are put in a library project, CPPf90.lib. The files XYGraph.mod and CPPf90.dbg.lib (my name for the debug build version of the library) were then given to Fred.
The module XYGraph and subroutine XYPlot both contain calls to Intel Quickwin routines SETLINEWIDTHQQ and GETLINEWIDTHQQ. When Fred attempts to build his project, he gets linker errors
"unresolved external symbol _setlinewidth referenced in function _XYGRAPH_mp_..... and similar with _getlinewidth, these are evidently generated by the module; and similar errors apparently generated by the lib file.
Note that the external symbols referenced in the errors do not include the appended QQ that are used in the original code. Is this normal? What other information is needed to pursue this?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In IFQWIN you have
[fortran] INTERFACE
FUNCTION GETLINEWIDTHQQ()
!DEC$ ATTRIBUTES DEFAULT :: GETLINEWIDTHQQ
INTEGER*4 GETLINEWIDTHQQ
!DEC$ ATTRIBUTES DECORATE,C,ALIAS:"_getlinewidth" :: GETLINEWIDTHQQ
END FUNCTION
END INTERFACE[/fortran]
I am not sure what LIB getlinewidth is in, I do not think it is part of the windows SDK as line width is set using CreatePen, perhaps it is in the clib? Does fred's app include use IFQWIN? I would expect these to be resolved if it did.
Is qwin.lib in the link path?
![](/skins/images/9701FEC4E90D143B667C09F3DB2F340F/responsive_peak/images/icon_anonymous_message.png)
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page