Bonjour à tous

OS : Windows 7 pro 64 bits
Code Blocks version : 17.12

Symptome : Lors de l'édition de lien g++ ne trouve pas les symboles contenus dans la librairie winscard.lib.

Comme le montre le Build.log la libraire est bien mentionnée lors de l'édition de lien

-------------- Build: Debug in test (compiler: GNU GCC Compiler)---------------

mingw32-g++.exe -LLib -o bin\Debug\test.exe obj\Debug\Configuration.o obj\Debug\main.o obj\Debug\Protocol.o Lib\WinSCard.Lib
obj\Debug\main.o: In function `main':
C:/Users/Billettique Service/Desktop/Test/C tests/test/main.c:42: undefined reference to `SCardEstablishContext'
C:/Users/Billettique Service/Desktop/Test/C tests/test/main.c:55: undefined reference to `SCardListReaders'
C:/Users/Billettique Service/Desktop/Test/C tests/test/main.c:59: undefined reference to `SCardListReaders'
C:/Users/Billettique Service/Desktop/Test/C tests/test/main.c:66: undefined reference to `SCardConnect'
C:/Users/Billettique Service/Desktop/Test/C tests/test/main.c:73: undefined reference to `g_rgSCardT0Pci'
C:/Users/Billettique Service/Desktop/Test/C tests/test/main.c:73: undefined reference to `g_rgSCardT0Pci'
C:/Users/Billettique Service/Desktop/Test/C tests/test/main.c:77: undefined reference to `g_rgSCardT1Pci'
C:/Users/Billettique Service/Desktop/Test/C tests/test/main.c:77: undefined reference to `g_rgSCardT1Pci'
C:/Users/Billettique Service/Desktop/Test/C tests/test/main.c:81: undefined reference to `SCardTransmit'
C:/Users/Billettique Service/Desktop/Test/C tests/test/main.c:91: undefined reference to `SCardTransmit'
C:/Users/Billettique Service/Desktop/Test/C tests/test/main.c:100: undefined reference to `SCardDisconnect'
collect2.exe: error: ld returned 1 exit status
Process terminated with status 1 (0 minute(s), 0 second(s))
12 error(s), 0 warning(s) (0 minute(s), 0 second(s))
A votre bon cœur je bute depuis hier :(

Roland

PS : à priori n'ayant que des .c l'intégralité du projet est compilé en mode C