Kdevelop & ns project establishment in Linux

Source: Internet
Author: User
Environment: FedoraCore6NS-2.30KDevelopv3.3.4 preparation: Because KDevelopv3 replaces autotools with cmake, unfortunately FC6 does not provide cmake software packages. Therefore, to use KDevelop, you must first download cmake. Cmake home: http://www.cmake.orgcmake: http://www.cmake.org/HTML/Downlo

Environment:
Fedora Core 6
NS-2.30
KDevelop v3.3.4

Preparation:
Because KDevelop v3 replaces autotools with cmake, it is a pity that FC6 does not provide the cmake software package. Therefore, to use KDevelop, you must first download cmake.

Cmake home: http://www.cmake.org

Cmake: http://www.cmake.org/HTML/Download.html

I downloaded cmake-2.4.6-linux-i386.tar.gz. decompress the package and execute:
Cp-rv cmake-2.4.6-Linux-i386/bin/*/usr/bin/
Cp-rv cmake-2.4.6-Linux-i386/share/*/usr/share/

I don't know where to put the files in the man directory.

Import project:
Project-> Import Existing Project...->
In the Import Existing Project... dialog box, enter:
Directory:/home/NS2./ns-allinone-2.30/ns-2.30
Project name: ns
Project type: Generic C ++ Application (Custom Makefile)

A warning dialog box is displayed: Select Populate.
Question-KDevelop (This project dose not contain any yet.)-> Populate

In this way, you can see the entire NS project. In the Classes view, you can see all the NS Classes. For more information about how to use KDevelop, see the relevant documentation.

Related Article

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.