FreeEMS-Loader
Re: FreeEMS-Loader
Pushed a change to the .gitignore!
Connect button still behaves weirdly. No other testing done.
Fred.
Connect button still behaves weirdly. No other testing done.
Fred.
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
Re: FreeEMS-Loader
You never pulled in my last commit, so I rebased it on top of your latest two. Please pull it in before proceeding :-)
Just built on deb sid and got these messages building:
And when pressing "connect" it changes to disconnect, but just says "qt slot fired" and doesn't seem to talk to the device. If you hit disconnect it doesn't change back to connect and just outputs qt slot fired again.
I'll try to build on win and mac now and post again when I've got more to say.
Fred.
Just built on deb sid and got these messages building:
Code: Select all
fred@roadeee [19:30:57]:src$ qmake
RCC: Warning: No resources in 'resource-root.qrc'.
fred@roadeee [19:31:05]:src$ make
Makefile:201: warning: overriding commands for target `moc_freeems_loader.cpp'
Makefile:195: warning: ignoring old commands for target `moc_freeems_loader.cpp'
Makefile:207: warning: overriding commands for target `moc_freeems_loader.cpp'
Makefile:201: warning: ignoring old commands for target `moc_freeems_loader.cpp'
Makefile:213: warning: overriding commands for target `moc_freeems_loader.cpp'
Makefile:207: warning: ignoring old commands for target `moc_freeems_loader.cpp'
Makefile:233: warning: overriding commands for target `ui_freeems_loader.h'
Makefile:230: warning: ignoring old commands for target `ui_freeems_loader.h'
Makefile:236: warning: overriding commands for target `ui_freeems_loader.h'
Makefile:233: warning: ignoring old commands for target `ui_freeems_loader.h'
Makefile:239: warning: overriding commands for target `ui_freeems_loader.h'
Makefile:236: warning: ignoring old commands for target `ui_freeems_loader.h'
Code: Select all
FreeEMS_LoaderComms.cpp: In member function ‘void FreeEMS_LoaderComms::read(char*, size_t)’:
FreeEMS_LoaderComms.cpp:135: warning: enumeration value ‘resultInProgress’ not handled in switch
FreeEMS_LoaderComms.cpp: In member function ‘std::string FreeEMS_LoaderComms::readStringUntil(const std::string&)’:
FreeEMS_LoaderComms.cpp:186: warning: enumeration value ‘resultInProgress’ not handled in switch
freeems_loader.cpp: In member function ‘void FreeEMS_Loader::redirectCLI()’:
freeems_loader.cpp:57: warning: unused variable ‘coutRedirector’
I'll try to build on win and mac now and post again when I've got more to say.
Fred.
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
Re: FreeEMS-Loader
Code: Select all
FreeEMS_LoaderComms.h:15:29: error: boost/utility.hpp: No such file or directory
FreeEMS_LoaderComms.h:16:26: error: boost/asio.hpp: No such file or directory
FreeEMS_LoaderComms.cpp:13:26: error: boost/bind.hpp: No such file or directory
Fred.
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
Re: FreeEMS-Loader
It wont build for me anymore:
Code: Select all
fred@roadeee [18:36:02]:src$ make
Makefile:203: warning: overriding commands for target `moc_freeems_loader.cpp'
Makefile:197: warning: ignoring old commands for target `moc_freeems_loader.cpp'
Makefile:209: warning: overriding commands for target `moc_freeems_loader.cpp'
Makefile:203: warning: ignoring old commands for target `moc_freeems_loader.cpp'
Makefile:215: warning: overriding commands for target `moc_freeems_loader.cpp'
Makefile:209: warning: ignoring old commands for target `moc_freeems_loader.cpp'
Makefile:235: warning: overriding commands for target `ui_freeems_loader.h'
Makefile:232: warning: ignoring old commands for target `ui_freeems_loader.h'
Makefile:238: warning: overriding commands for target `ui_freeems_loader.h'
Makefile:235: warning: ignoring old commands for target `ui_freeems_loader.h'
Makefile:241: warning: overriding commands for target `ui_freeems_loader.h'
Makefile:238: warning: ignoring old commands for target `ui_freeems_loader.h'
g++ -c -pipe -g -Wall -W -D_REENTRANT -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4 -I/usr/X11R6/include -I. -I. -o FreeEMS_LoaderParsing.o FreeEMS_LoaderParsing.cpp
In file included from FreeEMS_LoaderParsing.cpp:9:
freeems_loader_types.h:38: error: function definition does not declare parameters
freeems_loader_types.h:48: error: function definition does not declare parameters
make: *** [FreeEMS_LoaderParsing.o] Error 1
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
- SleepyKeys
- LQFP144 - On Top Of The Game
- Posts: 549
- Joined: Mon Feb 11, 2008 10:52 pm
- Location: Arizona
- Contact:
Re: FreeEMS-Loader
hmmmm...... builds on my system.
try
make clean
qmake
make all
try
make clean
qmake
make all
You snooze, you lose!
- SleepyKeys
- LQFP144 - On Top Of The Game
- Posts: 549
- Joined: Mon Feb 11, 2008 10:52 pm
- Location: Arizona
- Contact:
Re: FreeEMS-Loader
maybe now would be a good time to address this warning
freeems_loader_types.h:38: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x
freeems_loader_types.h:46: warning: deprecated conversion from string constant to ‘char*’
freeems_loader_types.h:38: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x
freeems_loader_types.h:46: warning: deprecated conversion from string constant to ‘char*’
You snooze, you lose!
Re: FreeEMS-Loader
-Wall -Werror are your friends :-)
I know that it's weird, of course I cleaned etc. I have no idea why it's broken... I'll try again on your next push / my next pull. Otherwise maybe a g++ upgrade.
I know that it's weird, of course I cleaned etc. I have no idea why it's broken... I'll try again on your next push / my next pull. Otherwise maybe a g++ upgrade.
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
Re: FreeEMS-Loader
Sean, I finally got the macports stuff built just a few minutes ago. Now all three of my build environments produce the same errors on those lines. Totally seperate and different environments! The ONLY common factor is ME :-) But they are all broken. I'm filing a bug report, damn it! :-)
Wait, I didn't see this before!!! :
freeems_loader_types.h:38: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x
That's the answer! Clearly you need to reformat those initialisers so that they're not of that newer type for my 3 older compilers, and they are all fairly recent, too, at that.
Fred.
Wait, I didn't see this before!!! :
freeems_loader_types.h:38: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x
That's the answer! Clearly you need to reformat those initialisers so that they're not of that newer type for my 3 older compilers, and they are all fairly recent, too, at that.
Fred.
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
Re: FreeEMS-Loader
Latest from the mighty mac, this is on macports, haven't tried fink yet, and seemed to need unix:INCLUDEPATH += /opt/local/include in the .pro file to make it work, but that could be my setup issues. In any case, it's back to a code issue again now, which means we're close to having it work on a mac:
EEE works, though! :-)
Code: Select all
freeems_loader.cpp: In member function ‘void FreeEMS_Loader::redirectCLI()’:
freeems_loader.cpp:65: error: cast from ‘StdRedirector<char, std::char_traits<char> >*’ to ‘int’ loses precision
cc1plus: warnings being treated as errors
/opt/local/include/boost/system/error_code.hpp: At global scope:
/opt/local/include/boost/system/error_code.hpp:214: warning: ‘boost::system::posix_category’ defined but not used
/opt/local/include/boost/system/error_code.hpp:215: warning: ‘boost::system::errno_ecat’ defined but not used
/opt/local/include/boost/system/error_code.hpp:216: warning: ‘boost::system::native_ecat’ defined but not used
/opt/local/include/boost/asio/error.hpp:251: warning: ‘boost::asio::error::system_category’ defined but not used
/opt/local/include/boost/asio/error.hpp:253: warning: ‘boost::asio::error::netdb_category’ defined but not used
/opt/local/include/boost/asio/error.hpp:255: warning: ‘boost::asio::error::addrinfo_category’ defined but not used
/opt/local/include/boost/asio/error.hpp:257: warning: ‘boost::asio::error::misc_category’ defined but not used
/opt/local/include/boost/asio/error.hpp:259: warning: ‘boost::asio::error::ssl_category’ defined but not used
make: *** [freeems_loader.o] Error 1
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
Re: FreeEMS-Loader
All fixed, congrats, Sean! Mac users will be happy to note that it builds just fine on the Mac using Macports. It may work with fink too, but that remains to be seen. I built it using the mac version of QT not the X11 version. The other should work the same. Anything else, I don't know about, but here is a screen shot:
http://stuff.fredcooke.com/FreeEMS.Load ... cports.png
Fred.
http://stuff.fredcooke.com/FreeEMS.Load ... cports.png
Fred.
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!