Skip to content
forked from gwillz/PyVicon

Python bindings for the Vicon Datastream SDK

License

Notifications You must be signed in to change notification settings

jaywilhelm/PyVicon

 
 

Repository files navigation

PyVicon for Linux!

Linux: Grab the 1.11 Vicon SDK, extract all of the libboost and libViconDataStream*.so to /usr/local/vicon Add to ~/.bashrc

export LD_LIBRARY_PATH=/usr/local/vicon:$LD_LIBRARY_PATH

Build the library:

cd python_vicon
python3 setup.py build
cp build/lib.linux-x86_64-3.8/pyvicon.cpython-38-x86_64-linux-gnu.so ./PyVicon.so

Test load in main repo directory

python3 test_load.py

Should print out ViconSDK version

Problems, try the CPP tester

cd python_vicon
g++ test.cpp /usr/local/vicon/libViconDataStreamSDK_CPP.so -o testvicon
./testvicon

Should print out version number of SDK

For Windows (No point anymore because ViconSDK has python support)

Must HAVE: https://www.microsoft.com/en-us/download/details.aspx?id=40784

Need to compile: http://landinghub.visualstudio.com/visual-cpp-build-tools https://wiki.python.org/moin/WindowsCompilers

Followed porting guide: https://docs.python.org/3/howto/cporting.html

Cannot find rc.exe? https://stackoverflow.com/questions/14372706/visual-studio-cant-build-due-to-rc-exe%22

About

Python bindings for the Vicon Datastream SDK

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 96.1%
  • Python 3.3%
  • Other 0.6%