Comments (6)
Hallo Ralf,
mien Compiler verarbeitet "-m32" nicht:
pi@raspberrypi:~/E3dcGui $ make
rm watchdog screenSave GuiMain start stop RscpMain Frame/touchtest
g++ -O1 Watchdog.cpp -o watchdog
cc -O1 screenSave.c -o screenSave
cc -O1 GuiMain.c -o GuiMain
cc -O1 start.c -o start
cc -O1 stop.c -o stop
g++ -O3 -m32 RscpMain.cpp Rscp/RscpProtocol.cpp Rscp/AES.cpp Rscp/SocketConnection.cpp Rscp/RWData.cpp -o RscpMain
g++: error: unrecognized command line option ‘-m32’
Makefile:24: recipe for target 'RscpMain' failed
make: *** [RscpMain] Error 1
Meine Compiler Version ist:
pi@raspberrypi:~/E3dcGui $ sudo gcc --version
gcc (Raspbian 4.9.2-10) 4.9.2
Copyright (C) 2014 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Auch mit GCC 6 wird -m32 nicht verarbeitet:
pi@raspberrypi:~/E3dcGui $ g++-6 -O3 -m32 RscpMain.cpp Rscp/RscpProtocol.cpp Rscp/AES.cpp Rscp/SocketConnection.cpp Rscp/RWData.cpp -o RscpMain
g++-6: error: unrecognized command line option ‘-m32’
Ist die Option vielleicht nur für x86 Anwendungen, wie Windows.
Die E3dcGui Applikation wird von mir nur für den Raspberry Pi angeboten.
Bei den Optionen ist mir aufgefallen das ich "-O4" in den Makefile hatte, dies ist aber keine verwendbare Option. Im Code von E3DC wird "-O3" genutzt, ich habe das Makefile in V1.15 angepasst.
Danke für deine Hilfe!
Viele Grüße Nico
PS: ich hoffe es ist OK wenn ich auf deutsch Antworte. Englisch schreiben ist nicht meins!
from e3dcgui.
from e3dcgui.
Hallo Ralf,
da ich kein Programmierer bin und mich erst seit diesem Projekt mit c und c++ beschäftige, bin ich hier überfragt. Meine Applikation ist von mir für den Raspberry Pi ausgelegt und auf diesen ist das Compilieren bislang fehlerfrei, somit lasse ich die Option "-m32" erst einmal raus. Ich werden diese Issue vorerst schließen, aber ggf. wieder starten wenn der Pi mehr mit 64Bit genutzt wird und es bei meiner Applikation zu Problemen kommt. Vielleicht bekomme ich zur gegebenen Zeit bei E3DC dazu eine Aussage oder Hilfe.
Ich danke dir trotzdem recht herzlich für deine Mithilfe.
Viele Grüße Nico
from e3dcgui.
from e3dcgui.
Hallo Ralf,
danke für deine Mithilfe und dein Feedback.
Ich werde es bei Gelegenheit oder Bedarf mal testen.
Viele Grüße Nico
from e3dcgui.
AES.h und AES.cpp von RalfJL mit Update 1.32 übernommen.
@ralf: Danke!!!
from e3dcgui.
Related Issues (20)
- logo fehlt, Offset für DHT HOT 15
- [Installations Abbruch] Skriptfehler laut Ausgabe HOT 4
- Einstellung der Notstromreserve klappt nicht richtig HOT 1
- Seit V2.00 wird nur fix Schriftgröße 8 angezeigt und nicht 16 wie geplant HOT 1
- E3DCGui läuft aber keine Anzeige am PI Touchscreen HOT 1
- Ladepriosisierung für Wallbax HOT 5
- Eingabe von Werte als Popup HOT 1
- Ladesperrzeit und Entladesperrzeit setzen HOT 2
- E-Mail vom Watchdog werden nicht gesendet HOT 1
- Aktor wird nicht deaktiviert, wenn Zeitfenster gesetzt ist HOT 9
- Batterie-Limits am E3DC einstellen HOT 3
- Steuerung der Notstromfunktion via HM reagiert nicht richtig HOT 5
- Wallbox Stop-Button ohne Funktion
- Unknown tag 03840000 HOT 2
- Auslesen Hausverbrauch und Gesamtverbrauch Wallbox HOT 2
- Fehlende aktuelle Werte HOT 12
- [Question/Frage] Anzeige des Displays per interne Netzwerk IP HOT 2
- Daten werden nicht zur Homematic gesendet HOT 1
- E3dcGui auf Synology NAS HOT 2
- Bildschirmschoner HOT 2
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 e3dcgui.