Software Archive
Read-only legacy content
Comunicados
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.

building a DLL

David_DiLaura
Principiante
422 Visualizações
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
0 Kudos
1 Responder
Steven_L_Intel1
Funcionário
422 Visualizações
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
Responder