Hi, im having the same problem as you now, did you manage to solve the problem?
Albane Delos wrote: > > > Hi all, > > I am currently trying to make ns-2.34 work in Eclipse Galileo. Without > Eclipse it works and compiles just fine but in Eclipse I have the > following > errors: > > make all > Building file: ../ns_tclsh.cc > Invoking: GCC C++ Compiler > g++ -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"ns_tclsh.d" > -MT"ns_tclsh.d" -o"ns_tclsh.o" "../ns_tclsh.cc" > Dans le fichier inclus à partir de ../ns_tclsh.cc:28: > ../config.h:60:19: attention : tclcl.h : Aucun fichier ou dossier de ce > type > (No file or directory) > ../ns_tclsh.cc:34: erreur: ‘Tcl_Interp’ was not declared in this scope > ../ns_tclsh.cc:34: erreur: ‘interp’ was not declared in this scope > ../ns_tclsh.cc:35: erreur: expected ‘,’ or ‘;’ before ‘{’ token > ../ns_tclsh.cc: In function ‘int main(int, char**)’: > ../ns_tclsh.cc:52: erreur: ‘Tcl_Main’ was not declared in this scope > make: *** [ns_tclsh.o] Erreur 1 > > I work with ns-2.34 under Ubuntu 9.04. > The workspace for eclipse is ns-allinone-2.34. And the project directory > is > ns-2.34. > I am guessing the compiler can't find the file tclcl.h because it is not > actually in the project directory but I can't figure out how to resolve > the > problem. My environment variables LD_LIBRARY_PATH, and TCL_LIBRARY are > well > set. I have been looking everywhere but couldn't find anything that would > have helped me. > > Thanks for your time and answer. > > Albane > > > > -- > Albane Delos > +34 693 902 686 > > Étudiante à l'INSA de Lyon, département Télécommunications, Services et > Usages > Étudiante à l'UPC Barcelona, ETSETB (Escola Tècnica Superior d'Enginyeria > de > Telecomunicacions de Barcelona) > Étudiante à l'UPC Barcelona, Master of Science in Information and > Communication Technologies > > -- View this message in context: http://old.nabble.com/Problem-compiling-ns-2.34-with-eclipse-Galileo-under-ubuntu-tp26099324p28587102.html Sent from the ns-users mailing list archive at Nabble.com.