Pulse-Oximeter-with-MAX3010X
Pulse-Oximeter-with-MAX3010X copied to clipboard
Error related to wxWidgets
Thanks for the documentation and readme.
I tried to compile the code but while I run command on my Mac OS, I get this error
g++ -o2 -o main.app main.cpp mathplot.cpp connectargsdlg.cpp serialport.cpp `wx-config --cxxflags --libs` --std=c++11 -m64
-bash: wx-config: command not found
main.cpp:1:10: fatal error: 'wx/wx.h' file not found
#include <wx/wx.h>
^~~~~~~~~
1 error generated.
mathplot.cpp:26:10: fatal error: 'wx/window.h' file not found
#include <wx/window.h>
^~~~~~~~~~~~~
1 error generated.
In file included from connectargsdlg.cpp:1:
./connectargsdlg.h:3:10: fatal error: 'wx/wx.h' file not found
#include <wx/wx.h>
^~~~~~~~~
1 error generated.
serialport.cpp:32:1: error: expected unqualified-id
{
^
1 error generated.
I tried to install wxWidget, but still issue persist. Any guide for this?
check wxwidgets version From terminal run "wx-config --version" command
if terminal show command not found
- From terminal run "brew install wxmac"
or
- add wxwidgets include and lib path to .bashrc or .bash_profile
reference : https://forums.wxwidgets.org/viewtopic.php?f=19&t=45837