Open CASCADE, the 3D modelling kernel
3D modeling & numerical simulation

Search the Forums
See All Topics
Open CASCADEShowroomGet it!Developer CornerSupport and ProductsAbout us
Technical overview
Areas of use
Advantages
FAQ
Screenshots
Shape factory
Shape gallery
Demonstrations
What's new
System requirements
Download Center
Public license
Documentation
Getting started
Forums
Open Source community
Training and e-learning
A-la Carte Support
Value-added software
Complementary Components
Customer Corner
Company Profile
Marketing Materials
Contact Us
News
Home / Developer Corner / Forums / Installation and building / Problem with wok on Windows XP with OCC650

Problem with wok on Windows XP with OCC650

Problem with wok on Windows XP with OCC650
Denis Teissandier 2011/06/01 12:51
Hi,

when i try to launch wok, I can see this message :

E:\OCC650\wok\site>E:/Tcl/bin/tclsh.exe
couldn't load library "E:/OCC650/ros/../wok/lib/wnt/wokcmd.dll": invalid argument

Who has an idea about this problem ?

Regards,
Denis Teissandier

You can see the complete list of details :

E:\OCC650\wok\site>rem configuration OCC65

E:\OCC650\wok\site>REM *** set CASROOT variable ***
E:\OCC650\wok\site>set CASROOT=E:/OCC650/ros

E:\OCC650\wok\site>REM *** set TBBBIN variable ***
E:\OCC650\wok\site>set TBBBIN=E:/OCC650/ros/../3rdpart/win32/tbb/bin

E:\OCC650\wok\site>REM *** set variables for TCL/TK ***
E:\OCC650\wok\site>set TCLHOME=E:/Tcl
E:\OCC650\wok\site>set TCLBIN=E:/Tcl/bin
E:\OCC650\wok\site>set TCLLIB=E:/Tcl/lib
E:\OCC650\wok\site>set TCL_LIBRARY=E:/Tcl/lib/tcl8.5
E:\OCC650\wok\site>set TK_LIBRARY=E:/Tcl/lib/tk8.5
E:\OCC650\wok\site>set TCLX_LIBRARY=E:/Tcl/lib/teapo/package/win32-ix86/lib/Tclx8.4
E:\OCC650\wok\site>set TCLLIBPATH=E:/Tcl/bin E:/Tcl/lib E:/Tcl/lib/tcl8.5 E:/Tcl/lib/tk8.5 E:/Tcl/lib/teapot/package/win32-ix86/lib/Tclx8.4

E:\OCC650\wok\site>REM *** set variable for WOK ***
E:\OCC650\wok\site>set WOKHOME=E:/OCC650/ros/../wok
E:\OCC650\wok\site>set WOK_ROOTADMDIR=E:/OCC650/ros/../wok/wok_entities

E:\OCC650\wok\site>REM *** set additional variables ***
E:\OCC650\wok\site>set HOME=E:/OCC650/ros/../wok/site
E:\OCC650\wok\site>set TCL_RCFILE=E:/OCC650/ros/../wok/site/tclshrc.tcl
E:\OCC650\wok\site>set BISON_SIMPLE=E:/OCC650/ros/../wok/lib/wnt/bison.simple

E:\OCC650\wok\site>REM *** set PATH variable ***
E:\OCC650\wok\site>set PATH=E:/Tcl/bin;E:/OCC650/ros/../wok/lib/wnt;E:/OCC650/ros/../3rdparty/win32/tbb/bin;C:\MVS8\Common7\IDE;C:\MVS8\VC\BIN;C:\MVS8\Common7\Tools;C:\SDK\Windows\v6.1\Bin;C:\WINDOWS\Microsoft.NET\Framework\v3.0;C:\MVS8\VC\VCPackages;E:\Tcl\bin;C:\Program Files\AMD APP\bin\x86;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\ATI Technologies\ATI.AC\Core-Static;C:\Program Files\NTRU Cryptosystems\NTRU TCG Software Stack\bin\;C:\Program Files\Wave Systems Corp\Gemalto\Access Client\v5\

E:\OCC650\wok\site>E:/Tcl/bin/tclsh.exe
couldn't load library "E:/OCC650/ros/../wok/lib/wnt/wokcmd.dll": invalid argument
tclsh> wokcd OS
couldn't load library "E:/OCC650/ros/../wok/lib/wnt/wokcmd.dll": invalid argument
tclsh>
Forum supervisor 2011/06/01 14:17
Hi Denis,
Probably Redistributable package is not installed.
Try to launch depends.exe after environment definition
and send report.
Regards
Denis Teissandier 2011/06/06 10:25
Hi Forum Supervisor,

