Hi,
I am not master of programming. This is my first attempt.
I wanted to make simple ‘Hello, world’, i use book “Complete Maya programming”
my CPP-file is:
#include <maya/MSimple.h>
#include <maya/MGlobal.h>
DeclareSimpleCommand( Hello, “2010”);
{
MStatus stat = MS::kSucces;
MGlobal::displayInfo("Hello World!
");
return stat
}
I’m working in VS 9 from MayaPluginWizard with MEL command
by compilling of my cpp i have: fatal error C1083: Cannot open include file: ‘winsock2.h’: No such file or directory
This error is in file mtypes.h - i did’t make this file, WHAT IS IT, HOW it have been made… Why?
In this file is “#include <winsock2.h>”. It need path? I find this file in Microsoft Visual Studio 9.0\SmartDevices\SDK…
How can i compile my Hello world?
All my additional lib are just from Maya. Should i add any more? Or make any environment variables?
I don’t have enough knowledge. Please, help me. I cant make something 2 days…(((((