Google Groups จะไม่รองรับโพสต์หรือการสมัครสมาชิก Usenet ใหม่อีกต่อไป โดยคุณจะยังคงดูเนื้อหาเดิมได้อยู่

vfs::zip not working for Win 64 bit?

ยอดดู 75 ครั้ง
ข้ามไปที่ข้อความที่ยังไม่อ่านรายการแรก

Alexandru

ยังไม่อ่าน,
9 ต.ค. 2560 20:36:019/10/60
ถึง
Hi,

I just tried to run the vfs package
package require vfs
and I get the error
couldn't load library "C:/Tcl/lib/vfs1.0/vfs10.dll": invalid argument
on a Win 7 64bit OS.

I this OS not supported?
What is the alternative?

Thanks
Alexandru

Rich

ยังไม่อ่าน,
9 ต.ค. 2560 22:24:189/10/60
ถึง
Alexandru <alexandr...@meshparts.de> wrote:
> Hi,
>
> I just tried to run the vfs package
> package require vfs
> and I get the error
> couldn't load library "C:/Tcl/lib/vfs1.0/vfs10.dll": invalid argument
> on a Win 7 64bit OS.

First guess, your vfs10.dll is a 32bit dll and your tcl is 64bit (or
the reverse, you have a 32-bit tcl and are trying to load a 64-bit
vfs10.dll).

Alexandru

ยังไม่อ่าน,
9 ต.ค. 2560 22:38:429/10/60
ถึง
Yes, but then the package does not support 64 bit, right?
Do I have to compile myself or is there a 64bit version somewhere?

Rich

ยังไม่อ่าน,
10 ต.ค. 2560 06:00:4610/10/60
ถึง
No necessarially. Windows will run both 32 and 64 bit executables (at
least for the windows installs I've seen).

But to load a dll, the dll *has* to match the bit-ness of the executable
(not the bit-ness of the windows os).

Mike Griffiths

ยังไม่อ่าน,
10 ต.ค. 2560 16:38:5610/10/60
ถึง
The package supports it, as long as you download a version with a 64-bit binary in it. Try http://teapot.activestate.com/package/name/vfs/ver/1.4.2/arch/win32-x86_64/file.zip (or use teacup to download it directly, if you have an ActiveState install/teacup available).

Alexandru

ยังไม่อ่าน,
11 ต.ค. 2560 00:14:4111/10/60
ถึง
Thanks Mike, that works.
I use a self-compiled Tcl using Paul Obermeier's BAWT framework.
I will ask him, if it's possible to include the vfs package per default in BAWT.

Furthermore I think there is a bug in the vfs package since
package require vfs::zip
does not work returning "package not found".

Regards
Alexandru

Alexandru

ยังไม่อ่าน,
11 ต.ค. 2560 05:08:1111/10/60
ถึง
Looks like the "package require vfs::zip" is not needed anymore, thow it's stated otherwise in http://wiki.tcl.tk/12832

"package require vfs" is enough to be able to call "vfs::zip".

Cheers
Alexandru

Mike Griffiths

ยังไม่อ่าน,
11 ต.ค. 2560 16:34:4411/10/60
ถึง
There is a separate vfs::zip package (see http://teapot.activestate.com/index for the full list of packages in teapot), though I guess the functionality must be bundled into the core vfs package now if it works without needing to download/'package require' the additional vfs::zip package.
ข้อความใหม่ 0 รายการ