环境介绍:我是在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


nemopang 于 2008-02-06 17:43:43发表:
我在BC下可以编译,但是用KDE C++就不会用了