Hi. On Arch Linux (g++/gcc 8.2.1), building from sources failed with an error on "e-led.cpp". I would like to share my solution.
The file uses the "pow( )" function without include the math.h header. https://sourceforge.net/p/simulide/svnrepo/HEAD/tree/trunk/src/simulator/elements/e-led.cpp#l90
I added "#include <math.h>" in the includes section and then it's builded successfully.</math.h>
Same here with gcc 8.2.0 on debian sid.
There are also various spelling errors in the code. Just search for "Unkown" or "recieved"
Spelling errors? Please, can you provide more info aboout this issue?
simulide-0.3.10 grep -r -i recieved src/ src/simulator/elements/e-i2c.cpp: //printf("I²C Start conditcion recieved\n"); src/simulator/elements/e-i2c.cpp: //printf("I²C Stop conditcion recieved\n"); src/gpsim/modules/ssp.cc: // A clock has happened. Either we sent one or we recieved one. simulide-0.3.10 grep -r -i unkown src/ src/simulator/elements/processors/avrprocessor.cpp: QMessageBox::warning( 0, tr("Unkown Error:") src/simulator/elements/processors/picprocessor.cpp: QMessageBox::warning( 0, tr("Unkown Error:") src/simulator/elements/processors/picprocessor.cpp: QMessageBox::warning( 0, tr("Unkown Error:")
Ok, now i understand.
Thank you very much.
Hi.
On Arch Linux (g++/gcc 8.2.1), building from sources failed with an error on "e-led.cpp".
I would like to share my solution.
The file uses the "pow( )" function without include the math.h header.
https://sourceforge.net/p/simulide/svnrepo/HEAD/tree/trunk/src/simulator/elements/e-led.cpp#l90
I added "#include <math.h>" in the includes section and then it's builded successfully.</math.h>
Same here with gcc 8.2.0 on debian sid.
There are also various spelling errors in the code. Just search for "Unkown" or "recieved"
Spelling errors?
Please, can you provide more info aboout this issue?
Ok, now i understand.
Thank you very much.