eclipse中使用jni调用本地c++代码,已经配置了c++的路径,但是cpp中include依然报错 50
展开全部
1. 系统变量里面的Path添加逗MinGW安装目录\bin;地(例如;C:\MinGW\bin;)
2. 系统变量里添加 C_INCLUDE_PATH,值为:C:\MinGW\include
3. 系统变量里添加 CPLUS_INCLUDE_PATH,值为:C:\MinGW\include\c++\3.4.2;C:\MinGW\include\c++\3.4.2\mingw32;C:\MinGW\include\c++\3.4.2\backward;C:\MinGW\include !
2. 系统变量里添加 C_INCLUDE_PATH,值为:C:\MinGW\include
3. 系统变量里添加 CPLUS_INCLUDE_PATH,值为:C:\MinGW\include\c++\3.4.2;C:\MinGW\include\c++\3.4.2\mingw32;C:\MinGW\include\c++\3.4.2\backward;C:\MinGW\include !
追问
已经有了ndk,还需要安装MinGW麼?我之前成功加载过,并没有使用MinGW
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询