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.