Trying to get DRAWEXE to work after Opencascade .DEB install.

DRAWEXE fires up from any direct on the get go.
Although their issues with the CASROOT is not defined.
I believe I need to locate the env.ksh file:
jonas@unbuntu2:~$ locate env.ksh
/home/jonas/OCC_orig_tar/opencascade-6.2.0/ros/env.ksh
jonas@unbuntu2:~$
Bother… It looks like file didn’t get installed with the .deb
Hmm. Some reference’s along this line in:http://www.opencascade.org/org/forum/thread_12743/
I’m not sure what would be the “correct debian” place to put this, but I do believe this script needs edited and fired up with the execution of a terminal session to get DRAWEXE to work properly…

Just by chance, I had run the opencascade unistaller just prior to running the .deb Everytime I fired up at terminal session, it gave me a annoying error message because components where missing and didn’t want to fire up. So I rem’s out the line(I’m glad I didn’t delete it.)
Here it is: #source /opt/OpenCASCADE6.2.0/ros/env.ksh
So… I’m going to:

  • Unrem the line in my bashrc
  • Create the folder /opt/OpenCASCADE6.2.0/ros/
  • copy the folder /home/jonas/OCC_orig_tar/opencascade-6.2.0/ros/env.ksh
  • Edit env.ksh
  • Close the terminal and re-open it to get .bashrc to fire up
  • Execute DRAWEXE and see what happen

#!/bin/ksh -f
export CASROOT=/home/hazelsct/opencascade-6.2.0/ros
OS_NAME=uname
if [ -z “PATH” ];
then PATH=$CASROOT/../3rdparty/$OS_NAME/tcltk/bin:$CASROOT/$OS_NAME/bin;
else PATH=$CASROOT/../3rdparty/$OS_NAME/tcltk/bin:$CASROOT/$OS_NAME/bin:$PATH;
fi
export PATH
if [ -z “LD_LIBRARY_PATH” ];
then LD_LIBRARY_PATH=$CASROOT/../3rdparty/$OS_NAME/tcltk/lib:$CASROOT/$OS_NAME/lib;
else LD_LIBRARY_PATH=$CASROOT/../3rdparty/$OS_NAME/tcltk/lib:$CASROOT/$OS_NAME/lib:$LD_LIBRARY_PATH;
fi
export LD_LIBRARY_PATH
export CSF_MDTVFontDirectory=$CASROOT/src/FontMFT
export CSF_LANGUAGE=us
export MMGT_CLEAR=1
export CSF_EXCEPTION_PROMPT=1
export CSF_SHMessage=$CASROOT/src/SHMessage
export CSF_MDTVTexturesDirectory=$CASROOT/src/Textures
export CSF_XSMessage=$CASROOT/src/XSMessage
export CSF_StandardDefaults=$CASROOT/src/StdResource
export CSF_PluginDefaults=$CASROOT/src/StdResource
export CSF_XCAFDefaults=$CASROOT/src/StdResource
export CSF_StandardLiteDefaults=$CASROOT/src/StdResource
export CSF_GraphicShr=$CASROOT/$OS_NAME/lib/libTKOpenGl.so
export CSF_UnitsLexicon=$CASROOT/src/UnitsAPI/Lexi_Expr.dat
export CSF_UnitsDefinition=$CASROOT/src/UnitsAPI/Units.dat
export CSF_IGESDefaults=$CASROOT/src/XSTEPResource
export CSF_STEPDefaults=$CASROOT/src/XSTEPResource
export CSF_XmlOcafResource=$CASROOT/src/XmlOcafResource

