FPSAutomaticAiming icon indicating copy to clipboard operation
FPSAutomaticAiming copied to clipboard

加载不到dll

Open KOLLSOFT opened this issue 3 years ago • 3 comments

err msg:

Fusing layers... Traceback (most recent call last): File "Main.py", line 12, in dll = cdll.LoadLibrary(r'lib/Dll.dll') # 加载用C语言封装过的“易键鼠”dll File "C:\Users\Test\anaconda3\envs\yolo\lib\ctypes_init_.py", line 451, in LoadLibrary return self.dlltype(name) File "C:\Users\Test\anaconda3\envs\yolo\lib\ctypes_init.py", line 373, in init self._handle = _dlopen(self._name, mode) FileNotFoundError: Could not find module 'D:\Work\opensource\FPSAutomaticAiming\lib\Dll.dll' (or one of its dependencies). Try using the full path with constructor syntax.


是需要安装其他的库吗?

KOLLSOFT avatar Sep 12 '21 15:09 KOLLSOFT

建议自己将dll重新封装编译一遍,因为每台电脑的环境都不太一样,不保证每个电脑都能用我封装的dll

chaoyu1999 avatar Sep 13 '21 10:09 chaoyu1999

https://github.com/chaoyu1999/FPSAutomaticAiming/blob/main/lib/dll%E5%B0%81%E8%A3%85%E9%A1%B9%E7%9B%AE.zip 封装dll的项目在这

chaoyu1999 avatar Sep 13 '21 10:09 chaoyu1999

怎么重写编译呀

tuziqq avatar May 01 '22 13:05 tuziqq