MEMS Scan build on Mac

93 views
Skip to first unread message

Andrew Jackson

unread,
Jul 26, 2019, 9:55:34 AM7/26/19
to MEMS Diagnostics
I'm trying to build Haro's MEMS Scan on a Mac.
I've battled through a few issues:

1. Needed to create a .PRO file using 'qmake -project' then adding 'QT += widgets core' to the end of the file
2. Added #include <cmath> to mainwindow.cpp

I can get it to compile but it fails linking with the following error:
ld: library not found for -lrosco

I had compiled and installed librosco but still no success.

How do I get it to link properly?

leopold....@t-online.de

unread,
Jul 26, 2019, 2:41:55 PM7/26/19
to MEMS Diagnostics
Ich habe vom Mac keine Ahnung aber bei windows mußt Du librosco.dll , windows.dll und zlib1.dll im QT/qtxx/ mingw xx  Verzeichnis zur Verfügung stellen, sonst geht da auch nichts.Vielleicht ist es beim Mac ähnlich.

Andrew Jackson

unread,
Jul 26, 2019, 2:48:14 PM7/26/19
to MEMS Diagnostics
In the past I have managed to compile the link memsgauge.
I have looked at the differences in CMakelist.txt between memsgauage and mems-scan but don't understand make files very well.
It seems to be looking for rosco not librosco so don't know if that's the problem?

I'll see if I need to move the librosco local to the mems-scan project - let you know what happens.


leopold....@t-online.de

unread,
Jul 27, 2019, 3:16:10 AM7/27/19
to MEMS Diagnostics
"It seems to be looking for rosco not librosco so don't know if that's the problem?"
In the early days of mems gauge, Colin had named the library only "rosco" so try to rename librosco to rosco or have a look to your makefiles and change rosco to librosco there.

leopold....@t-online.de

unread,
Jul 29, 2019, 2:22:07 AM7/29/19
to MEMS Diagnostics
Hi Andrew,
I had a look to your phyton libraries. What are
'inc_fuel_trim_alt'
'dec_fuel_trim_alt' ?

Andrew Jackson

unread,
Jul 29, 2019, 5:02:51 AM7/29/19
to MEMS Diagnostics

In the protocol definition it shows INC/DEC Fuel Trim twice. Not knowing the difference between these I have called the second set '_alt'. Do you know what these commands do?


79Increments fuel trim setting and returns the current value.79 xx, where the second byte is the counter value
7ADecrements fuel trim setting and returns the current value.7A xx, where the second byte is the counter value
7BIncrements fuel trim setting and returns the current value.7B xx, where the second byte is the counter value
7CDecrements fuel trim setting and returns the current value.7C xx, where the second byte is the counter value
Reply all
Reply to author
Forward
0 new messages