yiminyangguang520 / eid-mw

Automatically exported from code.google.com/p/eid-mw
GNU Lesser General Public License v3.0
0 stars 0 forks source link

Windows build has many LNK 2001 errors #103

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Build in Windows using the build_all.bat
2.
3.

What is the expected output? What do you see instead?
Expected: build without error messages. In stead I see many LNK 2001 errors. 
The complete log is in attachment

What version of the product are you using? On what operating system?
Latest trunk download on Windows 7 professional

Please provide any additional information below.

Installed programs:
  Windows 7 Professional 32 bit
  Visual Studio 2010 standard
  NSIS 2.46
  WinDDK 7600.16385.1
  Windows SDK v7.1
  Wix toolset v3.0 (3.0.5419.0)

Original issue reported on code.google.com by kristof....@gmail.com on 25 Oct 2012 at 10:09

Attachments:

GoogleCodeExporter commented 9 years ago
Thank you for reporting

CSP got broken during the change to static linking, will fix this

Original comment by frederik...@gmail.com on 26 Oct 2012 at 9:26

GoogleCodeExporter commented 9 years ago
repaired the CSP build

Might remove CSP from trunk later on though (4.0.4 is stable and nothing is 
changing there, so no need to have it affected by low-layer changes)

Original comment by frederik...@gmail.com on 30 Oct 2012 at 3:16

GoogleCodeExporter commented 9 years ago
Hi,

Could it be that there is still an issue? I get much less linker errors but the 
following still exist:

  beid40cardlayer.lib(PinpadLib.obj) : error LNK2001: unresolved external symbo
l "enum eIDMW::DlgRet __cdecl eIDMW::DlgDisplayPinpadInfo(enum eIDMW::DlgPinOpe
ration,wchar_t const *,enum eIDMW::DlgPinUsage,wchar_t const *,wchar_t const *,
unsigned long *)" (?DlgDisplayPinpadInfo@eIDMW@@YA?AW4DlgRet@1@W4DlgPinOperatio
n@1@PB_WW4DlgPinUsage@1@11PAK@Z) [C:\turtoisesvn\eid-mw-read-only\sccertprop\VS
_2010\beidsccertprop.vcxproj]

  beid40cardlayer.lib(PinpadLib.obj) : error LNK2001: unresolved external symbo
l "void __cdecl eIDMW::DlgClosePinpadInfo(unsigned long)" (?DlgClosePinpadInfo@
eIDMW@@YAXK@Z) [C:\turtoisesvn\eid-mw-read-only\sccertprop\VS_2010\beidsccertpr
op.vcxproj]

  beid40cardlayer.lib(BeidCard.obj) : error LNK2001: unresolved external symbol
 "enum eIDMW::DlgRet __cdecl eIDMW::DlgAskPin(enum eIDMW::DlgPinOperation,enum
eIDMW::DlgPinUsage,wchar_t const *,struct eIDMW::DlgPinInfo,wchar_t *,unsigned
long)" (?DlgAskPin@eIDMW@@YA?AW4DlgRet@1@W4DlgPinOperation@1@W4DlgPinUsage@1@PB
_WUDlgPinInfo@1@PA_WK@Z) [C:\turtoisesvn\eid-mw-read-only\sccertprop\VS_2010\be
idsccertprop.vcxproj]

  beid40cardlayer.lib(BeidCard.obj) : error LNK2001: unresolved external symbol
 "enum eIDMW::DlgRet __cdecl eIDMW::DlgAskPins(enum eIDMW::DlgPinOperation,enum
 eIDMW::DlgPinUsage,wchar_t const *,struct eIDMW::DlgPinInfo,wchar_t *,unsigned
 long,struct eIDMW::DlgPinInfo,wchar_t *,unsigned long)" (?DlgAskPins@eIDMW@@YA
?AW4DlgRet@1@W4DlgPinOperation@1@W4DlgPinUsage@1@PB_WUDlgPinInfo@1@PA_WK34K@Z)
[C:\turtoisesvn\eid-mw-read-only\sccertprop\VS_2010\beidsccertprop.vcxproj]

  beid40cardlayer.lib(PkiCard.obj) : error LNK2001: unresolved external symbol
"enum eIDMW::DlgRet __cdecl eIDMW::DlgBadPin(enum eIDMW::DlgPinUsage,wchar_t co
nst *,unsigned long)" (?DlgBadPin@eIDMW@@YA?AW4DlgRet@1@W4DlgPinUsage@1@PB_WK@Z
) [C:\turtoisesvn\eid-mw-read-only\sccertprop\VS_2010\beidsccertprop.vcxproj]
  ..\..\VS_2010\Binaries\Win32_Release\beidsccertprop.exe : fatal error LNK1120

: 5 unresolved externals [C:\turtoisesvn\eid-mw-read-only\sccertprop\VS_2010\be
idsccertprop.vcxproj]

Original comment by kristof....@gmail.com on 31 Oct 2012 at 9:36

GoogleCodeExporter commented 9 years ago
Hello,

Indeed, the beidsccertprop also had linking issues.
Should be ok now 

Thanks for the notice,
 Frederik

Original comment by frederik...@gmail.com on 31 Oct 2012 at 10:48