当前位置:  首页  >  服务器技术  >  Linux/unix  >  Linux入门

linux下C语言编程报出如下问题,不知如何解决???

linux下C语言编程报出如下问题,不知如何解决???--Linux通用技术-Linux技术与应用信息,下面是详情阅读。
环境介绍:我是在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
吐了个 "CAO" !
扫码关注 PHP1 官方微信号
PHP1.CN | 中国最专业的PHP中文社区 | PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | PHP问答
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved PHP1.CN 第一PHP社区 版权所有