Error getting from inclusion of new library

I need to implement new controller which uses some kind of algorithm to solve an optimization problem. I have found one open source codes from somewhere and used it in visual studio project solution successfully. I moved two files with both cpp and h files into library folder and included one of them into ArduCopter.cpp file.

I am getting an error from ios_base() function which is in the iostream -> ostream. I couldn’t solve the issue. One file uses ostream and I think that is the reason why I get the error. I suspect that the files may not be compatible with ardupilot or embedded coding.

I have open new topic in stackoverflow also with more detailed explanations. Please see the link here.

Hello,
Have you looked at ArduPilot developer’s wiki for the code structure and style: http://ardupilot.org/dev/

I suggest that once you get acquainted with the code, you ask on the developer channel: https://gitter.im/ArduPilot/ardupilot