Linkage ordering is right, for sure.
What and how should I export from the static library?..
Again, situation:
1. app exe + static lib which uses opengl. app links static lib and libwinmm, libopengl32 and libglu32. All works.
2. app exe + static lib 1 + static lib 2 + static lib 3. 3 libs are made from one lib to build changes faster. app links all 3 libs and libwinmm, libopengl32 and libglu32. Nothing links, opengl too! What can it be?..
linkage order: libwinmm, libopengl32, libglu32, sl3, sl2, sl1 (as they depend on each other). Just absolutely nothing is linking, like there's no libs! They are, and paths are ok in 1 and 2, because bin dir is still the same...