linux mint 18eclipse,The Linux Mint 18:Eclipse Run The C++ And Python ConfigorationWhen You achieve ...

本文详细介绍了如何在Linux环境下使用Synaptic包管理器安装Eclipse及其插件PyDev,并配置支持Python 3.5及C++开发环境的过程。此外,还提供了安装Boost库和CMake的方法。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

# Copyright (c) 2016, 付刘伟 (Liuwei Fu)

# All rights reserved.

# 转载请注明出处

1.Install The Eclipse,g++ Use The SynapTic Package Manager:

Eclipse :you should select the eclipse and eclipse-cdt-qt

e:

89d11cafbfd8d3e871e5bfc973ef13c7.png

g++:just select g++

e:

84efa24cf620f74bf8260784670c76a3.png

2.Run The Eclipse By The Root Use The Command:

./eclipse

e:

4a63a17de1019994465008a63f29346a.png

eclipse /*This Command Is Slow Than The First One*/

e:

889b1fb16a314797d9c1479a868adad9.png

Then:Run The Eclipse By The User;

e:

5d6173f29d38fed3b02253b93e0f3f50.png

3.Install The PyDev:

Downloat The PyDev 3.5 Or Other Version (Suggest The High Version)

Unzip The PyDev.zip Then You Will Find Two Files:features and plugins

Copy the files Under The features to the eclipse‘s features

Copy The files Under The plugins to The eclipse‘s plugins

751e9a30475d168827be04c94ad4ad88.png

Change The Authority of the eclipse file use the command:

sudo chmod -R 777 eclipse

e:

183aa7aff3d59fb652b06357d1e13ab4.png

The Path Of Eclipse Is :/usr/lib/eclipse

4.To Run The Eclipse By The Root You Will See The Module Of Pydev Is Installed;

./eclipse

e:

abb7ec63904e389f0474e376a1a0a387.png

eclipse

e:

8f9919dbecd259ade9095e31200bce81.png

Change the python version:click the Quick Auto-Config and select the python3.4 and remove the python2.7 ,python;just save a python3.4

764f34d0001e521e9be3f0137fa4d048.png

Change the C++ edit path:

c9eba3f6d8ada735186239c91f2bc7e0.png

5.Use The SynapTic Package Manager To Install The Python3.5 (Maybe You Python Version Is Not 3.5) All Dev And Module :

python        python-all        python-dev        python3-all      python3-dev

python-scipy      python3-scipy      python-tkpython3-tkpython-qt4

python3-qt4numptysqlitemanpython-sqlitepython-tz

libboost-python-devlibboost-python-devpython-supportpython3-tzpython3-matplotlib

python-paramikopython-pampython-commandnotfoundpython3-smbcpython3-uno

python-gnome2python-feedparserpython-dnspythonpython-pyinotifypython3-tornado

python-opencvlibboost-mpi-python-devpython-debtagshwpython3-brlapi

totem-plugins-extraubuntu-drivers-common

6.Install The Boost libraries:

Download The Boost libraries

Unzip The boost libraries

In The Boost File Use The Command:

./bootstrap.sh

e:

707beded119f3d8aa55fc20cae7dd1f9.png

./b2

e:

e52062f324cb1bb7a50d83bcf8670225.png

./b2 install

e:

ead023e32fce88c8b1a274e675519405.png

In The Normal Solution,Boost Will Be Success;

7.Install The Cmake use the SynapTic Package Manager ;

2c8680890c7d9e46a9983688077e0a7d.png

When You achieve above step,you can run the c++ and python!

(Next OTL ,PYOTL is Project That Write By Ruimin Shen(ability man) )

8.To Compile The OTL ,PYOTL Use The Cmake

OTL:You Should Change The Path And Set  As Same As To me!,If Not Find The Path ,Maybe You Went Wrong in the Above Step!

e:

p1:

51513efe0672f33e25df70086989d3db.png

2851ccfe7342b6ccfa85b3fe1be44c53.png

p2:

f1e1a38338671877ca97c2e4b9c58741.png

3b5dbf4c327a726e5acfd115015476dd.png

p3:

e7d4d968b64560bdde20a4384c6b2d11.png

853741fc37a1827ae6dd5fa718a001c8.png

PYOTL:You Should Change The Path And Set  As Same As To me!

e:

p1:

0db38412529e21c47a6f066dfe6d1fc3.png

f788c43a8065e330d994ae4c3e7b63b1.png

p2:

c7fa66536b89da1935fd235c00fc9f7d.png

p3:

a55acaa2e70125842b6c55d0c3c9bd78.png

9.Modify the visualize.py code:

9576bec8337d0efed18d44dc3356f6b0.png

10.Import The Eclipse And We Can Write C++ ,Python!  Enjoy It!

e:

42f971d621ec2d0260315eefcd7f07de.png

原文:http://www.cnblogs.com/FuLiuWei/p/fuliuwei.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值