-
Notifications
You must be signed in to change notification settings - Fork 52
How to build on Windows
This page describes how to building BitMeterOS from source code on Windows.
There are a couple things you may need to install on your PC if you don't have them already:
- The easiest way to get a copy of the source code is to install Git
- To compile the source code you will need a C compiler and the 'make' utility - both of these are provided by MinGW.
Download the BitMeterOS source code from GitHub using the command
git clone git://github.com/codebox/bitmeteros.git
Change your working directory to 'build\windows' relative to the root of the project
cd bitmeteros\build\windows
Compile all the executables using the command
make all
If everything went as planned you should now have these seven .EXE files in the 'build\windows' folder (along with lots of '.o' files):
-
BitMeterCapture.exe
-
BitMeterCaptureService.exe
-
BitMeterWeb.exe
-
BitMeterWebService.exe
-
bmclient.exe
-
bmdb.exe
-
bmsync.exe
If you have problems getting this to work then please either post in the forum, or contact me directly - I will add solutions to common problems on this page as I find them
Before you install the application you should check that the values for EXE_DIR and APP_DATA_DIR given in the makefile look correct for your system - on my Windows XP machine they are correct but may need to be changed on some setups. To copy all the files into place and start up the services, run the command:
make install
You should then be able to see the web interface in your browser at the following url: