OOP/C++ [encapsualtion] cannot add classes to project


#1

Hi,

I create new Open AT project, and I want to work on classes. So I add a class: HexData in eclipse but I cannot compile. How to add clasess to project?
What am I doing wrong? Please see below how I add class.

  1. Creating new project

  2. open created project with eclipse IDE

  3. Adding class: From File->New->Class I add HexData to project

  4. I add header file, to point to my new class, and it hasn’t been recognized.

Greetings,
Tom
5. So I add full path to my header, but it seems that open AT doesn’t recognize classes


#2

Note that all the Open-AT SDK as supplied is ANSI ‘C’ - not C++

So you’re going to have to do some groundwork to put C++ support in place, if you want it…


#3

Thanks for fast reply,

Yes I would like to have C++ support. How can I add C++ support to OpenAT? Where can I find more information about C++ support?

Thanks in advance,
Tom


#4

Unfortunately, the stupid forum software won’t allow you to use “C++” as a search term! :angry:

But try these:

viewtopic.php?f=19&t=1893&p=6978

viewtopic.php?f=19&t=2225&p=8214


#5

Thanks a lot,
I see there is lot of things to change. Will stay with structs and ANSI C

Greetings,
Tom