Generate HPM Hook on windows¶
First you need to download and install Doxygen and Perl.
Doxygen: http://www.stack.nl/~dimitri/doxygen/download.html
Perl: http://www.activestate.com/activeperl/downloads
-
Run "Doxygen GUI frontend"
-
Click on "File" -> "Open"
-
Go on your Hercules folder -> "tools" -> "HPMHookGen" and select "doxygen.conf"
-
Now in the interface you will see Run, go on it.
-
Just click on "Run doxygen" and just close it.
-
Go on the "HPMHookGen" folder then run HPMHookGen.pl
Generate HPM Hook on Linux¶
Preparations (First Time)¶
First you have to install Doxygen and Perl. On Debian (Ubuntu) that may be achieved with:
After that, open a terminal at your Hercules root folder and run configure
note: This is required to be done once after you install Doxygen and Perl somake
recognizes that they are installed.
Generating HPM Hook¶
-
Change directories to tools/HPMHookGen/ folder
-
Run
make
HPM Hooks will be generated.
Troubleshooting: Can't locate XML/Simple.pm in @INC
¶
In case you have the error saying that it can't locate XML/Simple.pm
, you should install libxml-simple-perl
. On Debian/Ubuntu, you may run:
Once it installs, you can try running make
again and it should work.