Hi Glenn
It still fails and i'm starting to think that i can't get it worked on my Windows Vista 64. I think i missed something. So well i send you the outputs:
cmake output
Found LIBUSB: C:/MinGW64/x86_64_w64-mingw32/lib/libusb.a C:/dev/libusb-win32-bin-1.2.4.0/include
Found LIBUSB: C:/MinGW64/x86_64_w64-mingw32/lib/libusb.a C:/dev/libusb-win32-bin-1.2.4.0/include
Configuring done
Generating done
mingw32-make
c:\dev\build>mingw32-make
Scanning dependencies of target nfc
[ 4%] Building C object libnfc/CMakeFiles/nfc.dir/nfc.c.obj
[ 9%] Building C object libnfc/CMakeFiles/nfc.dir/iso14443-subr.c.obj
[ 14%] Building C object libnfc/CMakeFiles/nfc.dir/mirror-subr.c.obj
[ 19%] Building C object libnfc/CMakeFiles/nfc.dir/drivers/acr122.c.obj
C:\dev\libnfc-1.4.2\libnfc-1.4.2\libnfc\drivers\acr122.c: In function 'acr122_tr
ansceive':
C:\dev\libnfc-1.4.2\libnfc-1.4.2\libnfc\drivers\acr122.c:292:9: warning: implici
t declaration of function 'SCARD_CTL_CODE'
[ 23%] Building C object libnfc/CMakeFiles/nfc.dir/drivers/pn531_usb.c.obj
[ 28%] Building C object libnfc/CMakeFiles/nfc.dir/drivers/pn53x_usb.c.obj
[ 33%] Building C object libnfc/CMakeFiles/nfc.dir/drivers/pn533_usb.c.obj
[ 38%] Building C object libnfc/CMakeFiles/nfc.dir/drivers/arygon.c.obj
[ 42%] Building C object libnfc/CMakeFiles/nfc.dir/buses/uart.c.obj
In file included from C:\dev\libnfc-1.4.2\libnfc-1.4.2\libnfc\buses\uart.c:41:0:
C:\dev\libnfc-1.4.2\libnfc-1.4.2\libnfc\buses\/uart_win32.c: In function 'uart_o
pen':
C:\dev\libnfc-1.4.2\libnfc-1.4.2\libnfc\buses\/uart_win32.c:40:3: warning: impli
cit declaration of function '_strupr'
[ 47%] Building C object libnfc/CMakeFiles/nfc.dir/chips/pn53x.c.obj
C:\dev\libnfc-1.4.2\libnfc-1.4.2\libnfc\chips\pn53x.c: In function 'pn53x_init':
C:\dev\libnfc-1.4.2\libnfc-1.4.2\libnfc\chips\pn53x.c:113:3: warning: implicit d
eclaration of function 'strdup'
C:\dev\libnfc-1.4.2\libnfc-1.4.2\libnfc\chips\pn53x.c:113:10: warning: assignmen
t makes pointer from integer without a cast
Linking C shared library libnfc.dll
Creating library file: libnfc.dll.a
CMakeFiles\nfc.dir/objects.a(acr122.c.obj):acr122.c:(.text+0x5f): undefined refe
rence to `SCardEstablishContext'
CMakeFiles\nfc.dir/objects.a(acr122.c.obj):acr122.c:(.text+0xac): undefined refe
rence to `SCardReleaseContext'
CMakeFiles\nfc.dir/objects.a(acr122.c.obj):acr122.c:(.text+0x1a2): undefined ref
erence to `SCardListReaders'
CMakeFiles\nfc.dir/objects.a(acr122.c.obj):acr122.c:(.text+0x366): undefined ref
erence to `SCardConnect'
CMakeFiles\nfc.dir/objects.a(acr122.c.obj):acr122.c:(.text+0x39f): undefined ref
erence to `SCardConnect'
CMakeFiles\nfc.dir/objects.a(acr122.c.obj):acr122.c:(.text+0x4d6): undefined ref
erence to `SCardDisconnect'
CMakeFiles\nfc.dir/objects.a(acr122.c.obj):acr122.c:(.text+0x5b0): undefined ref
erence to `SCARD_CTL_CODE'
CMakeFiles\nfc.dir/objects.a(acr122.c.obj):acr122.c:(.text+0x5e9): undefined ref
erence to `SCardControl'
CMakeFiles\nfc.dir/objects.a(acr122.c.obj):acr122.c:(.text+0x648): undefined ref
erence to `SCardTransmit'
CMakeFiles\nfc.dir/objects.a(acr122.c.obj):acr122.c:(.text+0x700): undefined ref
erence to `SCardTransmit'
CMakeFiles\nfc.dir/objects.a(acr122.c.obj):acr122.c:(.text+0x7ee): undefined ref
erence to `SCARD_CTL_CODE'
CMakeFiles\nfc.dir/objects.a(acr122.c.obj):acr122.c:(.text+0x823): undefined ref
erence to `SCardControl'
CMakeFiles\nfc.dir/objects.a(acr122.c.obj):acr122.c:(.text+0x866): undefined ref
erence to `SCardTransmit'
CMakeFiles\nfc.dir/objects.a(acr122.c.obj):acr122.c:(.text+0x8fb): undefined ref
erence to `SCARD_CTL_CODE'
CMakeFiles\nfc.dir/objects.a(acr122.c.obj):acr122.c:(.text+0x92f): undefined ref
erence to `SCardControl'
CMakeFiles\nfc.dir/objects.a(acr122.c.obj):acr122.c:(.text+0x972): undefined ref
erence to `SCardTransmit'
collect2: ld returned 1 exit status
mingw32-make[2]: *** [libnfc/libnfc.dll] Error 1
mingw32-make[1]: *** [libnfc/CMakeFiles/nfc.dir/all] Error 2
mingw32-make: *** [all] Error 2
PATH
c:\dev\build>path
PATH=C:\Program Files (x86)\PC Connectivity Solution\;C:\Windows\system32;C:\Win
dows;C:\Windows\System32\Wbem;c:\Program Files (x86)\ATI Technologies\ATI.ACE\Co
re-Static;C:\Program Files (x86)\Common Files\Roxio Shared\DLLShared\;C:\Program
Files (x86)\Common Files\Roxio Shared\10.0\DLLShared\;C:\Program Files (x86)\Co
mmon Files\DivX Shared\;C:\Program Files (x86)\ImageConverter Plus;C:\Program Fi
les (x86)\ImageConverter Plus\Microsoft.VC80.CRT;C:\Program Files (x86)\ImageCon
verter Plus\Microsoft.VC80.MFC;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Win
dows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Subversion\bin,C:\d
ev\libusb-win32-bin-1.2.4.0\include;C:\MinGW64\bin;C:\MinGW64\bin;C:\dev\doxygen
\doxygen-1.6.1-2\usr\bin; C:\MinGW64\lib;C:\MinGW64\x86_64_w64-mingw32\include;C
:\MinGW64\x86_64_w64-mingw32\lib;C:\MinGW64\x86_64_w64-mingw32\lib32\;C:\dev\lib
usb-win32-bin-1.2.4.0\include;C:\dev\pcsc-lite-1.7.2\lib;C:\Program Files (x86)\
CMake 2.8\bin;C:\MinGW64\lib;
Thank you for your help.