LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   To run .cc and .h file (https://www.linuxquestions.org/questions/linux-newbie-8/to-run-cc-and-h-file-4175537301/)

Keert 03-19-2015 11:05 PM

To run .cc and .h file
 
How to run/compile .cc and .h file in NS2 on Linux terminal......

knudfl 03-20-2015 05:23 AM

* ns2 : files.cc / files.h cannot be compiled individually.

If it's about existing files :
cd ns-2.xx/ && make clean && make


New files.cc must be added to 'Makefile.in' as file.o, section `OBJ_CC :
<TAB>folder/file1.o folder/file2.o \

... And then run ./install in the top directory ns-allinone-2.xx/.


-


All times are GMT -5. The time now is 06:04 PM.