Dear list, I'd like to approach with another question:
I've tried to use the spdlib python bindings via the module spdpy2 to read and write spd files directly from python. I work natively on OS X 10.10.5 and tested also on Ubuntu 14.04 via a virtual machine. I've set PYTHONPATH to '.../anaconda/envs/spd/lib/python3.4/site-packages' but after importing spdpy2 following error occurs in OS X: In [1]: import spdpy2 --------------------------------------------------------------------------- ImportError Traceback (most recent call last) <ipython-input-1-9722b73e5961> in <module>() ----> 1 import spdpy2 /Users/.../anaconda/envs/spd/lib/python3.4/site-packages/spdpy2/__init__.py in <module>() 28 # import the bits of the C++ module _spdpy2 29 # that we want to be available at this level ---> 30 from ._spdpy2 import * ImportError: dlopen(/Users/.../anaconda/envs/spd/lib/python3.4/site-packages/spdpy2/_spdpy2.so, 2): Symbol not found: __ZNKSt5ctypeIcE13_M_widen_initEv Referenced from: /Users/.../anaconda/envs/spd/lib//./libboost_program_options.dylib Expected in: /usr/lib/libstdc++.6.dylib in /Users/.../anaconda/envs/spd/lib//./libboost_program_options.dylib Also in Ubuntu a (different) error occurs: >>> import spdpy2 Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/heinzel/miniconda/envs/spd/lib/python3.4/site-packages/spdpy2/__init__.py", line 30, in <module> from ._spdpy2 import * ImportError: No module named _spdpy2 I use the latest binaries provided via conda. On OS X I've also built the python module from source according to the instructions given in the readme. However, the same error occurs. I would very be happy if anybody could help with this. Without these bindings I have to import/export from my own python processings to spdlib commands with ASCII which is computationally and memory related extremely consumptive. Thanks a lot, Will ------------------------------------------------------------------------------ Go from Idea to Many App Stores Faster with Intel(R) XDK Give your users amazing mobile app experiences with Intel(R) XDK. Use one codebase in this all-in-one HTML5 development environment. Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs. http://pubads.g.doubleclick.net/gampad/clk?id=254741551&iu=/4140 _______________________________________________ spdlib-develop mailing list spdlib-develop@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/spdlib-develop