Menu

Google Search


Calendar

« October 2017 »
Su Mo Tu We Th Fr Sa
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31        

Categories

Recently...

Syndicate

Policies

« Previous | Next»

Building Solarpowerlog under Windows

Posted by coldtobi | 25 Jun, 2009, 21:06

Here's a short how-to to build solarpowerlog for win32, using cygwin as emulation layer.

1. Get cygwin (http://www.cygwin.com) and install (with their dependencies...)

  • autoconf
  • automake
  • g++
  • pkg-config
  • make
  • phyton
  • libtool (maybe uneeded.)
  • phyton

 

2. Get the sources for

        Note: Version 1.3.2 -- if you see a version 1.2 you found the wrong project)

 

 

  • (.. and of course solarpowerlog)
 

Building the libraries:

Use a bash shell for the following (the windows command shell is unsuitable)

Untar archives to for example /cygdrive/c/src (avoid spaces in dir names!)

eg. tar xzf libconfig-1.3.2.tar.gz

 

libconfig:

cd libconfig-<directory>

./configure --libdir=/usr/lib

make

make install

 

libboost:

cd boost_1_39_0

./bootstrap.sh

./bjam install –-prefix=/usr/lib

(note: If it says, something 39 failed: this is ok)

 

solarpowerlog:

cd solarpowerlog

./configure

make

 

If everythings fine, you'll find solarpowerlog.exe in the src-direcrtory. As solarpowerlog is a console programm*, you can start it right-away with src/solarpowerlog.exe

 

 * read: there is no GUI!

Development | Comments (0) | Trackbacks (0)

0 Comments | "Building Solarpowerlog under Windows" »