Problem when compiling c++ using gcc

Feng Y feng6@uwindsor.ca
Sat Mar 20 15:40:00 GMT 2004


 Hi,
 
 I am new to Cygwin and I am using NS2 under cygwin-1.3.12.
When I tried to use gcc to compile some C++ code and
recompile NS, I met some problems. 
 
 I used the following command to compile the c++ file:
 gcc -o ping ping.cc
 
 I got the following messages:
 agent.h: No such file or directory
 tcltc.h: No such file or directory
 packet.h: No such file or directory
 ....
 
 How can I link these header files in NS directories?
 
 Thanks in advance.
 
 Yang
  
 

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list