Comments (3)
Hi sbfspot-team,
at first: thank u for u're awesome work.
I've installed sbfspot v.3.3.1 at my fathers raspberryPi V2 with raspbian-strech.
There were the following warnings during the installation:
pi@hetke_pv_raspberrypi:~/sbfspot.3/SBFspot $ sudo make install_sqlite
test -d bin/Release_SQLite || mkdir -p bin/Release_SQLite
test -d obj/Release_SQLite || mkdir -p obj/Release_SQLite
g++ -Wall -O2 -DUSE_SQLITE -c boost_ext.cpp -o obj/Release_SQLite/boost_ext.o
g++ -Wall -O2 -DUSE_SQLITE -c db_SQLite.cpp -o obj/Release_SQLite/db_SQLite.o
g++ -Wall -O2 -DUSE_SQLITE -c db_SQLite_Export.cpp -o obj/Release_SQLite/db_SQLite_Export.o
g++ -Wall -O2 -DUSE_SQLITE -c misc.cpp -o obj/Release_SQLite/misc.o
g++ -Wall -O2 -DUSE_SQLITE -c strptime.cpp -o obj/Release_SQLite/strptime.o
g++ -Wall -O2 -DUSE_SQLITE -c sunrise_sunset.cpp -o obj/Release_SQLite/sunrise_sunset.o
g++ -Wall -O2 -DUSE_SQLITE -c SBFNet.cpp -o obj/Release_SQLite/SBFNet.o
g++ -Wall -O2 -DUSE_SQLITE -c Bluetooth.cpp -o obj/Release_SQLite/Bluetooth.o
g++ -Wall -O2 -DUSE_SQLITE -c CSVexport.cpp -o obj/Release_SQLite/CSVexport.o
g++ -Wall -O2 -DUSE_SQLITE -c Ethernet.cpp -o obj/Release_SQLite/Ethernet.o
g++ -Wall -O2 -DUSE_SQLITE -c EventData.cpp -o obj/Release_SQLite/EventData.o
g++ -Wall -O2 -DUSE_SQLITE -c ArchData.cpp -o obj/Release_SQLite/ArchData.o
g++ -Wall -O2 -DUSE_SQLITE -c SBFspot.cpp -o obj/Release_SQLite/SBFspot.o
SBFspot.cpp: In function ‘E_SBFSPOT initialiseSMAConnection(InverterData*)’:
SBFspot.cpp:1408:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
if (DEBUG_NORMAL)
^~
SBFspot.cpp:1413:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’
do
^~
SBFspot.cpp: In function ‘int GetConfig(Config*)’:
SBFspot.cpp:2457:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
if (strlen(cfg->plantname) == 0)
^~
SBFspot.cpp:2460:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’
if (cfg->timezone.empty())
^~
SBFspot.cpp: In function ‘E_SBFSPOT setDeviceData(InverterData*, LriDef, uint16_t, Rec40S32&)’:
SBFspot.cpp:3252:5: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation]
else
^~~~
SBFspot.cpp:3255:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘els ’
return rc;
^~~~~~
SBFspot.cpp: In function ‘E_SBFSPOT getDeviceData(InverterData*, LriDef, uint16_t, Rec40S32&)’:
SBFspot.cpp:3280:5: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation]
else
^~~~
SBFspot.cpp:3283:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘els ’
int validPcktID = 0;
^~~
g++ -Wall -O2 -DUSE_SQLITE -c TagDefs.cpp -o obj/Release_SQLite/TagDefs.o
g++ -o bin/Release_SQLite/SBFspot obj/Release_SQLite/boost_ext.o obj/Release_SQLite/db_SQLite.o obj/Release_SQLite/db_SQLite_Export.o obj/Release_SQLite/misc.o obj/Release_SQLite/strptime.o obj/Release_SQLite/sunrise_sunset.o obj/Release_SQLite/SBFNet.o obj/Release_SQLite/Bluetooth.o obj/Release_SQLite/CSVexport.o obj/Release_SQLite/Ethernet.o obj/Release_SQLite/EventData.o obj/Release_SQLite/ArchData.o obj/Release_SQLite/SBFspot.o obj/Release_SQLite/TagDefs.o -s -lbluetooth -lboost_date_time -lboost_system -lpthread -lsqlite3
cp TagList*.txt bin/Release_SQLite
cp date_time_zonespec.csv bin/Release_SQLite
test -d /usr/local/bin/sbfspot.3 || mkdir -p /usr/local/bin/sbfspot.3
test -f /usr/local/bin/sbfspot.3/SBFspot.cfg || cp SBFspot.cfg /usr/local/bin/sbfspot.3/
cp -R bin/Release_SQLite/* /usr/local/bin/sbfspot.3/
pi@hetke_pv_raspberrypi:~/sbfspot.3/SBFspot $
Should I be worried?
from sbfspot.
No problem to ignore these warnings... I didn't compile it on Stretch until now.
See also issue 160
from sbfspot.
Ok,
thank you.
from sbfspot.
Related Issues (20)
- MQTT connection not possible with username/password HOT 6
- making mqtt topic unique with 2 inverters
- Can SBFspot be setup for Bookworm? HOT 3
- Unable to write to logfile HOT 4
- CRITICAL: Logon failed. Check 'USER' Password HOT 4
- Bluetooth crashes during the day
- stp6.0-3se-40 - unknown class and unknown inverter type HOT 1
- Update to 3.9.8 failed HOT 5
- Logon failed. Check 'USER' Password during installation HOT 6
- Not able to set inverter time HOT 5
- Unknown Inverter Type - SMA STP10.0-3SE-40 HOT 2
- Compile failure on Debian 12 - 64 bit HOT 2
- Corrupt data HOT 7
- error compiling on recent Armbian / arm debian with mariadb reference to deprecated include <mysql/mysql.h> HOT 2
- Problem after re-installing SBFspot HOT 11
- Partial ArchiveDayData after PacketID mismatch HOT 2
- Double data in Monthdata table HOT 11
- How to change update interval
- better_sqlite3.node'was compiled against a different Node.js version HOT 1
- Problem after some days of usage, connot connect via BT
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sbfspot.