From: Arjen M. <Arj...@de...> - 2015-04-10 17:55:57
|
Hi Shen-Yeh, Ah, so the Tcl shell program has a non-standard name and it is in a non-standard location. That explains a lot. One way out of this - I am reading the CMake files for this - is to set the following variables: -DTCL_LIBRARY_VERSION=86t -DTCLTK_POSSIBLE_BIN_PATHS= C:/DISK0001/Optimizer01/Worksp/SOURCE/Tcltk/Tcltk_8_6_0/tcl/win/Install_AMD64/bin/ My guess is that the library version variable will be enough, but I am not entirely sure :). Could you tell us the results of this attempt? (My other solutions would be: - Copy all the files to a directory like c:\tcl - keeping the proper directory layout in mind, so ...\bin for the executables and DLLs, ...\include etc. Copy the executable and the .lib file to files with a more traditional name - that is, drop the "t" suffix. - Or install ActiveState's distribution of Tcl/Tk) Regards, Arjen From: Shen-Yeh Chen [mailto:she...@ho...] Sent: Friday, April 10, 2015 5:24 PM To: Arjen Markus; Alan W. Irwin Cc: plp...@li... Subject: RE: [Plplot-general] Compile for tcl binding Here is the path of the executable C:/DISK0001/Optimizer01/Worksp/SOURCE/Tcltk/Tcltk_8_6_0/tcl/win/Install_AMD64/bin/tclsh86t.exe The /lib directory has the following files (along with other directories) tcl86t.lib tclConfig.sh tclooConfig.sh tclstub86.lib Actually, since I compile tcl by myself, I can not invoke tchsh86t.exe at an arbitrary directory. I have to go to the directory of the executable. That means I did not set up any related path with my Tcl at all. Could this be the problem ? Also, attached is the building message from cmake. Seems like I have to set the tcl bath explicitly ? Regards Chen > From: Arj...@de...<mailto:Arj...@de...> > To: she...@ho...<mailto:she...@ho...>; ir...@be...<mailto:ir...@be...> > CC: plp...@li...<mailto:plp...@li...> > Subject: RE: [Plplot-general] Compile for tcl binding > Date: Fri, 10 Apr 2015 11:36:35 +0000 > > Hi Shen-Yeh, > > > > > From: Shen-Yeh Chen [mailto:she...@ho...] > > Sent: Thursday, April 09, 2015 5:32 PM > > To: Arjen Markus; Alan W. Irwin > > Cc: plp...@li...<mailto:plp...@li...> > > Subject: RE: [Plplot-general] Compile for tcl binding > > > > Hi Arjen and Alan, > > > > Looking into both your replies, I think I did not properly set up a lot of path parameters for tcl LIB and INCLUDE. I am wondering what are the path environment variables that I have to setup ? Any instruction/documentation for reference ? > > Actually it is the task of CMake to find the Tcl installation. There should not be any need to set the LIB and INCLUDE paths explicitly. > > That said, the fact that CMake is not able to find Tcl makes me wonder. Could you do the following: > - Open a DOS-box and run the command tclsh. > - On the Tcl prompt that should appear, run: > > info nameofexecutable > > That should print the full name of the tclsh executable. Could you post that full name, along with the output from CMake itself? Could you also check that the Tcl installation includes various .lib files? (Just trying to think of as many things that could be causing the problems as possible) > > Regards, > > Arjen > > DISCLAIMER: This message is intended exclusively for the addressee(s) and may contain confidential and privileged information. If you are not the intended recipient please notify the sender immediately and destroy this message. Unauthorized use, disclosure or copying of this message is strictly prohibited. The foundation 'Stichting Deltares', which has its seat at Delft, The Netherlands, Commercial Registration Number 41146461, is not liable in any way whatsoever for consequences and/or damages resulting from the improper, incomplete and untimely dispatch, receipt and/or content of this e-mail. DISCLAIMER: This message is intended exclusively for the addressee(s) and may contain confidential and privileged information. If you are not the intended recipient please notify the sender immediately and destroy this message. Unauthorized use, disclosure or copying of this message is strictly prohibited. The foundation 'Stichting Deltares', which has its seat at Delft, The Netherlands, Commercial Registration Number 41146461, is not liable in any way whatsoever for consequences and/or damages resulting from the improper, incomplete and untimely dispatch, receipt and/or content of this e-mail. |