Image 01


Jeremy Gransden
yaWP (Yet Another Weather Plasmoid)

Plasma 4 Extensions 1198 comments

Score 85.8%
Mar 23 2013
I had to make a few changes to get this up and running on PCBSD.

1st I had to install cmake. Then while running the ./ script I got this error:

/home/jeremy/Downloads/yawp-0.3.3/applet/weatherdataprocessor.cpp:705: error: 'FLT_MAX' was not declared in this scope

Looking around google, I saw a few posts stating that adding math.h and float.h to the file would clear it.

I also ran into an error with include <values.h> so I commented it out of the weatherdataprocessor.cpp file.

After those changes, and a restart of KDE, all is well.

--- yawp-0.3.3/applet/weatherdataprocessor.cpp 2010-06-12 15:33:16.000000000 -0400
+++ 2010-06-25 18:32:01.000000000 -0400
@@ -23,7 +23,8 @@
#include "weatherdataprocessor.h"
#include "utils.h"
#include "logger/streamlogger.h"
+#include "math.h"
+#include "float.h"
//--- QT4 ---
#include <QDir>
#include <QFile>
@@ -37,7 +38,7 @@
#include <KTimeZones>
#include <KSystemTimeZones>

-#include <values.h>
+//#include <values.h>
#if KDE_IS_VERSION(4,3,70)
#include <KUnitConversion/Value>

- Jun 25 2010
Score 85.8%
Jun 25 2010