Scanalyze FAQ (Frequently Asked Questions)

  1. When I try to run Scanalyze, it fails on the assertion `toglCurrent != null'
  2. I'm having problems building Scanalyze 1.0.3 on my Linux system


1. When I try to run Scanalyze, it fails on the assertion `toglCurrent != null'

This run-time error is almost always due to an improperly set SCANALYZE_DIR environmental variable. You need to set this variable to point to the directory containing the executable and .tcl files. On Windows, for example:

   set SCANALYZE_DIR=C:\Program Files\Scanalyze\scanalyze-1.0.3


2. I'm having problems building Scanalyze 1.0.3 on my Linux system

Michael Goesele of TU Darmstadt contributes his experience with making Scanalyze build on his SUSE Linux 10.2 system (64 bit version) with gcc version 4.1.2:

   I just compiled scanalyze on my new system here in Darmstadt and ran
   into a few problems:

   1. I needed to add some permissive flags in                            
      auxlibs/dist/mixkit/mix-config.Linux:

      CFLAGS = -g -O2 -fpermissive
      CXXFLAGS = -g -O2 -fpermissive

   2. I had to add an "#undef isfinite" statement in Pnt3.h (isfinite
      was defined as function and macro which yields a very cryptic error
      message):              

      #include
      #undef isfinite
      #include             

   3. I had to make another change to the Makedefs.Linux file (removing
      the -march flag):

      TARGET =
      #TARGET = -march=i686


Back to Scanalyze homepage