Unable to compile Sample code in Freematics Builder
Posted: Wed Aug 07, 2024 10:38 am
I recently received the Freematics OBDII interface and the Esprit board with the pre-installed OBD display code. Got it working, downloaded and unzipped the sample code and was able to upload it to the board without issue.
Next I made a couple very minor changes to the code and was able to get it to upload without issue. So, I made another change or two and it no longer compiled. So, I reverted back to the original file... same compile error. I dug through the builder log and I see the following:
fatal error: bt.h: No such file or directory
#include "bt.h"
^~~~~~
I don't see a bt.h file anywhere in the included library. I also can't find anything in any code that calls for it.
Keep in mind, this is failing to compile the original, unmodified code, in the folder structure (including libraries) exactly as it was in the zip file.
Maybe the zip file got corrupted, so I blew it all away, re-downloaded, recompiled and got the same error.
So I rebooted and tried again. Same error.
So I uninstalled Freematics Builder, reinstalled, loaded it, tried to build, and got the exact same error.
Anybody got any advice on what could be wrong or what I should try next? I'm beat before I can even get started here.
Next I made a couple very minor changes to the code and was able to get it to upload without issue. So, I made another change or two and it no longer compiled. So, I reverted back to the original file... same compile error. I dug through the builder log and I see the following:
fatal error: bt.h: No such file or directory
#include "bt.h"
^~~~~~
I don't see a bt.h file anywhere in the included library. I also can't find anything in any code that calls for it.
Keep in mind, this is failing to compile the original, unmodified code, in the folder structure (including libraries) exactly as it was in the zip file.
Maybe the zip file got corrupted, so I blew it all away, re-downloaded, recompiled and got the same error.
So I rebooted and tried again. Same error.
So I uninstalled Freematics Builder, reinstalled, loaded it, tried to build, and got the exact same error.
Anybody got any advice on what could be wrong or what I should try next? I'm beat before I can even get started here.