error LNK2001: unresolved external symbol _fltused

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
I have a code runing well on a 32bit platform, however on 64 bit platform I am getting following errors. Can any one tell me how to overcome these errors.

1>------ Build started: Project: DLL_example, Configuration: Debug x64 ------<br/>
1> <br/>
1> Starting pass 1<br/>
1> Processed /DEFAULTLIB:uuid.lib<br/>
1> Processed /DEFAULTLIB:MSVCRTD<br/>
1> Processed /DEFAULTLIB:OLDNAMES<br/>
1> <br/>
1> Searching libraries<br/>
1> Searching C:Program FilesMicrosoft SDKsWindowsv7.1Libx64kernel32.lib:<br/>
1> Searching C:Program FilesMicrosoft SDKsWindowsv7.1Libx64user32.lib:<br/>
1> Searching C:Program FilesMicrosoft SDKsWindowsv7.1Libx64gdi32.lib:<br/>
1> Searching C:Program FilesMicrosoft SDKsWindowsv7.1Libx64winspool.lib:<br/>
1> Searching C:Program FilesMicrosoft SDKsWindowsv7.1Libx64comdlg32.lib:<br/>
1> Searching C:Program FilesMicrosoft SDKsWindowsv7.1Libx64advapi32.lib:<br/>
1> Searching C:Program FilesMicrosoft SDKsWindowsv7.1Libx64shell32.lib:<br/>
1> Searching C:Program FilesMicrosoft SDKsWindowsv7.1Libx64ole32.lib:<br/>
1> Searching C:Program FilesMicrosoft SDKsWindowsv7.1Libx64oleaut32.lib:<br/>
1> Searching C:Program FilesMicrosoft SDKsWindowsv7.1Libx64uuid.lib:<br/>
1> Searching C:Program FilesMicrosoft SDKsWindowsv7.1Libx64odbc32.lib:<br/>
1> Searching C:Program FilesMicrosoft SDKsWindowsv7.1Libx64odbccp32.lib:<br/>
1> Searching c:Program Files (x86)Microsoft Visual Studio 10.0VClibMSVCRTD.lib:<br/>
1> Searching c:Program Files (x86)Microsoft Visual Studio 10.0VClibOLDNAMES.lib:<br/>
1> <br/>
1> Finished searching libraries<br/>
1> <br/>
1> Finished pass 1<br/>
1> <br/>
1>userdyn.obj : error LNK2019: unresolved external symbol strcpy referenced in function "int __cdecl RegisterFunctions(int,char *,int *)" (?RegisterFunctions@@YAHHPEADPEAH@Z) <br/>
1>userdyn.obj : error LNK2019: unresolved external symbol __imp_sprintf referenced in function "void __cdecl MyCtrl(double,double * *,double const * *,double const * *,char * *,char *,int,int,int)" (?MyCtrl@@YAXNPEAPEANPEAPEBN1PEAPEADPEADHHH@Z)
1>userdyn.obj : error LNK2001: unresolved external symbol _fltused
1>userdyn.obj : error LNK2019: unresolved external symbol fabs referenced in function "void __cdecl ShuntController(double,double * *,double const * *,double const * *,char * *,char *,int,int,int)" (?ShuntController@@YAXNPEAPEANPEAPEBN1PEAPEADPEADHHH@Z)
1>LINK : error LNK2001: unresolved external symbol _DllMainCRTStartup
1>\CompanyFilesPersonalDrivesU2565xxMy DocumentsVisual Studio 2010ProjectsDLL_examplex64DebugDLL_example.dll : fatal error LNK1120: 5 unresolved externals<br/>
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========<br/>


<br/>

View the full article
 
Back
Top