Voila j'ai coder un projet sous Qt. Et un autre projet en c++. Je souhaiterais maintenant réunnir les deux. Or, il me génère les erreurs suivantes :
En gros, le compilateur me demande la librairie wsock32, or je ne sais pas comment lui ajouter quelqu'un pourrait - il m'aider ? SVPC:/Documents and Settings/Aymeric/Bureau/Iphone_GSM/socket_L3.c:21: undefined reference to `htons@4'
C:/Documents and Settings/Aymeric/Bureau/Iphone_GSM/socket_L3.c:20: undefined reference to `inet_addr@4'
C:/Documents and Settings/Aymeric/Bureau/Iphone_GSM/socket_L3.c:24: undefined reference to `socket@12'
C:/Documents and Settings/Aymeric/Bureau/Iphone_GSM/socket_L3.c:27: undefined reference to `bind@12'
C:/Documents and Settings/Aymeric/Bureau/Iphone_GSM/socket_L3.c:30: undefined reference to `connect@12'
C:/Documents and Settings/Aymeric/Bureau/Iphone_GSM/socket_L3.c:44: undefined reference to `send@16'
C:/Documents and Settings/Aymeric/Bureau/Iphone_GSM/socket_L3.c:58: undefined reference to `recv@16'
C:/Documents and Settings/Aymeric/Bureau/Iphone_GSM/WSA.c:7: undefined reference to `WSAStartup@8'
C:/Documents and Settings/Aymeric/Bureau/Iphone_GSM/WSA.c:14: undefined reference to `WSACleanup@0'
Partager