I have compiling my mod in Linux. But when I try compile it in Windows, I have problems. Visual Studio 2008 show very many errors!! PowderToy - 95 error(s), 372 warning(s). I read wiki instruction and acted according instruction there. There aren't errors like "file "powder.h" not in such directory" in this errors. It's little fragment:
Compiling... air.c c:\users\?????????????.??????-??\documents\visual studio 2008\projects\powdertoy\includes\powder.h(213) : warning C4005: 'PT_NUM' : macro redefinition c:\users\?????????????.??????-??\documents\visual studio 2008\projects\powdertoy\includes\powder.h(205) : see previous definition of 'PT_NUM' c:\users\?????????????.??????-??\documents\visual studio 2008\projects\powdertoy\includes\powder.h(722) : warning C4305: 'initializing' : truncation from 'double' to 'float' graphics.c c:\users\?????????????.??????-??\documents\visual studio 2008\projects\powdertoy\includes\powder.h(213) : warning C4005: 'PT_NUM' : macro redefinition c:\users\?????????????.??????-??\documents\visual studio 2008\projects\powdertoy\includes\powder.h(205) : see previous definition of 'PT_NUM' c:\users\?????????????.??????-??\documents\visual studio 2008\projects\powdertoy\includes\powder.h(722) : warning C4305: 'initializing' : truncation from 'double' to 'float' c:\users\?????????????.??????-??\documents\visual studio 2008\projects\powdertoy\src\graphics.c(863) : warning C4090: 'function' : different 'const' qualifiers c:\users\?????????????.??????-??\documents\visual studio 2008\projects\powdertoy\src\graphics.c(1212) : warning C4244: 'function' : conversion from 'int' to 'float', possible loss of data c:\users\?????????????.??????-??\documents\visual studio 2008\projects\powdertoy\src\graphics.c(1213) : warning C4244: 'function' : conversion from 'int' to 'float', possible loss of data c:\users\?????????????.??????-??\documents\visual studio 2008\projects\powdertoy\src\graphics.c(1423) : warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. c:\program files\microsoft visual studio 9.0\vc\include\stdio.h(366) : see declaration of 'sprintf' c:\users\?????????????.??????-??\documents\visual studio 2008\projects\powdertoy\src\graphics.c(1435) : warning C4244: 'function' : conversion from 'float' to 'int', possible loss of data c:\users\?????????????.??????-??\documents\visual studio 2008\projects\powdertoy\src\graphics.c(1435) : warning C4244: 'function' : conversion from 'float' to 'int', possible loss of data c:\users\?????????????.??????-??\documents\visual studio 2008\projects\powdertoy\src\graphics.c(1436) : warning C4244: 'function' : conversion from 'float' to 'int', possible loss of data c:\users\?????????????.??????-??\documents\visual studio 2008\projects\powdertoy\src\graphics.c(1436) : warning C4244: 'function' : conversion from 'float' to 'int', possible loss of data c:\users\?????????????.??????-??\documents\visual studio 2008\projects\powdertoy\src\graphics.c(1436) : warning C4244: 'function' : conversion from 'float' to 'int', possible loss of data c:\users\?????????????.??????-??\documents\visual studio 2008\projects\powdertoy\src\graphics.c(1436) : warning C4244: 'function' : conversion from 'float' to 'int', possible loss of data c:\users\?????????????.??????-??\documents\visual studio 2008\projects\powdertoy\src\graphics.c(1437) : warning C4244: 'function' : conversion from 'float' to 'int', possible loss of data
The things you have pasted above are all warnings, not errors. Lots of warnings are generated when compiling Powder Toy, but it's only really the errors you need to worry about.