[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Problems compiling ns-allinone
Hi,
I have downloaded and attempted to install ns-allinone. I have not managed to
get the whole project to install. Tcl/Tk install find as does OTcl but when the
script attempts to compile TclCl I get the following error:
rioja% gcc -c -I. -I../otcl -I../tkbox/include -I../tclbox/include -DNO_TK
-DUSE_SHM -DHAVE_LIBOTCL0_96 -DHAVE_OTCL_H -DHAVE_LIBTK8_0 -DHAVE_TK_H
-DHAVE_LIBTCL8_0 -DHAVE_TCL_H -O2 -o Tcl.o Tcl.cc
tclcl-mappings.h: In function `static int TclObjectHelper<T>::dispatch_(void *,
struct Tcl_Interp *, int, char **)':
In file included from tclcl.h:47,
from Tcl.cc:50:
tclcl-mappings.h:51: parse error before `::'
To attempt to counteract this problem I have installed the lastest version of
gcc and g++ (2.8.1) but this has not helped. I have been told there are
problems access static methods for templates, is this the error and if so how do
I work around it?
Thanks for any help
Rory Graves
-------------------------------------------------------------------
Implement a JVM - the ultimate way to screw up your mind.
-------------------------------------------------------------------