标签:
参考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
反正我全都拷过去。
标签:
原文地址:http://www.cnblogs.com/Rmumu/p/4593857.html