"metawear/core/connection.h" was moved to "metawear/platform/btle_connection.h" in a later release, looks like the documentation wasn't updated to reflect the change. That issue aside, it also looks like your g++ flags are not correct. Please post your g++ command as well as the compile errors.
@mogambo said:
Hey, I am facing the same problem.
The command is used was just "make sampleFile" which is g++ sampleFile.cpp -o sampleFile.
What is the correct way?
Comments
#include "metawear/core/metawearboard.h"
int main(int argc, char **argv) {
MblMwBtleConnection btle_conn = { write_gatt_char, read_gatt_char, enable_char_notify };
MblMwMetaWearBoard* board = mbl_mw_metawearboard_create(&btle_conn);
}
Hey, I am facing the same problem.
The command is used was just "make sampleFile" which is g++ sampleFile.cpp -o sampleFile.
What is the correct way?
Add the usual g++ include and library flags