Citation:
Envoyé par Emmanuel Delahaye
Je déconseille formellement l'usage des chemins avec des espaces. Met ça ailleurs...
Chez moi, c'est
\devcpp pour dev-C++
\dev\monprojet pour les projets.
Plus court, plus simple, plus clair.
OK.
Eeek ! Tu compiles en C++ ? Vérifie les réglages du projet et des fichiers du projet. Il doit y avoir un forçage en C++ inadéquate. Ca devrait être C.
Ah nous y voilà. Bibliothèques inconnues. Normal, d'après ce que tu m'as dit, le nom des bibliothèques est kercv32.lib et kercom32.lib et non ce que tu as mis.
Corrige ça déjà. Et elles sont bien en C:/Dev-Cpp/lib (une vérification visuelle ne coute rien...)
Citation:
Compilateur: Default compiler
Building Makefile: "C:\testkercom\Makefile.win"
Exécution de make...
make.exe -f "C:\testkercom\Makefile.win" all
gcc.exe -c src/TestDownloadEvents.c -o src/TestDownloadEvents.o -I"C:/Dev-Cpp/include" -Wall -Wextra -O2 -Wwrite-strings -Wstrict-prototypes
In file included from C:/Dev-Cpp/include/kercom32.h:17,
from src/TestDownloadEvents.c:3:
C:/Dev-Cpp/include/cs32.h:21: warning: malformed '#pragma pack(push[, id], <n>)' - ignored
C:/Dev-Cpp/include/cs32.h:87: warning: #pragma pack (pop) encountered without matching #pragma pack (push, <n>)
C:/Dev-Cpp/include/cs32.h:131: warning: function declaration isn't a prototype
C:/Dev-Cpp/include/cs32.h:132: warning: function declaration isn't a prototype
In file included from src/TestDownloadEvents.c:3:
C:/Dev-Cpp/include/kercom32.h:19: warning: malformed '#pragma pack(push[, id], <n>)' - ignored
C:/Dev-Cpp/include/kercom32.h:374: error: redefinition of typedef 'LPCBYTE'
C:/Dev-Cpp/include/napac.h:102: error: previous declaration of 'LPCBYTE' was here
C:/Dev-Cpp/include/kercom32.h:859: warning: #pragma pack (pop) encountered without matching #pragma pack (push, <n>)
In file included from src/TestDownloadEvents.c:4:
C:/Dev-Cpp/include/kercv32.h:534: warning: malformed '#pragma pack(push[, id], <n>)' - ignored
C:/Dev-Cpp/include/kercv32.h:1146: warning: #pragma pack (pop) encountered without matching #pragma pack (push, <n>)
In file included from src/TestDownloadEvents.c:4:
C:/Dev-Cpp/include/kercv32.h:1490:7: warning: no newline at end of file
src/TestDownloadEvents.c:11: warning: ignoring #pragma comment
src/TestDownloadEvents.c:12: warning: ignoring #pragma comment
make.exe: *** [src/TestDownloadEvents.o] Error 1
Exécution terminée