If I set my project up like a DLL, can I compile it as a static library?
Greetings,
I am encountering an issue with a library that I compiled in a static library style, but which is actually configured in codeblocks to build in a dynamic link library style. Never find my headers when compiling like a static library and including in linking.
Can someone tell me why this is? :confused:
Re: If I set my project up like a DLL, can I compile it as a static library?
I think you should double check your Code::Blocks configuration to make sure your project is set up for static libraries if that's what you need.
Re: If I set my project up like a DLL, can I compile it as a static library?
Hello, I think you can check if you are using the correct file extension in your installation. For static libraries the file extension is usually .a or .lib, while for dynamic libraries it is .dll or .so