打开调试->属性->配置属性->VC++目录,在包含目录和库目录下加入API文件所在的目录 切换到调试,在环境中加入:path=<api文件路径> 参考:https://blog.csdn.net/u012234115/article/details/70195889