Hello,
I've been mostly doing my libraries with embedded projects which is quite easy. But last night I wanted to test an accessor function which can initialize the functions in the other libraries.
So I decided to test that in CODE::BLOCKS, but I had some issues preparing and linking a library, which worked after couple attempts.
Then I wanted to declare a variable in that library but I got an error! Why? and what to do now?
My setup is as follows:
1. I have a folder for the application program which contains the main function.
2. There's another folder beside the application program folder and contains the test library. And I defined and also declared a variable in this library but I got the error.