Coder Social home page Coder Social logo

libspot's People

Contributors

asiffer avatar milahu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

libspot's Issues

Arduino

Provide an official Arduino library.

`sort5` sorts in descending order

The sort5 functions must sort the 5 first values in ascending order instead. Despite appearances, this is not a critical issue since the number of initial data generally wipes this error.

Consider to use github action to build docs

I found a broken picture at this doc, and I try to fix it by create a new PR. But it seems like the documentation is built in local and push only the generated html files to github pages.

So I think using github action to build docs maybe a better way~

Golang

Provide a Go interface (sorry with cgo)

Please add installation instructions for Mac OS.

Hello there. I read your very excellent paper and came looking for this library (more specifically the python "bindings") so I could test it out myself.

Unfortunately, I am unfamiliar with the nuances of installing packages from source code. I have been trying to get libspot and python3-libspot installed all day. I don't even know what a makefile is, but I've been editing it trying to make it work based on stack overflow questions/answers.

Could you please provide a simple explanation of how to get going with the Python library when using Mac OS.

Thank you :)
Wes

undefined symbol: DSpot_new

I have downloaded the repository and created the shared object file libspot.so by running make and make install. I also installed the python bindings by running pip install pylibspot. When I run a test script (based on the example given in the website), I get the following error:

Traceback (most recent call last):
File "test_spot.py", line 10, in
import pylibspot as ps # name of the python3 package
File "/home/hari/.local/lib/python3.8/site-packages/pylibspot.py", line 196, in
LIBSPOT.DSpot_new.argtypes = [c_int, c_double, c_int, c_double, c_bool, c_bool,
File "/home/hari/anaconda3/lib/python3.8/ctypes/init.py", line 394, in getattr
func = self.getitem(name)
File "/home/hari/anaconda3/lib/python3.8/ctypes/init.py", line 399, in getitem
func = self._FuncPtr((name_or_ordinal, self))
AttributeError: /lib/libspot.so: undefined symbol: DSpot_new

Based on the build steps, the class DSpot_new is expected to be present in interface.o and it is present in the corresponding source and header files. What could be going wrong?

The error happens when I use the shared object file in Snap, also.

Note: I am unable to sudo apt install libspot libspot-dev because my Ubuntu distribution is focal and I get a Repository does not have a release file error.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.