GithubHelp home page GithubHelp logo

Comments (6)

nischram avatar nischram commented on June 15, 2024

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.

RalfJL avatar RalfJL commented on June 15, 2024

from e3dcgui.

nischram avatar nischram commented on June 15, 2024

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.

RalfJL avatar RalfJL commented on June 15, 2024

from e3dcgui.

nischram avatar nischram commented on June 15, 2024

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.

nischram avatar nischram commented on June 15, 2024

AES.h und AES.cpp von RalfJL mit Update 1.32 übernommen.

@ralf: Danke!!!

from e3dcgui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.