[問題] 找不到<sys/time.h>?
開發平台(Platform): (Ex: VC++, Gcc, Linux, ...)
VC++
額外使用到的庫(Library Used) (Ex: OpenGL, ...)
Winpcap
問題(Question):
在網路上找了個程式,可以去ping IP或DNS
但是在編譯的時候出現:
fatal error C1083: Cannot open include file: 'sys/time.h': No such file or
directory
我查詢了一下之後發現這好像是Linux才有的函式庫
請問有辦法Windows底下用VC++來編譯這個程式嗎?
====
補一下,刪掉<sys/time.h>之後,出現:
error LNK2001: unresolved external symbol __imp__select@20
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 114.27.34.98
→
12/28 09:59, , 1F
12/28 09:59, 1F
→
12/28 09:59, , 2F
12/28 09:59, 2F
※ 編輯: tylerfirst 來自: 114.27.34.98 (12/28 11:38)
→
12/28 11:39, , 3F
12/28 11:39, 3F
→
12/28 11:40, , 4F
12/28 11:40, 4F
→
12/28 12:15, , 5F
12/28 12:15, 5F
推
12/28 13:44, , 6F
12/28 13:44, 6F
→
12/28 16:25, , 7F
12/28 16:25, 7F
→
12/28 16:30, , 8F
12/28 16:30, 8F