On 29/05/2015 at 15:45, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 14
Platform: Windows ;
Language(s) : C++ ;
---------
I coded a plugin in Xcode (I always start on Mac OS).
It is working fine.
Then I took the project to Windows and compiled an x64 file (cdl64) in Visual Studio 11. But when I try to create a simple .cdl, the resulting code is not even loaded in R14.
So, I decided to try to compile the .cdl file in Visual Studio 10 (I used to compile .cdl files there, with success).
But now I'm getting all these errors:
2>c:\program files (x86)\microsoft visual studio 10.0\vc\include\xlocale(323) : warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc
2>c:\program files\maxon\cinema 4d r14\plugins\polypaintfrommaterial\source\polypaintfrommaterial.cpp(188) : error C2065: 'BaseArray' : undeclared identifier
2>c:\program files\maxon\cinema 4d r14\plugins\polypaintfrommaterial\source\polypaintfrommaterial.cpp(188) : error C2059: syntax error : '>'
2>c:\program files\maxon\cinema 4d r14\plugins\polypaintfrommaterial\source\polypaintfrommaterial.cpp(189) : error C2065: 'BaseArray' : undeclared identifier
2>c:\program files\maxon\cinema 4d r14\plugins\polypaintfrommaterial\source\polypaintfrommaterial.cpp(189) : error C2059: syntax error : '>'
2>c:\program files\maxon\cinema 4d r14\plugins\polypaintfrommaterial\source\polypaintfrommaterial.cpp(194) : error C2065: 'textags' : undeclared identifier
2>c:\program files\maxon\cinema 4d r14\plugins\polypaintfrommaterial\source\polypaintfrommaterial.cpp(194) : error C2228: left of '.Append' must have class/struct/union
2> type is ''unknown-type''
2>c:\program files\maxon\cinema 4d r14\plugins\polypaintfrommaterial\source\polypaintfrommaterial.cpp(195) : error C2065: 'texuvws' : undeclared identifier
2>c:\program files\maxon\cinema 4d r14\plugins\polypaintfrommaterial\source\polypaintfrommaterial.cpp(195) : error C2228: left of '.Append' must have class/struct/union
2> type is ''unknown-type''
2>c:\program files\maxon\cinema 4d r14\plugins\polypaintfrommaterial\source\polypaintfrommaterial.cpp(203) : error C2065: 'textags' : undeclared identifier
2>c:\program files\maxon\cinema 4d r14\plugins\polypaintfrommaterial\source\polypaintfrommaterial.cpp(203) : error C2228: left of '.GetCount' must have class/struct/union
2> type is ''unknown-type''
2>c:\program files\maxon\cinema 4d r14\plugins\polypaintfrommaterial\source\polypaintfrommaterial.cpp(226) : error C2065: 'textags' : undeclared identifier
2>c:\program files\maxon\cinema 4d r14\plugins\polypaintfrommaterial\source\polypaintfrommaterial.cpp(226) : error C2228: left of '.GetFirst' must have class/struct/union
2> type is ''unknown-type''
2>c:\program files\maxon\cinema 4d r14\plugins\polypaintfrommaterial\source\polypaintfrommaterial.cpp(226) : error C2065: 'texuvws' : undeclared identifier
2>c:\program files\maxon\cinema 4d r14\plugins\polypaintfrommaterial\source\polypaintfrommaterial.cpp(226) : error C2228: left of '.GetFirst' must have class/struct/union
2> type is ''unknown-type''
2>c:\program files\maxon\cinema 4d r14\plugins\polypaintfrommaterial\source\polypaintfrommaterial.cpp(226) : error C2065: 'textags' : undeclared identifier
2>c:\program files\maxon\cinema 4d r14\plugins\polypaintfrommaterial\source\polypaintfrommaterial.cpp(226) : error C2228: left of '.GetCount' must have class/struct/union
2> type is ''unknown-type''
2>
2>Build FAILED.
2>
2>Time Elapsed 00:00:02.58
========== Build: 1 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
What could be wrong?