Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can not build BixVReader with WDK 7.1 on win7 32bit #49

Closed
12019 opened this issue May 25, 2015 · 4 comments
Closed

can not build BixVReader with WDK 7.1 on win7 32bit #49

12019 opened this issue May 25, 2015 · 4 comments

Comments

@12019
Copy link

12019 commented May 25, 2015

K:\vsmartcard-master\virtualsmartcard\win32\BixVReader\Win7>build
path contains nonexistant c:\winddk\7600.16385.1\tools\sdv\bin, removing
BUILD: Compile and Link for x86
BUILD: Computing Include file dependencies:
BUILD: Start time: Mon May 25 23:53:47 2015
0>errors in directory k:\vsmartcard-master\virtualsmartcard\win32\bixvreader\win
7
0>
Ignoring invalid directory prefix in SOURCES= entry: ......\src\vpcd\vpcd.c

0>errors in directory k:\vsmartcard-master\virtualsmartcard\win32\bixvreader\win
7
0>
Ignoring invalid directory prefix in SOURCES= entry: ......\src\vpcd\lock.c

BUILD: Examining k:\vsmartcard-master\virtualsmartcard\win32\bixvreader\win7 dir
ectory for files to compile.
k:\vsmartcard-master\virtualsmartcard\win32\bixvreader\win7 - 1 Pass Zero fi
les (20 lines)
BUILD: Saving c:\winddk\7600.16385.1\build.dat...
BUILD: Building generated files in k:\vsmartcard-master\virtualsmartcard\win32\b
ixvreader\win7 directory
Configuring OACR for 'root:x86chk' -
May 25 23:53:49 oacr.dll OACR version change (from build '0' to '30122')
Running MIDL on - k:\vsmartcard-master\virtualsmartcard\win32\bixvreader\virtual
screader.idl
0>errors in directory k:\vsmartcard-master\virtualsmartcard\win32\bixvreader\win
7
0>
Ignoring invalid directory prefix in SOURCES= entry: ......\src\vpcd\vpcd.c

0>errors in directory k:\vsmartcard-master\virtualsmartcard\win32\bixvreader\win
7
0>
Ignoring invalid directory prefix in SOURCES= entry: ......\src\vpcd\lock.c

BUILD: Examining k:\vsmartcard-master\virtualsmartcard\win32\bixvreader\win7 dir
ectory for files to compile. (2nd Pass)
k:\vsmartcard-master\virtualsmartcard\win32\bixvreader\win7 - 13 source file
s (2,051 lines)
BUILD: Saving c:\winddk\7600.16385.1\build.dat...
BUILD: Compiling k:\vsmartcard-master\virtualsmartcard\win32\bixvreader\win7 dir
ectory
1>errors in directory k:\vsmartcard-master\virtualsmartcard\win32\bixvreader\win
7
1>NMAKE : fatal error U1073: don't know how to make 'k:\vsmartcard-master\virtua
lsmartcard\win32\bixvreader\win7\objchk_win7_x86\i386\vpcd.obj'
1>nmake.exe /nologo BUILDMSG=Stop. -i BUILD_PASS=PASS1 NOLINK=1 NOPASS0=1 MAKEDI
R_RELATIVE_TO_BASEDIR= failed - rc = 2

BUILD: Compile errors: not linking k:\vsmartcard-master\virtualsmartcard\win32\b
ixvreader\win7 directory
BUILD: Finish time: Mon May 25 23:53:55 2015
BUILD: Done

1 file compiled - 3 Warnings - 6 Errors

K:\vsmartcard-master\virtualsmartcard\win32\BixVReader\Win7>

Not sure where the problem is. should I build it by WDK 8.1 ?

thanks
BL

@frankmorgner
Copy link
Owner

Here is how I have built the driver (with wrk 8.1, but 7.1 should work too) https://frankmorgner.github.io/vsmartcard/virtualsmartcard/README.html#building-and-installing-vpcd-on-windows which worked for me and others on 32 and 64 bit. You can find the installable binaries here https://github.com/frankmorgner/vsmartcard/releases

From your log it seems that three source files are not included in the build process. Maybe you can add them by hand...

@12019
Copy link
Author

12019 commented May 26, 2015

copied vpcd.* and lock.* to BixVReader directory. and build with the following erros.

the Win7 version also failed with the same error logs.

K:>cd vsmartcard-master\virtualsmartcard\win32\BixVReader\WinXP

