Ptolemy NT Bugs

Compilation bugs

  • The Microsoft Visual C++ port (PTARCH == nt4.vc) is unlikely to build and has not been tested.
  • Compiling with Cygwin32 is slow. This is because Cygwin32 adds a layer to file access and other operations.
  • make failed with
    c:/tycho0.3.devel/mk/tycommon.mk:276: *** target pattern contains no `%'.
    

    The problem here was that ROOT was set to c:/tycho0.3devel. The colon was being interpreted by make, so setting ROOT to /tycho0.3devel fixed the problem.

  • make failed with:
    '\\carson\cxh\pt\obj.nt4\pigiRpc' is an invalid current directory
    path.  UNC paths are not supported.  Defaulting to Windows directory.
    The handle could not be duplicated during a pipe operation.
    

    The fix is to run make --unix, or do

    MAKE_MODE=unix
    export MAKE_MODE
    
  • Some of the tests in $PTOLEMY/src/octtools/Packages/oct fail.
  • Problems Starting Ptolemy

  • $PTOLEMY/bin/pigi prints warning messages about not being able to find xrdb. This is because /bin/sh.exe does not have a working type command. One workaround would be to copy bash.exe to /bin/sh.exe, though this will result in slower compiles.
  • Starting up pigi results in messages like:
    Error: Unable to load ptk startup file: : 
      can't find package tycho.kernel.basic: can't find
      package tycho.kernel.basic
        while executing
    "package require tycho.kernel.basic"
        (file "C:\tycho0.3devel/kernel/Tycho.tcl" line 255)
        invoked from within
    "source $path/kernel/Tycho.tcl"
    
    This message can occur if you have a standalone installation of Tycho installed. The workaround is to unset TYCHO before starting pigi:
    unset TYCHO
    pigi
    
  • If you see the following message, then you may need to upgrade to Cygwinb19.1.
    RPC Error: can not fdopen for write in application
    RPC Error: cannot connect to the server
    
  • Problems Running Ptolemy

  • If you have problems with pxgraph, see the Ptolemy NT Installation page, and $PTOLEMY/src/pxgraph/README.txt
  • The SDF Butterfly demo gives a bogus graph
  • The Matlab and Mathematica stars do not work.
  • The SDF Gaussian demo fails with:
    Error: no interpreter to evaluate 'expr 1024/8'
    
    This message comes from kernel/InvokeInterp.cc:
    // send a string to an external interpreter for evaluation
    const char*
    InvokeInterp :: interpreter(const char* expression) {
        Error::error("no interpreter to evaluate '", expression, "'.");
        return NULL;
    }
    
    My guess is that this has to do with the fact that there are multiple definitions of this method in the kernel, pigilib and ptcl.

  • Up to the Ptolemy under NT page - Back to Ptolemy NT Hints - Forward to Ptolemy NT Installation
    Copyright © 1997-1998, The Regents of the University of California. All rights reserved.
    Last updated: 05/28/98, comments to: cxh@eecs.berkeley.edu