I've just switched to using Eclipse on Windows. I'm working on a static
library project that links against SDL and OpenGL. The project compiles
fine, but then I'm given "undefined reference" error messages for the
calls to functions of said libraries.
This is not surprising: for executable projects, there is the Project ->
Properties -> C/C++ Build -> Settings -> Tool Settings -> MinGW linker
option, but I couldn't find the same in a static library project. Where is
it, how does it work?
(note: it's a repost from eclipse.newcomer, where someone has pointed out
that linker flags can be sneaked in under Project -> Properties -> C/C++
Build -> Miscellaneous -> flags - that's a start, I'd appreciate a nudge
in the direction of anything more sophisticated.)