Hi Everyone!
I am a newbie for AHK and PMC. My current project utilizes OCR/image search and it is working as intended in PMC. However, I ran into a Vis2 lib issue after exporting my project to EXE or AHK. During EXE export, an error prompts "#include file cannot be opened. Specifically %My_Project_Folder_Path%\<Vis2>".
I can export my project as an ahk file without any issues, but after export, when running my project as an ahk file, an error prompts "Line Text: #include <Vis2> Error: Function library not found" . And program exits.
What should I do to resolve this issue? Is it because my settings are not set properly? Or is it causing by PMC installation issue? Maybe a bug?
I understand this is somehow related to the OCR library Vis2 being missing in exported file/folder. I guess I can download Vis2 from its GitHub and modify my ahk file include path to make the ahk work, but I am not sure how to resolve the EXE export error.
Any help/insight would be greatly appreciated.
Thanks
PMC 5.4.0
Windows 10
Autohotkey v1.1.33.00
Edit: Yes, I tried to put Vis2 project folder from its GitHub into my AutoHotKey library folder and path (all three locations listed in AHK docs https://www.autohotkey.com/docs/Functions.htm#lib ). No luck.
Help Appreciated! Vis2 Lib Error After Export as ahk/exe
Moderator: Pulover
Re: Help Appreciated! Vis2 Lib Error After Export as ahk/exe
Vis2 bin and lib folders must be placed in the same directory as your ahk/exe file.
Rodolfo U. Batista
Pulover's Macro Creator - Automation Tool (Recorder & Script Writer)
Pulover's Macro Creator - Automation Tool (Recorder & Script Writer)
Re: Help Appreciated! Vis2 Lib Error After Export as ahk/exe
@Pulover
Fixed! And just bought you a coffee via PayPal. Thank you so much for your work. It saved us A LOT of clicking, typing and checking
Fixed! And just bought you a coffee via PayPal. Thank you so much for your work. It saved us A LOT of clicking, typing and checking
Return to “Pulovers Macro Creator”
Who is online
Users browsing this forum: No registered users and 55 guests