THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 05/01/2006 at 22:41, xxxxxxxx wrote:
Cinema 4D Version: 9.521
Platform: Windows ;
Language(s) : C++ ;
I am using Visual C++ 2005 Express Edition and I'm just trying to compile Cinema's SDK so I can begin learning to develop plugins in C++. As soon as I open the workspace into VC++ 2005 and compile it I get the following error:
c:\program files\cinema\9.521\resource\_api\c4d_pmain.cpp(5) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
Now, I have searched the forum for a 'windows.h' error but I shouldn't be getting these errors just trying to simply compile the SDK. I am also getting a linking error:
LINK : fatal error LNK1104: cannot open file 'odbc32.lib'
So, I'm thinking that something might need to be altered in VC++ 2005 to allow Cinema to compile correctly. Has anyone ran into similar problems?
Thanks in advance for any help.
On 05/01/2006 at 23:55, xxxxxxxx wrote:
One suggestion off the top of my head is to go to the main page here (Home link above) and open the PDF under "Cinema 4D goes 64-bit" (the link is "migration information"). Although this is for 64-bit plugins, it discusses an issue with Visual Studio 2005 (which may also occur in Express Edition). Go to Page 4 of the PDF, starting at the middle of the page.
On 06/01/2006 at 16:42, xxxxxxxx wrote:
Visual C++ Express Edition does not include the Platform SDK. You will need it to develop "native" applications.
For instructions, open the VC++ 2005 Help and search for "Platform SDK".