export TCLHOME=$CASROOT/../3rdparty/$OS_NAME/tcltk
export TCLLIBPATH=$TCLHOME/lib
if [ $OS_NAME = “SunOS” ]; then
export ITK_LIBRARY=$TCLLIBPATH/itk3.2
export ITCL_LIBRARY=$TCLLIBPATH/itcl3.2
export TIX_LIBRARY=$TCLLIBPATH/tix8.1
export TK_LIBRARY=$TCLLIBPATH/tk8.4
export TCL_LIBRARY=$TCLLIBPATH/tcl8.4;
elif [ $OS_NAME = “Linux” ]; then
export ITK_LIBRARY=$TCLLIBPATH/itk3.2
export ITCL_LIBRARY=$TCLLIBPATH/itcl3.2
if [ -n “TIX_LIBRARY” ];
then TIX_LIBRARY=””;
fi
export TIX_LIBRARY
export TK_LIBRARY=$TCLLIBPATH/tk8.4
export TCL_LIBRARY=$TCLLIBPATH/tcl8.4
fi

Oh boy… I think this is going to need a little work.. I seem to recall reading something that setting the LD_LIBRARY_PATH is consider to be poor form( I know I have links on this in previous post)
I’m assuming that the this will be automatically taken by the debian standard implementation regardless of free or non free.
But then since part of this undertaking, is to parse the sections of opencascade that are free and non-free, that could affect what the CSF_ environment variables are pointing to. ugghh.
Thinking about this a little more, It would make sense that a lot of this over time would be in the non-free section and then slowly over time migrate to the free section.
Would that mean that the env.ksh file or equivalent would be adjusted with each new installment?
Ok, so what happens if OCC needs and environment variable that has stuff in both free and non-free? Will that cause a melt down, or can it cope with that?

Just of snicks and grins looking at CSF_MDTVFontDirectory:
jonas@unbuntu2:/opt/OpenCASCADE6.2.0/ros$ locate FontMFT
/home/jonas/OCC_orig_tar/opencascade-6.2.0/ros/src/FontMFT
/home/jonas/OCC_orig_tar/opencascade-6.2.0/ros/src/FontMFT/Utopia-Regular.mft
/home/jonas/OCC_orig_tar/opencascade-6.2.0/ros/src/FontMFT/Times-Roman.mft
/home/jonas/OCC_orig_tar/opencascade-6.2.0/ros/src/FontMFT/TABTXT06.mft
/home/jonas/OCC_orig_tar/opencascade-6.2.0/ros/src/FontMFT/FILES
/home/jonas/OCC_orig_tar/opencascade-6.2.0/ros/src/FontMFT/TABKJ.mft
/home/jonas/OCC_orig_tar/opencascade-6.2.0/ros/src/FontMFT/Courier-Italic.mft
/home/jonas/OCC_orig_tar/opencascade-6.2.0/ros/src/FontMFT/Helvetica-BoldOblique.mft
/home/jonas/OCC_orig_tar/opencascade-6.2.0/ros/src/FontMFT/Times.mft
/home/jonas/OCC_orig_tar/opencascade-6.2.0/ros/src/FontMFT/Helvetica-Bold.mft
/home/jonas/OCC_orig_tar/opencascade-6.2.0/ros/src/FontMFT/TABTXT07.mft
/home/jonas/OCC_orig_tar/opencascade-6.2.0/ros/src/FontMFT/TABHZ4.mft
/home/jonas/OCC_orig_tar/opencascade-6.2.0/ros/src/FontMFT/TABTXT08.mft
/home/jonas/OCC_orig_tar/opencascade-6.2.0/ros/src/FontMFT/Symbol.mft
/home/jonas/OCC_orig_tar/opencascade-6.2.0/ros/src/FontMFT/FontMFT.ReleaseNote
/home/jonas/OCC_orig_tar/opencascade-6.2.0/ros/src/FontMFT/TABHZ3.mft
/home/jonas/OCC_orig_tar/opencascade-6.2.0/ros/src/FontMFT/Times-Italic.mft
/home/jonas/OCC_orig_tar/opencascade-6.2.0/ros/src/FontMFT/TABTXT04.mft
/home/jonas/OCC_orig_tar/opencascade-6.2.0/ros/src/FontMFT/Helvetica.mft
/home/jonas/OCC_orig_tar/opencascade-6.2.0/ros/src/FontMFT/TABTXT01.mft
/home/jonas/OCC_orig_tar/opencascade-6.2.0/ros/src/FontMFT/Courier-Oblique.mft
/home/jonas/OCC_orig_tar/opencascade-6.2.0/ros/src/FontMFT/TABTXT02.mft
/home/jonas/OCC_orig_tar/opencascade-6.2.0/ros/src/FontMFT/TABTXT05.mft
/home/jonas/OCC_orig_tar/opencascade-6.2.0/ros/src/FontMFT/TABHZ1.mft
/home/jonas/OCC_orig_tar/opencascade-6.2.0/ros/src/FontMFT/Helvetica-Oblique.mft
/home/jonas/OCC_orig_tar/opencascade-6.2.0/ros/src/FontMFT/Defaultfont.mft
/home/jonas/OCC_orig_tar/opencascade-6.2.0/ros/src/FontMFT/TABTXT03.mft
/home/jonas/OCC_orig_tar/opencascade-6.2.0/ros/src/FontMFT/Times-Bold.mft
/home/jonas/OCC_orig_tar/opencascade-6.2.0/ros/src/FontMFT/TABHZ6.mft
/home/jonas/OCC_orig_tar/opencascade-6.2.0/ros/src/FontMFT/Courier.mft
/home/jonas/OCC_orig_tar/opencascade-6.2.0/ros/src/FontMFT/Courier-Bold.mft
/home/jonas/OCC_orig_tar/opencascade-6.2.0/ros/src/FontMFT/TABHZ2.mft
/home/jonas/OCC_orig_tar/opencascade-6.2.0/ros/src/FontMFT/Utopia-Italic.mft
/home/jonas/OCC_orig_tar/opencascade-6.2.0/ros/src/FontMFT/Times-BoldItalic.mft
/home/jonas/OCC_orig_tar/opencascade-6.2.0/ros/src/FontMFT/TABHZ5.mft
/home/jonas/OCC_orig_tar/opencascade-6.2.0/ros/src/FontMFT/Utopia-Bold.mft
/home/jonas/OCC_orig_tar/opencascade-6.2.0/ros/src/FontMFT/Courier-BoldItalic.mft
/home/jonas/OCC_orig_tar/opencascade-6.2.0/ros/src/FontMFT/Utopia-BoldItalic.mft
/home/jonas/OCC_orig_tar/opencascade-6.2.0/ros/src/FontMFT/TABTXT15.mft
/home/jonas/OCC_orig_tar/opencascade-6.2.0/ros/src/FontMFT/Helvetica-Medium.mft
/home/jonas/OCC_orig_tar/opencascade-6.2.0/ros/drv/FontMFT
jonas@unbuntu2:/opt/OpenCASCADE6.2.0/ros$ locate Utopia-Regular.mft
/home/jonas/OCC_orig_tar/opencascade-6.2.0/ros/src/FontMFT/Utopia-Regular.mft

