In linux, kdevelop & amp; ns project establishment-general Linux technology-Linux programming and kernel information. The following is a detailed description. 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.
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.