orvski
11-12-2004, 09:17 PM
Found out that my old Visual STudio 6 wont be able to compile stuff for Maya6 and I read in the help file I need VisualStudio.NET 2003.. I cant really buy that right now so I found the VisualC++ Toolkit 2003 which I read is basically .NET without the IDE and extras.. Anyway, I tried compiling an example plugin that came in the devkit folder of maya6 which was HelloWorldCmd.cpp. I did it like this:
cl /LD /Ehsc /MD helloworld.cpp
but it spits out errors that seem to be syntax incompatibility:
MTypes.h - error C2632: 'char' followed by a 'bool' is illegal.
I tweaked those files, got everything to compile but when it got to the linking phase, i get the error: "LINK: fatal error: cannot open file msvcprt.lib"
I cannot find that lib, where can I get it? Or is there something I should pass to the compiler to compile it correctly? Please help, im just starting to read David Goulds book and Maya6 wants to go against me.
cl /LD /Ehsc /MD helloworld.cpp
but it spits out errors that seem to be syntax incompatibility:
MTypes.h - error C2632: 'char' followed by a 'bool' is illegal.
I tweaked those files, got everything to compile but when it got to the linking phase, i get the error: "LINK: fatal error: cannot open file msvcprt.lib"
I cannot find that lib, where can I get it? Or is there something I should pass to the compiler to compile it correctly? Please help, im just starting to read David Goulds book and Maya6 wants to go against me.