I’m assuming over time that all this will have a proper place in the debian way of looking at things for now, I’m going to try this and see what happens:

export CASROOT=/home/hazelsct/opencascade-6.2.0/ros
OS_NAME=uname
Change to read:
export CASROOT=/home/jonas/OCC_orig_tar/opencascade-6.2.0/ros
OS_NAME=”Linux”

Oh man…. So much for me thinking, I know what I’m doing…. Hear are the results….
jonas@unbuntu2:~$ DRAWEXE
Draw[1]> Draw[2]> pload ALL
Plugin file name has not been specified. Defaults to DrawPlugin
Variable CSF_DrawPluginDefaults has not been explicitly defined. Set to /home/jonas/OCC_orig_tar/opencascade-6.2.0/ros/src/DrawResources
Parse Value ==> MODELING, OCAFKERNEL, DATAEXCHANGE
Parse aCurKey = MODELING
Parse aCurKey = OCAFKERNEL
Parse aCurKey = DATAEXCHANGE
Parse aCurKey =
Parse Value ==> TOPTEST
Parse aCurKey = TOPTEST
Parse aCurKey =
Parse Value ==> TKTopTest
Parse aCurKey = TKTopTest
Parse aCurKey =
Parse Value ==> DCAF
Parse aCurKey = DCAF
Parse aCurKey =
Parse Value ==> TKTopTest
Parse aCurKey = TKTopTest
Parse aCurKey =
Parse Value ==> TKDCAF
Parse aCurKey = TKDCAF
Parse aCurKey =
Parse Value ==> XDE, VISUALIZATION
Parse aCurKey = XDE
Parse aCurKey = VISUALIZATION
Parse aCurKey =
Parse Value ==> TKTopTest
Parse aCurKey = TKTopTest
Parse aCurKey =
Parse Value ==> TKDCAF
Parse aCurKey = TKDCAF
Parse aCurKey =
Parse Value ==> DATAEXCHANGEKERNEL, XDEDRAW
Parse aCurKey = DATAEXCHANGEKERNEL
Parse aCurKey = XDEDRAW
Parse aCurKey =
Parse Value ==> XSDRAW
Parse aCurKey = XSDRAW
Parse aCurKey =
Parse Value ==> TKXSDRAW
Parse aCurKey = TKXSDRAW
Parse aCurKey =
Parse Value ==> TKXDEDRAW
Parse aCurKey = TKXDEDRAW
Parse aCurKey =
Parse Value ==> TKXSDRAW
Parse aCurKey = TKXSDRAW
Parse aCurKey =
Parse Value ==> AISV
Parse aCurKey = AISV
Parse aCurKey =
Parse Value ==> TKXSDRAW
Parse aCurKey = TKXSDRAW
Parse aCurKey =
Parse Value ==> TKXDEDRAW
Parse aCurKey = TKXDEDRAW
Parse aCurKey =
Parse Value ==> TKViewerTest
Parse aCurKey = TKViewerTest
Parse aCurKey =
aResource = TOPTEST
Value ==> TKTopTest
could not open: TKTopTest ; reason: libtcl.so: cannot open shared object file: No such file or directory
An exception was caught 0xb7f57433 : Draw_Failure: Could not open: TKTopTest; reason: libtcl.so: cannot open shared object file: No such file or directory
** Exception ** 0xb7f57433 : Draw_Failure: Could not open: TKTopTest; reason: libtcl.so: cannot open shared object file: No such file or directory
Draw[3]>