Depends.exe does not work from the wok environment.

The redistribuable package is installed.

Here a list of the installed softwares and packages:

- Microsoft .NET Compact Framework 3.5
- Microsoft .NET Framework 2.0 Service Pack 2
- Microsoft .NET Framework 3.0 Service Pack 2
- Microsoft .NET Framework 3.5 SP1
- Microsoft MSDN 2005 - FRA
- Microsoft Visual C++ 2005 - FRA
- Microsoft Visual C++ 2005 Redistributable
- Microsoft Visual C++ 2008 Redistributable - x86 9.0.30729.4148
- Microsoft Visual C++ Compilers 2008 Standart Edition - enu - x86
- Microsoft Windows SDK for Windows Server 2008 (6001.18000.367)
- Module de prise en charge linguistique de Microsoft .NET Framework 2.0 - FRA

Best regards,

Denis
Denis Teissandier 2011/06/06 17:10
Hi Forum Supervisor,

I have installed the dependencies walker package.
I vahe built WOK from the downloaded source archive.

The problem remains the same :

E:/Tcl/bin/tclsh.exe
couldn't load library "E:/OCC650/ros/../wok/lib/wnt/wokcmd.dll": invalid argument
tclsh>
Forum supervisor 2011/06/06 17:25
Hi Denis,
Did you check dependencies of tclsh.exe in your wok environment?
We need report of DependsWalker to help you.
Regards
Denis Teissandier 2011/06/06 17:48
Here the dependencies of tclsh.exe in a .dwi file (joined file)

Best regards,

Denis
You have to be logged in to download the attached file
Forum supervisor 2011/06/07 08:22
Hi Denis,
In addition send, please dependency report of
../wok/lib/wnt/wokcmd.dll.
Regards
Denis Teissandier 2011/06/07 10:01
Here the dependency report of wokcmd.dll

Regards
You have to be logged in to download the attached file
Forum supervisor 2011/06/07 13:07
It seems, that the problem is in bad configuration of WOK. According to the forum posts I can suppose, that directory ../wok/lib/wnt does not consist TKernel.dll and TKAdvTools.dll or these files are older then built by you WOK binaries. Could you please send the full format list of files (date, time and size) in directory ../wok/lib/wnt.
Regards
Denis Teissandier 2011/06/07 15:01
Here the list of ..\wok\lib\wnt :

E:\OCC650\wok\lib\wnt>dir
Le volume dans le lecteur E s'appelle occ
Le numéro de série du volume est 98CB-A6B0

Répertoire de E:\OCC650\wok\lib\wnt

31/05/2011 17:27 <REP> .
31/05/2011 17:27 <REP> ..
31/05/2011 17:11 77 824 acpp.exe
31/05/2011 17:11 152 064 awk.exe
31/05/2011 17:11 101 888 bison.exe
31/05/2011 17:11 6 811 bison.hairy
31/05/2011 17:11 16 148 bison.simple
31/05/2011 17:11 56 832 byacc.exe
31/05/2011 17:11 48 128 cat.exe
31/05/2011 17:11 20 480 chmod.exe
31/05/2011 17:11 11 776 cmp.exe
31/05/2011 17:11 62 464 compress.exe
31/05/2011 17:11 11 264 cp.exe
31/05/2011 17:11 27 648 d2u.exe
31/05/2011 17:11 218 624 diff.exe
31/05/2011 17:11 40 960 DOS2UNIX.EXE
31/05/2011 17:11 47 104 ENV.EXE
31/05/2011 17:11 82 944 find.exe
31/05/2011 17:11 175 616 flex.exe
31/05/2011 17:11 72 192 grep.exe
31/05/2011 17:11 172 032 gzip.exe
31/05/2011 17:11 63 488 ls.exe
31/05/2011 17:11 12 288 mscmd.dll
31/05/2011 17:11 65 536 mv.exe
31/05/2011 17:11 7 168 pwd.exe
31/05/2011 17:11 59 904 rm.exe
31/05/2011 17:11 81 408 sed.exe
31/05/2011 17:11 101 888 tar.exe
31/05/2011 17:11 790 528 TKAdvTools.dll
31/05/2011 17:11 413 696 TKCDLFront.dll
31/05/2011 17:11 106 496 TKCPPClient.dll
31/05/2011 17:11 192 512 TKCPPExt.dll
31/05/2011 17:11 77 824 TKCPPIntExt.dll
31/05/2011 17:11 131 072 TKCPPJini.dll
31/05/2011 17:11 69 632 TKCSFDBSchema.dll
31/05/2011 17:11 2 121 728 TKernel.dll
31/05/2011 17:11 184 320 TKIDLFront.dll
31/05/2011 17:11 36 864 TKTCPPExt.dll
31/05/2011 17:11 3 547 136 TKWOK.dll
31/05/2011 17:11 151 552 TKWOKTcl.dll
31/05/2011 17:11 9 198 u2d.exe
31/05/2011 17:11 43 008 uname.exe
31/05/2011 17:11 70 144 uncompress.exe
31/05/2011 17:11 51 712 uudecode.exe
31/05/2011 17:11 45 056 uuencode.exe
31/05/2011 17:11 111 616 which.exe
31/05/2011 17:11 21 504 wokcmd.dll
31/05/2011 17:11 18 432 wokdeliverysteps.dll
31/05/2011 17:11 10 240 wokdfltsteps.dll
31/05/2011 17:11 11 776 wokobjssteps.dll
31/05/2011 17:11 16 384 wokorbixsteps.dll
31/05/2011 17:11 14 848 wokprocess.exe
31/05/2011 17:11 19 968 woksh.exe
31/05/2011 17:11 31 744 woksteps.dll
31/05/2011 17:11 12 288 woktoolscmd.dll
31/05/2011 17:11 10 240 wokutilscmd.dll
54 fichier(s) 10 115 997 octets
2 Rép(s) 30 153 666 560 octets libres