K:\vsmartcard-master\virtualsmartcard\win32\BixVReader\WinXP>build
path contains nonexistant c:\winddk\7600.16385.1\tools\sdv\bin, removing
BUILD: Compile and Link for x86
BUILD: Loading c:\winddk\7600.16385.1\build.dat...
BUILD: Computing Include file dependencies:
BUILD: Start time: Tue May 26 22:37:33 2015
BUILD: Examining k:\vsmartcard-master\virtualsmartcard\win32\bixvreader\winxp d
rectory for files to compile.
k:\vsmartcard-master\virtualsmartcard\win32\bixvreader\winxp Invalidating O
CR warning log for 'root:x86fre'
k:\vsmartcard-master\virtualsmartcard\win32\bixvreader\winxp - 1 Pass Zero
iles (20 lines)
BUILD: Saving c:\winddk\7600.16385.1\build.dat...
BUILD: Building generated files in k:\vsmartcard-master\virtualsmartcard\win32
ixvreader\winxp directory
Configuring OACR for 'root:x86fre' -
_NT_TARGET_VERSION SET TO WINXP
BUILD: Examining k:\vsmartcard-master\virtualsmartcard\win32\bixvreader\winxp d
rectory for files to compile. (2nd Pass)
BUILD: Linking for k:\vsmartcard-master\virtualsmartcard\win32\bixvreader\winxp
directory
_NT_TARGET_VERSION SET TO WINXP
Linking Executable - objfre_wxp_x86\i386\bixvreader.dll
1>errors in directory k:\vsmartcard-master\virtualsmartcard\win32\bixvreader\wi
xp
1>k:\vsmartcard-master\virtualsmartcard\win32\bixvreader\winxp\vpcd.obj : error
LNK2019: unresolved external symbol __imp__strdup referenced in function vicc
nit@8
1>k:\vsmartcard-master\virtualsmartcard\win32\bixvreader\winxp\objfre_wxp_x86\i
86\bixvreader.dll : error LNK1120: 1 unresolved externals
BUILD: Finish time: Tue May 26 22:37:36 2015
BUILD: Done

0 files compiled - 1 Warning
1 executable built - 2 Errors

@frankmorgner
Copy link
Owner

Sorry, I can't do more than look at the error messages. Those didn't occur for me. I suggest you download the binaries.

Am 26. Mai 2015 16:39:42 MESZ, schrieb 12019 [email protected]:

copied vpcd.* and lock.* to BixVReader directory. and build with the
following erros.

the Win7 version also failed with the same error logs.

K:>cd vsmartcard-master\virtualsmartcard\win32\BixVReader\WinXP

K:\vsmartcard-master\virtualsmartcard\win32\BixVReader\WinXP>build
path contains nonexistant c:\winddk\7600.16385.1\tools\sdv\bin,
removing
BUILD: Compile and Link for x86
BUILD: Loading c:\winddk\7600.16385.1\build.dat...
BUILD: Computing Include file dependencies:
BUILD: Start time: Tue May 26 22:37:33 2015
BUILD: Examining
k:\vsmartcard-master\virtualsmartcard\win32\bixvreader\winxp d
rectory for files to compile.
k:\vsmartcard-master\virtualsmartcard\win32\bixvreader\winxp
Invalidating O
CR warning log for 'root:x86fre'
k:\vsmartcard-master\virtualsmartcard\win32\bixvreader\winxp - 1 Pass
Zero
iles (20 lines)
BUILD: Saving c:\winddk\7600.16385.1\build.dat...
BUILD: Building generated files in
k:\vsmartcard-master\virtualsmartcard\win32
ixvreader\winxp directory
Configuring OACR for 'root:x86fre' -
_NT_TARGET_VERSION SET TO WINXP
BUILD: Examining
k:\vsmartcard-master\virtualsmartcard\win32\bixvreader\winxp d
rectory for files to compile. (2nd Pass)
BUILD: Linking for
k:\vsmartcard-master\virtualsmartcard\win32\bixvreader\winxp
directory
_NT_TARGET_VERSION SET TO WINXP
Linking Executable - objfre_wxp_x86\i386\bixvreader.dll
1>errors in directory
k:\vsmartcard-master\virtualsmartcard\win32\bixvreader\wi
xp
1>k:\vsmartcard-master\virtualsmartcard\win32\bixvreader\winxp\vpcd.obj
: error
LNK2019: unresolved external symbol __imp__strdup referenced in
function vicc
nit@8
1>k:\vsmartcard-master\virtualsmartcard\win32\bixvreader\winxp\objfre_wxp_x86\i
86\bixvreader.dll : error LNK1120: 1 unresolved externals
BUILD: Finish time: Tue May 26 22:37:36 2015
BUILD: Done

0 files compiled - 1 Warning
1 executable built - 2 Errors


Reply to this email directly or view it on GitHub:
#49 (comment)

Frank Morgner

@12019
Copy link
Author

12019 commented May 26, 2015

ok. let us close this issue.

@12019 12019 closed this as completed May 26, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants