[問題] MinGW include winbase.h發生錯誤
開發平台(Platf
orm): (Ex: VC++, GCC, Linux, ...)
g++, MinGW, windows7 64bit
額外使用到的函數庫(Library Used): (Ex: OpenGL, ...)
問題(Question):
小弟我想在程式裡增加建立新的資料夾的功能,
GOOGLE一下發現要使用windows api,(暫不考慮跨平台及BOOST LIB)
但在加入winbase.h後卻回報No such file or directory,
在$MinGW_HOME\include也有看到winbase.h,
請問一下大大我是不是MinGW哪裡設定錯誤造成找不到檔案
小弟先謝過了
餵入的資料(Input):
#include <winbase>
預期的正確結果(Expected Output):
錯誤結果(Wrong Output):
$ g++ src/main.cpp
src/main.cpp:14:19: fatal error: winbase: No such file or directory
#include <winbase>
^
compilation terminated.
程式碼(Code):(請善用置底文網頁, 記得排版)
補充說明(Supplement):
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.110.59.58
→
10/03 20:48, , 1F
10/03 20:48, 1F
推
10/03 21:20, , 2F
10/03 21:20, 2F
→
10/05 12:05, , 3F
10/05 12:05, 3F
→
10/07 09:56, , 4F
10/07 09:56, 4F