Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changes between Version 2 and Version 3 of Ticket #314


Ignore:
Timestamp:
Jul 19, 2009, 3:52:01 AM (15 years ago)
Author:
landauf
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #314

    • Property Component changed from Cmake to ScriptEngine
  • Ticket #314 – Description

    v2 v3  
    11You can find three Tcl scripts in the media/tcl8.# directory where # is either 4 or 5. They don't really belong there and should be put in a folder like media/tcl-scripts. It also saves the redundancy.[[br]]
    22Unfortunately this involves telling Tcl somehow where to find the scripts. There is already a tcl lib path set somewhere to media/tcl-8.# but that it should really only point to the Tcl library directory.
     3
     4----
     5Addition (7/19/2009):
     6
     7This ticket is also related to #336. Maybe try to solve that first, because of it's higher priority.
     8
     9And another remark: The irk package (tcl8.x/irk) is also a custom package and doesn't belong to the native Tcl library. This package is loaded in the following way:
     10{{{
     11package require irk
     12}}}
     13Therefore we MUST adjust the Tcl library path so it will still find the custom packages (which is more than just a bunch of scriptfiles).
     14
     15You also have to adjust the execution path, because right now the interpreter uses the path to the Orxonox binary, which makes it impossible to use relative paths in the Tcl scripts (for example remote.tcl fails at the moment).