Compile error in TclModelBuilder

For developers writing C++, Fortran, Java, code who have questions or comments to make.

Moderators: silvia, selimgunay, Moderators

Post Reply
dynaryu
Posts: 8
Joined: Thu Jun 09, 2005 7:38 pm
Location: Geoscience Australia

Compile error in TclModelBuilder

Post by dynaryu »

I got error message as shown below during compiling OpenSees.

TclModelBuilder.cpp: In constructor `TclModelBuilder::TclModelBuilder(Domain&,
Tcl_Interp*, int, int)':
TclModelBuilder.cpp:314: error: invalid conversion from `int (*)(void*,
Tcl_Interp*, int, char**)' to `int (*)(void*, Tcl_Interp*, int, const
char**)''

Do you have any idea of how to correct it ??
Any help would be greatly appreciated.
fmk
Site Admin
Posts: 5884
Joined: Fri Jun 11, 2004 2:33 pm
Location: UC Berkeley
Contact:

Post by fmk »

you need -D_TCL84 in your C++ flags or go into OPS_Globals.h and set TCL_Char to be const char.
Post Reply