Ok… This is going to take some time to resolve….. My wife asked me to dig out some rocks.. so she could plant some shrubs and trees. I dug out some rocks… Hit more rocks… Then I started hitting glass and metal, really old spark plugs, milk bottles, whiskey bottles, and old copper reservoir from a toilet(that was cool) and it looks like there might be an old porcelain sink that might be intact. So I’ve gone from hard digging with a shovel to gently sucking up dirt with a shop vac. Long story short, wife thinks it’s cool that I found some vintage circa(1920’s) in the back yard, but see just wants here shrubs planted…… Weather is probably, going to turn and I need to get to diggin. More later…
2008-04-29 American Idol on at the moment… Syesha so far is the only one who is somewhat impressive.  My wife really liked her dress.
Ok… lets see if I can take this on, one at at a time:
Plugin file name has not been specified. Defaults to DrawPlugin
Variable CSF_DrawPluginDefaults has not been explicitly defined. Set to /home/jonas/OCC_orig_tar/opencascade-6.2.0/ros/src/DrawResources

I’m wondering what we have for DrawResources
/home/jonas/OCC_orig_tar/opencascade-6.2.0/ros/src/DrawResources
/home/jonas/OCC_orig_tar/opencascade-6.2.0/ros/src/DrawResources/WOKcomplement.tcl
/home/jonas/OCC_orig_tar/opencascade-6.2.0/ros/src/DrawResources/Move.tcl
/home/jonas/OCC_orig_tar/opencascade-6.2.0/ros/src/DrawResources/test2xl
/home/jonas/OCC_orig_tar/opencascade-6.2.0/ros/src/DrawResources/FILES
/home/jonas/OCC_orig_tar/opencascade-6.2.0/ros/src/DrawResources/InitEnvironment.tcl
/home/jonas/OCC_orig_tar/opencascade-6.2.0/ros/src/DrawResources/BuildWorkbench.tcl
/home/jonas/OCC_orig_tar/opencascade-6.2.0/ros/src/DrawResources/DIFF.c
/home/jonas/OCC_orig_tar/opencascade-6.2.0/ros/src/DrawResources/demo.bat
/home/jonas/OCC_orig_tar/opencascade-6.2.0/ros/src/DrawResources/demo.tcl
/home/jonas/OCC_orig_tar/opencascade-6.2.0/ros/src/DrawResources/Tests.tcl
/home/jonas/OCC_orig_tar/opencascade-6.2.0/ros/src/DrawResources/OCAFDemo.tcl
/home/jonas/OCC_orig_tar/opencascade-6.2.0/ros/src/DrawResources/DrawTK.tcl
/home/jonas/OCC_orig_tar/opencascade-6.2.0/ros/src/DrawResources/mdltest
/home/jonas/OCC_orig_tar/opencascade-6.2.0/ros/src/DrawResources/Geometry.tcl
/home/jonas/OCC_orig_tar/opencascade-6.2.0/ros/src/DrawResources/Consultation.tcl
/home/jonas/OCC_orig_tar/opencascade-6.2.0/ros/src/DrawResources/DRAW.info
/home/jonas/OCC_orig_tar/opencascade-6.2.0/ros/src/DrawResources/tdoc
/home/jonas/OCC_orig_tar/opencascade-6.2.0/ros/src/DrawResources/DRAW.doc
/home/jonas/OCC_orig_tar/opencascade-6.2.0/ros/src/DrawResources/TKTopTest.tcl
/home/jonas/OCC_orig_tar/opencascade-6.2.0/ros/src/DrawResources/DrawDefault
/home/jonas/OCC_orig_tar/opencascade-6.2.0/ros/src/DrawResources/lamp.ico
/home/jonas/OCC_orig_tar/opencascade-6.2.0/ros/src/DrawResources/Grille.tcl
/home/jonas/OCC_orig_tar/opencascade-6.2.0/ros/src/DrawResources/StandardViews.tcl
/home/jonas/OCC_orig_tar/opencascade-6.2.0/ros/src/DrawResources/TestDraw.cxx
/home/jonas/OCC_orig_tar/opencascade-6.2.0/ros/src/DrawResources/DrawPlugin
/home/jonas/OCC_orig_tar/opencascade-6.2.0/ros/src/DrawResources/CURVES.tcl
/home/jonas/OCC_orig_tar/opencascade-6.2.0/ros/src/DrawResources/StandardCommands.tcl
/home/jonas/OCC_orig_tar/opencascade-6.2.0/ros/src/DrawResources/PROFIL.tcl
/home/jonas/OCC_orig_tar/opencascade-6.2.0/ros/src/DrawResources/mkdoc
/home/jonas/OCC_orig_tar/opencascade-6.2.0/ros/src/DrawResources/SURFACES.tcl
/home/jonas/OCC_orig_tar/opencascade-6.2.0/ros/src/DrawResources/Filtre.c
/home/jonas/OCC_orig_tar/opencascade-6.2.0/ros/src/DrawResources/demo
/home/jonas/OCC_orig_tar/opencascade-6.2.0/ros/src/DrawResources/Documentation.tcl
/home/jonas/OCC_orig_tar/opencascade-6.2.0/ros/src/DrawResources/ModelingDemo.tcl
/home/jonas/OCC_orig_tar/opencascade-6.2.0/ros/src/DrawResources/wing.brep
/home/jonas/OCC_orig_tar/opencascade-6.2.0/ros/src/DrawResources/SCAN.tcl
/home/jonas/OCC_orig_tar/opencascade-6.2.0/ros/src/DrawResources/DataExchangeDemo.tcl
/home/jonas/OCC_orig_tar/opencascade-6.2.0/ros/src/DrawResources/VisualizationDemo.tcl
/home/jonas/OCC_orig_tar/opencascade-6.2.0/ros/src/DrawResources/vmdltest
/home/jonas/OCC_orig_tar/opencascade-6.2.0/ros/src/DrawResources/idoc
/home/jonas/OCC_orig_tar/opencascade-6.2.0/ros/drv/DrawResources
jonas@unbuntu2:~$
Alrighty… I wonder if I can extrapolate something here from the error message and what I have here…
I did a quick  google search on CSF_DrawPluginDefaults and found this these references in the opencascade in 5.1.1 and 5.2 Release notes
Hmmm. I think 5.2 notes hold the key: www.opencascade.com/pub/doc/Release_Notes_5.2.pdf
Sounds like there might be something in DrawPlugin

