building a DLL

building a DLL

I am trying to build a DLL . . . after creating an appropriate new workspace of type DLL, and using the template for a skeleton DLL (just the multiplication of two constants) I get the following error when I try to link:

Linking...
C:DECFortranLIBmsvcrtd.lib : warning LNK4003: invalid library format; library ignored
Creating library Debug/testing.lib and object Debug/testing.exp
C:DECFortranLIBmsvcrtd.lib : warning LNK4003: invalid library format; library ignored
LINK : error LNK2001: unresolved external symbol __DllMainCRTStartup@12
Debug/testing.dll : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.

I have no idea . . . any assistance would be appreciated!

David

2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

That's an odd location for msvcrtd.lib - how did it get there? It should be in a folder whose path ends with VC98LIB. It could be that the library is corrupt or something else is odd on your system. The corrupt library is causing the other errors.

Steve

Steve - Intel Developer Support

Leave a Comment

Please sign in to add a comment. Not a member? Join today