I'm developing with VS2008 and the native SDK. Anyway, I disklike the SDK interface a lot, and I just want to take more control over the machine by writing my own C++ classes to manage everything needed.
The problem indeed is that I simply cannot link against the entry.a library. When I do this, the linker gives me the following error:
1>DemoEngine.obj : error LNK2019: s?mbolo externo __lcd_set_frame sin resolver al que se hace referencia en la funci?n "public: __thiscall MyNamespace::MyEngine::MyEngine(void)" ([email protected]
Basically, a cannot resolve external symbol error.
I declare the function that way:
extern "C" void _lcd_set_frame(void);
I've looked for a way to link with .a files, and a lot of people on the Internet says that it is not possible to link a .a library against C++ code and see the symbols
I've searched for a tool to convert .a files to .lib ones but I've finally gave up.
Can somebody tell me how to use entry.a calls in my code? Can I do it by creating some kind of intermediate, pure C, static library that converts all .a entries to __declspec(dllimport) ones?
Thank you very much.