MEMS-Scan for Mac OS-X

170 views
Skip to first unread message

Andrew Jackson

unread,
Jul 31, 2019, 3:06:05 AM7/31/19
to MEMS Diagnostics
If there are Mac OS-X  people out there who would like a compiled installed version of Mems-Scan, an application based on MemsGauge you can find it here:

This is a forked version of the application but with no modifications except the Mac build and DMG.
It's difficult to build on the Mac without jumping through many hoops which I'm happy to share if there's demand.

im...@wso2.com

unread,
Aug 30, 2019, 2:10:05 AM8/30/19
to MEMS Diagnostics
Hi Andrew, do you have the updated CMakeLists.txt perchance. 

Also, I've been struggling with an issue with two methods specifically:

onResetAdjustmentsRequested
onResetECURequested

Unless I comment out this two I am unable to compile the Mac App. How did you overcome this? I'm new to CPP as well. 

This is what I used to build the app on my Mac btw:
elseif(APPLE)
  message (STATUS "Defaulting to MAC build environment.")

  #find_library (LIBROSCO_DYLIB librosco.dylib PATHS "/usr/local/lib")
  #target_link_libraries (${PNAME} ${LIBROSCO_DYLIB} Qt5::Widgets)
  target_link_libraries (${PNAME} rosco Qt5::Widgets)

  set (CPACK_GENERATOR "DRAGNDROP")
  set (CPACK_PACKAGE_NAME ${PROJECT_NAME})
  set (CPACK_PACKAGE_VERSION_MAJOR ${VER_MAJOR})
  set (CPACK_PACKAGE_VERSION_MINOR ${VER_MINOR})
  set (CPACK_PACKAGE_VERSION_PATCH ${VER_PATCH})
  set (CPACK_PACKAGE_DESCRIPTION_SUMMARY "Graphical display for data read from Rover MEMS 1.6 (Modular Engine Management System)")
  set (CPACK_PACKAGE_FILE_NAME "${PROJECT_NAME}-${VER_MAJOR}.${VER_MINOR}.${VER_PATCH}-${CMAKE_SYSTEM_NAME}-${CPACK_DEBIAN_PACKAGE_ARCHITECTURE}")
  set (CPACK_RESOURCE_FILE_LICENSE "${CMAKE_SOURCE_DIR}/LICENSE")
  set (CPACK_RESOURCE_FILE_README "${CMAKE_SOURCE_DIR}/README")
  include(CPack)

 

Andrew Jackson

unread,
Aug 30, 2019, 5:12:34 AM8/30/19
to MEMS Diagnostics
I have to comment out the code unfortunately in memsinterface.cpp
I have attached my .pro and CMakeList.txt for your reference.

MEMS-Scan.pro
CMakeLists.txt
memsinterface.cpp

Imaadh Rizni

unread,
Aug 30, 2019, 5:30:16 AM8/30/19
to MEMS Diagnostics
Noted.

Thanks, Andrew and great to see the stuff you've been doing. Just checked out the stuff on Github as well. Interesting. I'm forking all of them to play around over the weekend. Let's see how it goes :).

Regards,
Imaadh 

TK Wong

unread,
Apr 19, 2021, 6:54:53 AM4/19/21
to MEMS Diagnostics
hi andrew

i am on macos big sur. i cant seem to launch the app. please help. much tks

Andrew Jackson

unread,
Apr 20, 2021, 8:30:23 AM4/20/21
to MEMS Diagnostics
Hi TK

It might be worth downloading the latest version (2.3.4) from the website. (https://memsfcr.co.uk/download/)
Remove the old version from Applications first before installing.

If you still have issues let me know and I'll see if I can help.

Andrew


Reply all
Reply to author
Forward
0 new messages