VS2017 开发调试编译 linux 程序
1. 环境配置
1)windows 下安装VS2017,*注意安装时,如果你需要搭建linux c++环境,记得勾选“使用c++的linux开发”工具集
2) VMware + ubuntu 搭建虚拟机 , 需要安装如下内容:
sudo apt-get install net-tools
sudo apt install gdb
sudo apt install openssh-server gdb gcc g++
sudo apt install build-essential gdbserver
3)VS2017 配置:在工具-选项-Cross Platform 中添加需要链接的服务器(linux)信息:
* linux 下查看本地IP地址: ifconfig
2. 工程建立/编译/调试
参考:https://blog.****.net/weixin_34088838/article/details/89226369
https://www.cnblogs.com/xylc/p/6533716.html