Well, linux behaves a bit different with shared libraries (they are called .so instead of .dll here):
You don't need any .lib, you link directly to the .so, and usually the shared object is then placed in some special path (/usr/lib or /usr/local/lib), if you want to put it next to your application, you have to compile it with a rpath directive. CMake e.g. does this automatically.
Oh, MinGW btw usually does not create a .lib, it creates a .a
And about the warning:
This should fix it (to appear soon in my horde3d hg repository -.-):
Code:
diff --git a/Horde3D/Source/Horde3DEngine/utOpenGL.h b/Horde3D/Source/Horde3DEngine/utOpenGL.h
--- a/Horde3D/Source/Horde3DEngine/utOpenGL.h
+++ b/Horde3D/Source/Horde3DEngine/utOpenGL.h
@@ -23,9 +23,11 @@
#ifdef PLATFORM_WIN
# define WIN32_LEAN_AND_MEAN 1
-# define NOMINMAX
+# ifndef NOMINMAX
+# define NOMINMAX
+# endif
# include <windows.h>
-# include <stddef.h>
+# include <stddef.h>
# define GLAPI __declspec( dllimport )
# define GLAPIENTRY _stdcall
# define GLAPIENTRYP _stdcall *
@@ -38,7 +40,7 @@
# include <Carbon/Carbon.h>
# else
extern "C" void (*glXGetProcAddressARB( const unsigned char *procName ))( void );
-# endif
+# endif
#endif
#endif