Post Go back to editing

ToF SDK 3.0.0 - Unable to install/use the bindings - ImportError: DLL load failed: The specified module could not be found.

Category: Software
Product Number: EVAL-ADTF3175-NXZ
Software Version: SDK ToF 3.0.0

I connected an EVAL-ADTF3175-NXZ to a Windows PC, installed TOF_Evaluation_ADTF3175D-Rel3.0.0_EVAL package and the ADIToFGUI is correctly working.

Then I downloaded the source of the SDK version 3.0.0, configured the enviroment with all the software needed and compiled the source with the Python support (Python 3.7.9 x64 installed in the system).

After compilation the ADIToFGUI from the compiled SDK is also correctly working. But the Python interface no!

Testing the example first_frame.py it reports:

Traceback (most recent call last):
  File "first_frame.py", line 32, in <module>
    import aditofpython as tof
ImportError: DLL load failed: The specified module could not be found.

I checked the subfolder build/bindings/python/Release in which after compilation appeared the 3 files aditofpython.cp37-win_amd64.pyd, aditofpython.exp, aditofpython.lib.

Is there any action or configuration that I must carry on to let the Python examples work?

I checked all the AD Internet guides many times but I couldn't find any error in my compilation procedure.

I also ran the setup.py program (python setup.py install) but nothing changed.

In the past I successfully used the SDK Python support on a system composed by a Raspberry Pi 4 and a AD-FXTOF1-EBZ.