Some configuration records in the Linux environment

Source: Internet
Author: User
Tags gmp sublime text

CMake appears the CXX Compiler not found error

sudo apt-get update && sudo apt-get install build-essential

sudo apt-get install Libglew-dev

sudo apt-get install freeglut3 Freeglut3-dev

sudo apt-get install Libxmu-dev Libxi-dev

Installing Sublime Text 3

For sublime-text-2:

sudo add-apt-repository ppa:webupd8team/sublime-text-2

sudo apt-get update

sudo apt-get install Sublime-text

For sublime-text-3:

sudo add-apt-repository ppa:webupd8team/sublime-text-3

sudo apt-get update

sudo apt-get install Sublime-text-installer

Openflipper/openflipper/widgets/corewidget/corewidget.hh

Join # include <unistd.h>

Export QTDIR=/USR/SHARE/QT4

Export Qtinc=/usr/share/qt4/include

Export Qtlib=/usr/share/qt4/lib

Export path= $QTDIR/bin: $PATH

Installing boost on Ubuntu with an example of using Boost array:

Installlibboost-all-dev and Aptitude

sudo apt-get install Libboost-all-dev
sudo apt-get install aptitude
Aptitude Search Boost

1, first install boost, download the latest boost, extract to a directory

The first step is to build the Boost installation tool Bjam

Go to boost directory execution:

./bootstrap.sh

Then execute the newly generated

./bjam

Compilation begins, about half an hour, and all compilation ends.

./bjam install copy the compiled header files from the current directory to the appropriate location: Under/usr/local/include There is a header folder boost, there is a boost library under/usr/local/lib

Refer to: http://www.linuxidc.com/Linux/2013-07/87573.htm This configuration does not go wrong.

2, install M4, GMP, MFPR,

M4 can be downloaded directly from the Software center, or apt-get install can be, GMP and MFPR can be directly downloaded source code and then compile, GMP can be used./configure, make, makes check, do install settings, MFPR need to rely on MFPR when installing, it is recommended to use "./configure--with-gmp-include=/usr/local/include--with-gmp-lib=/usr/local/lib" "Make, Makes check, make install "was created, but I had a problem with" making check ":" Error while loading shared Libraries:libgmp.so.3:can ' t open sh Ared object File ", ultimately not solved, but can also install. Hope to have a friend to know can voice.

3, installation Cgal can refer to http://www.cgal.org/Manual/latest/doc_html/installation_manual/contents.html

Cmake-gui.

Make

sudo make install

The default header file is loaded in usr/local/include/, and the library file is installed in usr/local/lib/.

Some configuration records in the Linux environment

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.