Visual C++ 6.0 : error lnk2001 (bis)
Char Snipeur
-
Char Snipeur -
Char Snipeur -
mon erreur différe de celle précédente du forum.
J'essaye de faire un programme en reseau, avec ms Visual C++ 6.0
j'utilise donc les fonctions "socket", "bind", "listen" etc...
je n'ai aucun probleme lor de la compilation, il me reconnai les fonctions, j'utilise donc le bon #include , mais lorsque je lance "build" , il me balance toute ces ereurs la:
Linking...
Text1.obj : error LNK2001: unresolved external symbol _listen@8
Text1.obj : error LNK2001: unresolved external symbol _bind@12
Text1.obj : error LNK2001: unresolved external symbol _socket@12
Text1.obj : error LNK2001: unresolved external symbol _htons@4
Text1.obj : error LNK2001: unresolved external symbol _htonl@4
Text1.obj : error LNK2001: unresolved external symbol _inet_addr@4
Debug/Text1.exe : fatal error LNK1120: 6 unresolved externals
Error executing link.exe.
Voila, je vraiment pas d'ou vien le probleme.
J'essaye de faire un programme en reseau, avec ms Visual C++ 6.0
j'utilise donc les fonctions "socket", "bind", "listen" etc...
je n'ai aucun probleme lor de la compilation, il me reconnai les fonctions, j'utilise donc le bon #include , mais lorsque je lance "build" , il me balance toute ces ereurs la:
Linking...
Text1.obj : error LNK2001: unresolved external symbol _listen@8
Text1.obj : error LNK2001: unresolved external symbol _bind@12
Text1.obj : error LNK2001: unresolved external symbol _socket@12
Text1.obj : error LNK2001: unresolved external symbol _htons@4
Text1.obj : error LNK2001: unresolved external symbol _htonl@4
Text1.obj : error LNK2001: unresolved external symbol _inet_addr@4
Debug/Text1.exe : fatal error LNK1120: 6 unresolved externals
Error executing link.exe.
Voila, je vraiment pas d'ou vien le probleme.
1 réponse
-
j'ai eu le meme probleme y a psa longtemps...
http://www.commentcamarche.net/forum/affich.php3?cat=3&ID=215768&page=1
Lord AsKy
# Le travail est sacré, n'y touches pas!!! #