How to compile HidMacros

Announcements, general discussion
Post Reply
admin
Site Admin
Posts: 735
Joined: 01 Nov 2010, 13:00
Location: Prague, Czech republic
Contact:

How to compile HidMacros

Post by admin » 01 Feb 2015, 23:41

I made 2 more commits to fix git repository and make the build easier. Now all dependencies (SimConnect, XPL and other headers) are included. Paths in main project were changed to relative.

So what you should do to compile HidMacros?
  • Delphi. When I was writing HidMacros there was free TurboDelphi available. I still have the instalation so can maintain the code even if TurboDelphi is no more available. You can buy some starter edition or you might own Delphi already. There's free alternative - Lazarus - so brave developers can try to convert HIDMacros to Lazarus project. I did this task for XPL plugin as I needed free 64bit compiler but GUI would be much more difficult (my expectation, not experience)
  • Clone git repository https://github.com/me2d13/hidmacros.git
  • Run Delphi, open project Delphi32b\HIDMacros.bsdproj
  • Build project (Shift F9). You should have exe in ..\out directory.
  • To run the exe you also need Winhook.dll. You can even copy it from HidMacros download package or build in using different (but included) project. Probably the easiest approach for sandbox test is to have working HidMacros from download package and just replace exe file from your build.
Any issues with build can be discussed in this thread.
Petr Medek
LUAmacros author

Post Reply