参考halcon安装指导书

Installation Guide

Depending on your operating system, you can install, configure, and uninstall the dongle drivers manually using an auxiliary program that is part of each HALCON installation. Open a Windows Command Prompt or the dialog Start . Run and execute the program %HALCONROOT%\FLEXlm\%HALCONARCH%\ flexid9\haspdinst.exe in one of the following ways:

haspdinst opens a dialog explaining how to use haspdinst

haspdinst -info shows the status of the drivers

haspdinst -i installs the drivers

haspdinst -remove removes the drivers

! Please note that you need administrator privileges to install the drivers

! Note that in order to execute command line tools with administrator privileges, you will need to open ! a command shell using “Run as Administrator” and execute the tool from there (even if you are already logged in as administrator).

After installing the driver, you need to copy the architecture-dependent third-party FlexNetID9 library from FLEXlm\%HALCONARCH%\flexid9 to the Windows system directory. The DLL is named haspsrm_win64.dll for 64-bit systems, and must be copied to %WINDIR%\System32. On 32-bit systems or 64-bit systems using the 32-bit version of HALCON, the DLL haspsrm_win32.dll must be copied to %WINDIR%\System32 or %WINDIR%\SysWOW64, respectively.

以上:

1,使用命令行 haspdinst.exe -i 安装驱动(注意使用管理员权限打开命令行)

2,64位win7系统将 haspsrm_win64.dll 拷至 system32。

32位系统(或者64位系统安装32位halcon)haspsrm_win32.dll拷至 system32,SysWOW64

反正我全都拷过去。

Logo

魔乐社区(Modelers.cn) 是一个中立、公益的人工智能社区,提供人工智能工具、模型、数据的托管、展示与应用协同服务,为人工智能开发及爱好者搭建开放的学习交流平台。社区通过理事会方式运作,由全产业链共同建设、共同运营、共同享有,推动国产AI生态繁荣发展。

更多推荐