当前位置:首页>开发>正文

eclipse怎么配置java开发px4

2023-05-25 17:22:29 互联网 未知 开发

eclipse怎么配置java开发px4?

eclipse怎么配置java开发px4

px4_eclipse.bat中的设置set HOME=/d/program/uav/px4\toolchain\msys\1.0\home\lufeiop/d/program/uav/px4\toolchain\msys\1.0\home\lufeiop目录下有.profile文件,在Linux下此文件为系统的每个用户设置环境信息,# Add GCC to path# export PATH=/c/windows/system32:/c/src/px4_toolchain_deploy/Python27:/c/src/px4_toolchain_deploy/Python27/Scripts:/c/src/px4_toolchain_deploy/toolchain/bin:$PATHexport PATH=/bin:/usr/bin:/usr/local/bin:/c/windows/system32:/d/program/uav/px4/Python27:/d/program/uav/px4/Python27/Scripts:/d/program/uav/px4/toolchain/bin:$PATH# Tell the NuttX Toolchain that were building on Windowsexport PX4_WINTOOL=y# Disable cygwin path warningexport CYGWIN="nodosfilewarning"echo "Welcome to the PX4 Toolchain."cd /d/program/uav/px4上面就是.profile文件的全部内容,注意到export PATH重新设置了环境变量,加上了toolchain的所在地址,所以eclipse的编译设置可以找得make、gcc这些命令。