|
From: Axel B. <th...@th...> - 2004-08-05 17:05:52
|
BBands wrote: > Hello Axel, > > I have been helping maintain makefile.nt for win2k and > vc6 and was the one who put the /MT parameter in the > file to acommodate the pdf term. > > C:\PROGRA~1\MICROS~3\VC98\INCLUDE\io.h(240) : error > C2375: 'setmode' : redefinition; different linkage > NMAKE : fatal error U1077: 'cl' : return code '0x2' > Stop. > > I am happy to help if I can. ah, my old friend, the redefinition bug - but now I'm happy someone else stumbled on this. I solved it by just commenting out the lines in io.h (during the compile), for I have no "original linkage" given from anything so I cannot say which exact thing is causing the compiler to say that. so if you can come up with something useful solving this I would be very happy. When commenting out the setmode() lines in io.h the compilation should work just fine, BUT the application crashes when using gd functions. This is - due to the gd author - because VS .NET links against MSVCR71.DLL, and not against MSVCRT.DLL, against which the gd.lib is linked. So: if you managed to compile gd with your version of gnuplot, pleeeaaaasseeeee tell me how :-) for you HAVE to do something different. pdf I haven't tested so far .... . if it's linked against the same lib as gd.dll it might just crash, too :-( greetings, axel. |