歡迎您光臨本站 註冊首頁

linux下C語言編程報出如下問題,不知如何解決???

←手機掃碼閱讀     火星人 @ 2014-03-23 , reply:0

環境介紹:我是在linux下做了一個makefile,然後用make執行,但是找不到目錄/opt/nms/include(這個庫是由別人提供的)下的.h文件,一運行make命令,就報如下錯誤,希望哪位高手能給指點指點,先謝謝了阿!!!!!!!!!!


錯誤內容如下:
root@localhost:/home/taotie/mgw3 [root@localhost mgw3]# make
g++ -c -o megasamp.o megasamp.cpp
megasamp.cpp:24:22: nmstypes.h: No such file or directory
In file included from megasamp.cpp:26:
mega_global.h:21:20: ctadef.h: No such file or directory
mega_global.h:22:20: adidef.h: No such file or directory
mega_global.h:23:20: nccdef.h: No such file or directory
mega_global.h:24:20: swidef.h: No such file or directory
mega_global.h:27:20: mspdef.h: No such file or directory
mega_global.h:28:20: mspcmd.h: No such file or directory
mega_global.h:29:22: mspquery.h: No such file or directory
mega_global.h:30:20: mspobj.h: No such file or directory
mega_global.h:31:22: mspunsol.h: No such file or directory
mega_global.h:34:22: isdntype.h: No such file or directory
mega_global.h:35:21: isdndef.h: No such file or directory
mega_global.h:37:21: isdnval.h: No such file or directory
mega_global.h:40:21: h324def.h: No such file or directory
mega_global.h:41:20: trcapi.h: No such file or directory
In file included from megasamp.cpp:26:
mega_global.h:172: error: `WORD' does not name a type
mega_global.h:173: error: `DWORD' does not name a type
mega_global.h:174: error: `WORD' does not name a type
mega_global.h:175: error: `DWORD' does not name a type
mega_global.h:176: error: `DWORD' does not name a type
mega_global.h:177: error: `DWORD' does not name a type

[火星人 ] linux下C語言編程報出如下問題,不知如何解決???已經有790次圍觀

http://coctec.com/docs/linux/show-post-115652.html