cast icon indicating copy to clipboard operation
cast copied to clipboard

Files pyclariuscast.so and libcast.so Cast Python Exmples

Open MarkWijkhuizen opened this issue 2 years ago • 7 comments

We just started using the Clarius US probes and wanted to read out frames in Python on a Windows machine. In the Cast Python example the following step is given:

Copy the python programs to the extracted libs folder (where pyclariuscast.so and libcast.so are placed).

Where could we find the pyclariuscast.so and libcast.so files?

MarkWijkhuizen avatar Nov 24 '23 07:11 MarkWijkhuizen

Hi, download the binaries from the release section https://github.com/clariusdev/cast/releases. Thanks!

julien-l avatar Nov 24 '23 17:11 julien-l

I've downloaded the cast-11.0.0-windows.x64.zip binary and the source code zip and still can't find pyclariuscast.so and libcast.so

AriBunnell avatar Dec 06 '23 22:12 AriBunnell

Shares object or .so files are for Unix like operating systems, you'll find dll and lib files only in Windows operating system packages

clariusk avatar Dec 06 '23 22:12 clariusk

Thank you! What additional setup needs to be done for the Windows package for the pyclariuscast module? I'm getting ModuleNotFoundError: No module named 'pyclariuscast' when trying to run examples/pycaster.py with the release and repo downloaded.

AriBunnell avatar Dec 06 '23 22:12 AriBunnell

Ensure the downloaded files (lib and dll for Windows) are in the same folder as the python script. We plan to make the installation process easier in the future.

julien-l avatar Dec 07 '23 07:12 julien-l

It appears that pyclariuscast.so is missing in the ubuntu 22 released binaries for version 11.1.

autonomousTurtle avatar Feb 12 '24 20:02 autonomousTurtle

The Linux packages were updated in the release section to include the missing pyclariuscast.so files--thank you for finding the issue. @AriBunnell you can re-download the Linux packages from the release section and try again.

julien-l avatar Feb 12 '24 23:02 julien-l