E:\OCC650\wok\lib\wnt>
Forum supervisor 2011/06/07 16:26
Dear Denis,
The reported by you problem
"couldn't load library "E:/OCC650/ros/../wok/lib/wnt/wokcmd.dll": invalid argument"
is a standard error due to incompatibility of Tcl version and built WOK libraries.
Via Forum it is enough difficult to locate the real reason of your problems.
I can propose you a next solution:
1) download binary versions of WOK & TCLTK & OCCT 6.5.0 and try with it. It should work.
2) contact us via Contact Form http://www.opencascade.org/about/contacts/ if you need
a specific solution for your environment (for example, you use another version of TCLTK kernel...). We can make Skype session to discuss all details.
Regards


Denis Teissandier 2011/06/07 19:10
Can you confirm the release of TCL/TK required for WOK ?

I have tried with the binaries of the release 8.5 (downloaded from http://www.tcl.tk/software/tcltk/8.5.html), the binaries of WOK and the binaries of OCCT650.

The release of TCL/TK downloaded with OCCT650 does not include the package TClx8.4.

Thank you very much for your help.

Best regards,

Denis
Forum supervisor 2011/06/08 09:56
Dear Denis,
You can find Tcl/Tk binaries in OCCT6.5.0 delivery. We built OCCT6.5.0 and WOK binaries with ActiveState Tcl/Tk binaries v.8.5.8, so we recommend to use the same release of Tcl/Tk.
Package TclX8.4 now is a part of Tcl/Tk back-compatible package and we included this package in OCCT release. We use the following line in OCCT environment file:
set "TCLX_LIBRARY=%TCLLIBPATH%\teapot\package\win32-ix86\lib\Tclx8.4"
So, you can find TclX8.4 binaries at the specified path.
Regards
Denis Teissandier 2011/06/10 23:34
Dear Forum Supervisor,

I can not launch wok with OCCT6.5.0 and wok binaries using Tcl/Tk binaries delivered with OCCT6.5.0.

The message is always the same :
couldn't load library "E:/OCC650/ros/../wok/lib/wnt/wokcmd.dll": invalid argument

regards,

Denis
Forum supervisor 2011/06/14 10:02
Dear Denis,
We checked once again the posted problem with WOK using available links for downloading (OCCT650 and WOK) and instructions for WOK installation - INSTALL.txt - delivered inside WOK package.
The used compiler - Microsoft Visual C++ 2005 77626-009-0536867-41037 with SP1.
Resolution - the problem was not reproduced.
So, very probably the problem is in your local environment.
If you will not succeed using this standard way I just can propose you contact us via Contact Form http://www.opencascade.org/about/contacts/.
Regards
Denis Teissandier 2011/07/29 12:05
I have finally found the problem on the msdn site.

The message : "couldn't load library "E:/OCC650/ros/../wok/lib/wnt/wokcmd.dll": invalid argument"
is due to Internet Explorer !!!

After a first launch of IE, wok is working perfectly.
I do not know exactly what hapen on the system during the first launch of IE.

This problem is reproductible.

In my staff, we used to use Firefox.

Regards,

Denis

 
 
Latest news
  • Open CASCADE Technology 6.7.0 is available for download!
  • Open CASCADE Technology 6.6.0 is available for download!
  • Open CASCADE Technology 6.5.5 is available for download!

  • © OPEN CASCADE 2000 - 2014  |  Search  |  Contacts   |  Site map