ctypes error: libdc1394 error: Failed to initialize libdc1394

后端 未结 7 1628
攒了一身酷
攒了一身酷 2020-12-02 06:12

I\'m trying to compile my program to a shared library that I can use from within Python code using ctypes.

The library compiles fine using this command:



        
7条回答
  •  无人及你
    2020-12-02 06:17

    I had similar issue with an Ubuntu precise running under VirtualBox. First I installed OpenCV following these instructions: https://help.ubuntu.com/community/OpenCV This fixed several issues I had trying other methods but the problem with libdc1394 was still there.

    libdc1394 error: Failed to initialize libdc1394
    

    I finally saw goran comment on the previous answer

    So I enabled the USB controller in virtualbox.... et voila! everything works perfectly!

    Thanks goran!

提交回复
热议问题