Advertisement
Benjamin_Loison

Error logs compiling network Windows on Linux

Jul 8th, 2017
356
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.91 KB | None | 0 0
  1. altiscraft@overclock3000:~/DEV/AltisCraft.fr/Client$ php compile.php
  2. ./Extensions/Internet/internet.cpp:1:18: fatal error: curl.h: No such file or directory
  3. #include <curl.h>
  4. ^
  5. compilation terminated.
  6. ./Extensions/Network/Main/client.cpp: In function ‘void init()’:
  7. ./Extensions/Network/Main/client.cpp:47:74: error: ‘gethostbyname’ was not declared in this scope
  8. destination.sin_addr.s_addr = *(u_long*)gethostbyname("altiscraft.fr")->h_addr_list[0];
  9. ^
  10. ./Extensions/Network/Main/client.cpp: In function ‘void verifyDisconnexion()’:
  11. ./Extensions/Network/Main/client.cpp:107:83: error: ‘WSAGetLastError’ was not declared in this scope
  12. int lengthTemp = recv(socketId, bufferTmp, 1, 0), error = WSAGetLastError();
  13. ^
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement