helloworldbasic in linux (sdk60_30)

Login to reply to this topic.
Thu, 2007-06-28 23:14
Joined: 2007-06-28
Forum posts: 1

Oki guys,
I've almost ported sdk60_30 to unix (without use of wine).
The only problem I still got is makefile.
Considering HalloWorldBasic, there are the following files:

halloworldbasicapplication.cpp
halloworldbasicappui.cpp
halloworldbasicdocument.cpp
halloworldbasicappview.cpp

and
halloworldbasic.cpp

Got no problems compiling the first 4 of them.
But whenever I want to compile halloworldbasic.cpp got an error:

[C++   ] ../src/helloworldbasic
../src/helloworldbasic.cpp: In function `class CApaApplication * NewApplication()':
../src/helloworldbasic.cpp:23: cannot allocate an object of type `CHelloWorldBasicApplication'
../src/helloworldbasic.cpp:23:   since the following virtual functions are abstract:
../src/helloworldbasic.cpp:23:  class CApaAppInfoFileReader * CApaApplication::OpenAppInfoFileLC() const
make: *** [../src/helloworldbasic.o] Error 1

I can guess that I need to include some file to the compilation process.. some kind of aifspec or mbm. But HalloWorldBasic dir does not contain any of that. How to do it?

Apart from the steps above I've managed to compile resource file
halloworldbasic.rsc

What's next?

Thank you in advance.

  • Login to reply to this topic.