Hi guys, I’m doing a porting of my neural net libraries.
I have some stupid problem of include dependencies which I can’t solve.
Basically a class called NeuronBP is described in 2 files
I modified the makefile to produce the .o file and is working.
Now because NeuronBP.h is using the LCD screen i would like to include the orangutanlcd so I tried something like.
// System Includes
.......... code here
You are programming in C++, so you need to use the C++ version of the functions. Instead of print(), use OrangutanLCD::print(), and so on. In the library documentation, the C++ functions are colored green. That should help you…but it is also a bit confusing that you are including two different copies of OrangutanLCD.h from two different places. There’s no need, as far as I can tell, for NeuronBP.h to include OrangutanLCD.h, since none of the code in NeuronBP.h depends on OrangutanLCD.h being included. NeuronBP.cpp should (and does) include OrangutanLCD.h, but it should be including it from the system include directory (with ) instead of a local directory (with “quotes”).
Anyway, I hope that helps you get it working - please let us know if you have more questions!