|
2010-06-23
| ||
| 12:52 | • Closed ticket [3020000fff]: After build the dynamic lib,no TclpInitLibraryPath s... artifact: 7023f6fd51 user: nijtmans | |
| 11:01 | • Ticket [3020000fff]: 1 change artifact: 4334eee8fe user: blackcat242 | |
| 11:01 | • Ticket [3020000fff]: 4 changes artifact: e723be0e84 user: blackcat242 | |
| 03:54 | • New ticket [3020000fff]. artifact: edd60c6fdb user: blackcat242 | |
After build the dynamic lib,no TclpInitLibraryPath symbol
Closed / Invalid3020000fffffffffffffffffffffffffffffffffCreated 16 years agoUpdated 16 years ago
Descriptionplain2010-06-23 03:54:33
I build the tcl in windows via the command "nmake -f makefile.vc OPTS=threads", build success. But when I used the tcl8.*.lib in my code, there is the link error. There is not "TclFindEncodings" and "TclpInitLock" symbol in the lib. You told me use Tcl_MutexLock to instead of TclpInitLock. But which one I should use to instead of TclFindEncodings?? I have another question that I used tcl8.3 before, and these symbol can be used in 8.3 release, why I can not use in the latest release?
blackcat242plain2010-06-23 11:01:31
sorry, the symbol that i can not find in the lib is TclpInitLibraryPath, not TclFindEncodings
blackcat242 Ticket [3020000fff]: 1 change
[History diff]2010-06-23 11:01:32
nijtmansplain2010-06-23 12:52:43
allow_comments - 1 My answer is: please use the public Tcl API. Apparently, your application uses internal API functions, which are not meant to be called from outside of Tcl. The problem with that is that those functions are undocumented and might change between Tcl releases. So, you are really on your own. However, initializing a Tcl interpreter from another application is not difficult. Just use Tcl_Main or Tk_Main (the easiest) or Tcl_FindExecutable/Tcl_CreateInterpreter/Tcl_Init. You will find everything you need starting with <http://wiki.tcl.tk/6276>
Log in (anonymous is fine) to add a comment.