jonas@unbuntu2:~$ locate DrawPlugin
/home/jonas/OCC_orig_tar/opencascade-6.2.0/ros/src/DrawResources/DrawPlugin
jonas@unbuntu2:~$ gedit /home/jonas/OCC_orig_tar/opencascade-6.2.0/ros/src/DrawResources/DrawPlugin

! Description of available plugins for DRAW Test Harness
! *****************************************************************************
!
! Format of the file is compliant with the standard Open CASCADE resource files
! (see the Resource_Manager.cdl file for details).
!
! Each key defines a sequence of either further keys or a name of the dynamic
! library. Keys can be nested down to an arbitrary level. However, make sure
! there are no cyclic dependencies (internal checks are not performed).
!
! For details how to implement a DRAW plugin refer to the Test Harness User’s
! Guide.
!
! To load a plugin use the following command in DRAW:
!
! Draw> pload [-PluginFileName] [[Key1] [Key2]…], where:
!     <-PluginFileName> – Defines the name of a resource file.
!                         If this parameter is omitted then the default name DrawPlugin
!                         is used.
!                         According to the Open CASCADE resource file management rules
!                         the environment variable CSF_<PluginFileName>Defaults must
!                         be set and point to the directory storing the file. If it is
!                         omitted then it defaults to $CASROOT/src/DrawResources.
!     [Key]             – Defines the key(s) enumerating plugins to be loaded.
!                         If no keys are specified then the key named DEFAULT is used
!                         (if there is no such in the file then no plugins are loaded).
!
!
! NOTE: Make sure the DATAEXCHANGE or XDE key succeeds the OCAF key in a sequence
!

