VC ++ 6.0 link problem

randef wrote on Friday, September 11, 2009:


Working with VC++6.0 I have a:
LINK : fatal error LNK1196: invalid or corrupt import object: unknown version
using lib-msvc = glfw.lib in VC98 lib and glfwdll.dll in the same dir as the program.
Then I did try to make a static lib with contents of lib in glfw-2.6/glfw/lib = no errors
but a lib file with 200Kb contents and when using this lib = a lot of glfw functions missing

What am I doing wrong?


elmindreda wrote on Friday, September 11, 2009:

You need to include the files in lib\win32 as well.

VS6 is very old and we don’t test GLFW in that environment. Any reason you’re not using a more up to date version such as VS 2008?

randef wrote on Saturday, September 12, 2009:

Yes, You are right, I should…
But VC++6 is so small and I’m so used to it…
Anyway I compiled the source files… zero errors… and tested a few examples and
everything works fine.
Thanks very much for this fine project Camilla.

robindegen wrote on Wednesday, September 23, 2009:

i know what you mean… i stuck to vc 6 for quite a long time… but now that
i’ve been using 2008 for about 2 years now… i never want to go back to that
old thing