[tcljava-dev] Compiling tcljava under windows: what I am doing wrong?
Brought to you by:
mdejong
From: Georgios P. <pet...@ya...> - 2008-07-03 18:13:07
|
Hi all, I am using ActiveTcl 8.5.2 & tcljava 1.4.1, under vista ultimate, with VC++ 9. I am trying to write a cmake (www.cmake.org) script for compiling tcljava (mainly tclblend). I have managed to get tcljava.jar & tclblend.jar built with my script. Also, I am able to build tclblend.dll. But the problem is that I get a crash as soon as I try to load tclblend.dll :-) The crash happens in line 1031 of javaCmd.c: ThreadSpecificData *tsdPtr = TCL_TSD_INIT(&dataKey); Which suggests that I have done something silly with the tcl thread support stuff. I have compiled the code with -DTCL_THREADS (I took from tcl.h) and -DUSE_TCL_THREADS (which I added to look similar to USE_TCL_STUBS). Any ideas on what I am doing wrong? Regards, George |