firmata / firmata_test

Test application for the firmata protocol
33 stars 22 forks source link

Compile fails on a Mac - parts missing? #10

Open IowaDave opened 3 years ago

IowaDave commented 3 years ago

make fails with the following messages:

firmata_test.cpp:20:9: warning: unknown pragma ignored [-Wunknown-pragmas]

pragma implementation "firmata_test.h"

    ^

firmata_test.cpp:23:10: fatal error: 'wx/wxprec.h' file not found

include "wx/wxprec.h"

     ^~~~~~~~~~~~~

serial.cpp:18:10: fatal error: 'wx/wx.h' file not found

include <wx/wx.h>

     ^~~~~~~~~

1 warning and 1 error generated.

pgrawehr commented 3 years ago

I suspect you are missing a library. Try installing the wxwidgets library (sorry, I don't know how to do that on a mac)

lidonglei1 commented 3 years ago

brew install wxwidgets

IowaDave commented 3 years ago

These are helpful suggestions, I believe. Many thanks!

I pivoted to writing a test bank in Python. It seemed to be appropriate for our group's project, as we were developing a customized Firmata.

Much appreciated, y'all.

On Wed, Nov 17, 2021 at 1:31 AM lidonglei1 @.***> wrote:

brew install wxwidgets

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/firmata/firmata_test/issues/10#issuecomment-971397480, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIOVVUHA37BEACF6Q54JFD3UMNZADANCNFSM5DXSCXJQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.