DEFAULT            : MODELING
MODELING           : TOPTEST
VISUALIZATION      : AISV
OCAFKERNEL         : DCAF
DATAEXCHANGEKERNEL : XSDRAW
OCAF               : VISUALIZATION, OCAFKERNEL
DATAEXCHANGE       : XDE, VISUALIZATION
XDE                : DATAEXCHANGEKERNEL, XDEDRAW
FULL               : MODELING, OCAFKERNEL, VISUALIZATION
ALL                : MODELING, OCAFKERNEL, DATAEXCHANGE

TOPTEST            : TKTopTest
DCAF               : TKDCAF
AISV               : TKViewerTest
XSDRAW             : TKXSDRAW
XDEDRAW            : TKXDEDRAW

All Right… Something weird here: Behavior looks different then the non debian.. OCC.   The Parse stuff messages doesn’t show up in the other version… I guess the first thing to focus in on is  could not open: TKTopTest ; reason: libtcl.so: cannot open shared object file: No such file or directory
Ok… Now we’re getting somewhere locate doesn’t show that file anywhere..

Did a quick google found this:http://ubuntuforums.org/showthread.php?t=556314

This is starting to have a bin there done that quality to this….. This appears to be the fix.
sudo ln -s /usr/lib/libtk8.4.so.0 /usr/lib/libtk.so
sudo ln -s /usr/lib/libtcl8.4.so.0 /usr/lib/libtcl.so
Lets see if  I got this
jonas@unbuntu2:~$ locate libtcl.so
jonas@unbuntu2:~$ locate ibtk8.4.so
/usr/lib/libtk8.4.so
/usr/lib/libtk8.4.so.0
jonas@unbuntu2:~$ sudo ln -s /usr/lib/libtk8.4.so.0 /usr/lib/libtk.so
[sudo] password for jonas:
jonas@unbuntu2:~$ sudo ln -s /usr/lib/libtcl8.4.so.0 /usr/lib/libtcl.so
jonas@unbuntu2:~$

As the germans say….Daumen drücken:
jonas@unbuntu2:~$ DRAWEXE
Draw[1]> Draw[2]> pload ALL
Plugin file name has not been specified. Defaults to DrawPlugin
Variable CSF_DrawPluginDefaults has not been explicitly defined. Set to /home/jonas/OCC_orig_tar/opencascade-6.2.0/ros/src/DrawResources
Parse Value ==> MODELING, OCAFKERNEL, DATAEXCHANGE
Parse aCurKey = MODELING
Parse aCurKey = OCAFKERNEL
Parse aCurKey = DATAEXCHANGE
Parse aCurKey =
Parse Value ==> TOPTEST
Parse aCurKey = TOPTEST
Parse aCurKey =
Parse Value ==> TKTopTest
Parse aCurKey = TKTopTest
Parse aCurKey =
Parse Value ==> DCAF
Parse aCurKey = DCAF
Parse aCurKey =
Parse Value ==> TKTopTest
Parse aCurKey = TKTopTest
Parse aCurKey =
Parse Value ==> TKDCAF
Parse aCurKey = TKDCAF
Parse aCurKey =
Parse Value ==> XDE, VISUALIZATION
Parse aCurKey = XDE
Parse aCurKey = VISUALIZATION
Parse aCurKey =
Parse Value ==> TKTopTest
Parse aCurKey = TKTopTest
Parse aCurKey =
Parse Value ==> TKDCAF
Parse aCurKey = TKDCAF
Parse aCurKey =
Parse Value ==> DATAEXCHANGEKERNEL, XDEDRAW
Parse aCurKey = DATAEXCHANGEKERNEL
Parse aCurKey = XDEDRAW
Parse aCurKey =
Parse Value ==> XSDRAW
Parse aCurKey = XSDRAW
Parse aCurKey =
Parse Value ==> TKXSDRAW
Parse aCurKey = TKXSDRAW
Parse aCurKey =
Parse Value ==> TKXDEDRAW
Parse aCurKey = TKXDEDRAW
Parse aCurKey =
Parse Value ==> TKXSDRAW
Parse aCurKey = TKXSDRAW
Parse aCurKey =
Parse Value ==> AISV
Parse aCurKey = AISV
Parse aCurKey =
Parse Value ==> TKXSDRAW
Parse aCurKey = TKXSDRAW
Parse aCurKey =
Parse Value ==> TKXDEDRAW
Parse aCurKey = TKXDEDRAW
Parse aCurKey =
Parse Value ==> TKViewerTest
Parse aCurKey = TKViewerTest
Parse aCurKey =
aResource = TOPTEST
Value ==> TKTopTest
Load /home/jonas/OCC_orig_tar/opencascade-6.2.0/ros/src/DrawResources/TKTopTest.tcl TclScript
aResource = DCAF
Value ==> TKDCAF
Cannot load Debug Browser library. DFBrowser command is not attached
aResource = XSDRAW
Value ==> TKXSDRAW
aResource = XDEDRAW
Value ==> TKXDEDRAW
aResource = AISV
Value ==> TKViewerTest
1
Draw[3]>
Ok… Then… Back to where I left off with the non-debian install.

Poking around I guess the application can’t find libDFBrowser.so
jonas@unbuntu2:~$ locate libDFBrowser.so
/home/jonas/OCC_orig_tar/opencascade-6.2.0/tools/ocafbrowser/Linux/qt/lib/libDFBrowser.so
/home/jonas/OCC_orig_tar/opencascade-6.2.0/tools/ocafbrowser/Linux/fl/lib/libDFBrowser.so
All right lets try:
sudo ln -s  /home/jonas/OCC_orig_tar/opencascade-6.2.0/tools/ocafbrowser/Linux/fl/lib/libDFBrowser.so /usr/lib/libDFBrowser.so

Soo… Close
Need to do the following:
Load /home/jonas/OCC_orig_tar/opencascade-6.2.0/ros/src/DrawResources/TKTopTest.tcl TclScript (doesn’t seem right)

Cannot load Debug Browser library. DFBrowser command is not attached  (I think I’m missing something obvious, by the lack of posts on this….

This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *