Can't compile :-( [SOLVED]



  • On 05/09/2014 at 10:33, xxxxxxxx wrote:

    User Information:
    Cinema 4D Version:   14 
    Platform:   Windows  ;   
    Language(s) :     C++  ;

    ---------
    This has happened to me before and I solved by going to my Project Properties>Configuration Properties>General and changing the Platform Toolset to v100
    But now I'm getting all these errors. What can I do to make it work?

    1>------ Build started: Project: _api, Configuration: Release Win32 ------
    1>Build started 9/5/2014 6:25:50 PM.
    1>Project file contains ToolsVersion="12.0". This toolset may be unknown or missing, in which case you may be able to resolve this by installing the appropriate version of MSBuild, or the build may have been forced to a particular ToolsVersion for policy reasons. Treating the project as if it had ToolsVersion="4.0". For more information, please see http://go.microsoft.com/fwlink/?LinkId=291333.
    1>InitializeBuildStatus:
    1> Creating "C:\Program Files\MAXON\CINEMA 4D R14\plugins\PolyPaintTag\obj\_api\Win32_Release\_api.unsuccessfulbuild" because "AlwaysCreate" was specified.
    1>ClCompile:
    1> c4d_basebitmap.cpp
    1> c4d_basechannel.cpp
    1> c4d_basecontainer.cpp
    1> c4d_basedocument.cpp
    1> c4d_basedraw.cpp
    1> c4d_baseeffectorplugin.cpp
    1> c4d_baselist.cpp
    1> c4d_basematerial.cpp
    1> c4d_baseobject.cpp
    1> c4d_baseplugin.cpp
    1> c4d_baseselect.cpp
    1> c4d_basesound.cpp
    1> c4d_basetag.cpp
    1> c4d_basetime.cpp
    1> c4d_bitmapfilter.cpp
    1> c4d_canimation.cpp
    1> c4d_coffee.cpp
    1> c4d_commandplugin.cpp
    1> c4d_ctrackplugin.cpp
    1> c4d_customdatatype.cpp
    1> c4d_customguidata.cpp
    1> c4d_customguiplugin.cpp
    1> c4d_descriptiondialog.cpp
    1> c4d_falloffplugin.cpp
    1> c4d_file.cpp
    1> c4d_filterplugin.cpp
    1> c4d_gedata.cpp
    1> c4d_general.cpp
    1> c4d_gl.cpp
    1> c4d_gui.cpp
    1> c4d_library.cpp
    1> lib_sculpt.cpp
    1> c4d_listview.cpp
    1> c4d_materialplugin.cpp
    1> c4d_memory.cpp
    1> c4d_messageplugin.cpp
    1> debugglobals.cpp
    1> c4d_nodeplugin.cpp
    1> c4d_objectplugin.cpp
    1> c4d_omp.cpp
    1> c4d_painter.cpp
    1> c4d_particleobject.cpp
    1> c4d_pmain.cpp
    1> c4d_quaternion.cpp
    1> c4d_resource.cpp
    1> c4d_scenehookplugin.cpp
    1> c4d_shaderplugin.cpp
    1> c4d_snapplugin.cpp
    1> c4d_string.cpp
    1> c4d_tagplugin.cpp
    1> c4d_thread.cpp
    1> c4d_thread_keys.cpp
    1> c4d_toolplugin.cpp
    1> c4d_tools.cpp
    1> c4d_videopost.cpp
    1> c4d_videopostplugin.cpp
    1> ge_ieee.cpp
    1> ge_sort.cpp
    1> operatingsystem.cpp
    1> customgui_base.cpp
    1> customgui_bitmapbutton.cpp
    1> customgui_datetime.cpp
    1> customgui_descproperty.cpp
    1> customgui_description.cpp
    1> customgui_fontchooser.cpp
    1> customgui_gradient.cpp
    1> customgui_htmlviewer.cpp
    1> customgui_hyperlink.cpp
    1> customgui_inexclude.cpp
    1> customgui_linkbox.cpp
    1> customgui_listview.cpp
    1> customgui_listview2.cpp
    1> customgui_matassign.cpp
    1> customgui_matpreview.cpp
    1> customgui_movieview.cpp
    1> customgui_pla.cpp
    1> customgui_priority.cpp
    1> customgui_quicktab.cpp
    1> customgui_splinecontrol.cpp
    1> customgui_texbox.cpp
    1> customgui_texturemanager.cpp
    1> customgui_unitscale.cpp
    1> lib_activeobjectmanager.cpp
    1> lib_aes.cpp
    1> lib_batchrender.cpp
    1> lib_browser.cpp
    1> lib_ca.cpp
    1> lib_clipmap.cpp
    1> lib_cloud.cpp
    1> lib_collider.cpp
    1> lib_datetimeparser.cpp
    1> lib_description.cpp
    1> lib_dwgobjects.cpp
    1> lib_editortools.cpp
    1> lib_filtertree.cpp
    1> lib_hair.cpp
    1> lib_iconcollection.cpp
    1> lib_layershader.cpp
    1> lib_modeling.cpp
    1> lib_ngon.cpp
    1> lib_noise.cpp
    1> lib_pictureviewer.cpp
    1> lib_prefs.cpp
    1> lib_py.cpp
    1> lib_regexpr.cpp
    1> lib_sds.cpp
    1> lib_selectionchanger.cpp
    1> lib_sn.cpp
    1> lib_snd.cpp
    1> lib_splinehelp.cpp
    1> lib_tlmarker.cpp
    1> lib_viewport.cpp
    1> lib_zipfile.cpp
    1> filter_prefs.cpp
    1> filterpreview.cpp
    1> filterthread.cpp
    1> linefetchutil.cpp
    1> matrixrotate.cpp
    1> matrixutil.cpp
    1> matrixwrapper.cpp
    1> pixelfetchutil.cpp
    1> mergelin.cpp
    1> miniblt.cpp
    1> scale.cpp
    1> scaleitf.cpp
    1> scalelin.cpp
    1> c4d_graphview.cpp
    1> c4d_operatorplugin.cpp
    1> c4d_particles.cpp
    1>Lib:
    1> _api.vcxproj -> C:\Program Files\MAXON\CINEMA 4D R14\resource\_api_lib\_api_Win32_Release.lib
    1>FinalizeBuildStatus:
    1> Deleting file "C:\Program Files\MAXON\CINEMA 4D R14\plugins\PolyPaintTag\obj\_api\Win32_Release\_api.unsuccessfulbuild".
    1> Touching "C:\Program Files\MAXON\CINEMA 4D R14\plugins\PolyPaintTag\obj\_api\Win32_Release\_api.lastbuildstate".
    1>
    1>Build succeeded.
    1>
    1>Time Elapsed 00:00:49.10
    2>------ Build started: Project: cinema4dsdk, Configuration: Release Win32 ------
    2>Build started 9/5/2014 6:26:41 PM.
    2>Project file contains ToolsVersion="12.0". This toolset may be unknown or missing, in which case you may be able to resolve this by installing the appropriate version of MSBuild, or the build may have been forced to a particular ToolsVersion for policy reasons. Treating the project as if it had ToolsVersion="4.0". For more information, please see http://go.microsoft.com/fwlink/?LinkId=291333.
    2>Project file contains ToolsVersion="12.0". This toolset may be unknown or missing, in which case you may be able to resolve this by installing the appropriate version of MSBuild, or the build may have been forced to a particular ToolsVersion for policy reasons. Treating the project as if it had ToolsVersion="4.0". For more information, please see http://go.microsoft.com/fwlink/?LinkId=291333.
    2>InitializeBuildStatus:
    2> Touching "C:\Program Files\MAXON\CINEMA 4D R14\plugins\PolyPaintTag\obj\cinema4dsdk\Win32_Release\cinema4dsdk.unsuccessfulbuild".
    2>ClCompile:
    2> c4d_helpers.cpp
    2> main.cpp
    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> PolyPaintTag.cpp
    2>c:\program files\maxon\cinema 4d r14\plugins\polypainttag\source\c4d_helpers.h(21) : error C2065: 'string' : undeclared identifier
    2>c:\program files\maxon\cinema 4d r14\plugins\polypainttag\source\c4d_helpers.h(21) : error C2146: syntax error : missing ')' before identifier 'a'
    2>c:\program files\maxon\cinema 4d r14\plugins\polypainttag\source\c4d_helpers.h(21) : error C2365: 'AnyToString' : redefinition; previous definition was 'function'
    2>c:\program files\maxon\cinema 4d r14\plugins\polypainttag\source\c4d_helpers.h(21) : error C2059: syntax error : ')'
    2>c:\program files\maxon\cinema 4d r14\plugins\polypainttag\source\c4d_helpers.cpp(69) : error C2065: 'string' : undeclared identifier
    2>c:\program files\maxon\cinema 4d r14\plugins\polypainttag\source\c4d_helpers.cpp(69) : error C2146: syntax error : missing ')' before identifier 'a'
    2>c:\program files\maxon\cinema 4d r14\plugins\polypainttag\source\c4d_helpers.cpp(69) : error C2365: 'AnyToString' : redefinition; previous definition was 'function'
    2>c:\program files\maxon\cinema 4d r14\plugins\polypainttag\source\c4d_helpers.cpp(69) : error C2059: syntax error : ')'
    2>c:\program files\maxon\cinema 4d r14\plugins\polypainttag\source\c4d_helpers.cpp(70) : error C2143: syntax error : missing ';' before '{'
    2>c:\program files\maxon\cinema 4d r14\plugins\polypainttag\source\c4d_helpers.cpp(70) : error C2447: '{' : missing function header (old-style formal list?)
    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\polypainttag\source\c4d_helpers.h(21) : error C2065: 'string' : undeclared identifier
    2>c:\program files\maxon\cinema 4d r14\plugins\polypainttag\source\c4d_helpers.h(21) : error C2146: syntax error : missing ')' before identifier 'a'
    2>c:\program files\maxon\cinema 4d r14\plugins\polypainttag\source\c4d_helpers.h(21) : error C2365: 'AnyToString' : redefinition; previous definition was 'function'
    2>c:\program files\maxon\cinema 4d r14\plugins\polypainttag\source\c4d_helpers.h(21) : error C2059: syntax error : ')'
    2>c:\program files\maxon\cinema 4d r14\plugins\polypainttag\source\polypainttag.cpp(34) : error C2146: syntax error : missing ';' before identifier 'tostr'
    2>c:\program files\maxon\cinema 4d r14\plugins\polypainttag\source\polypainttag.cpp(34) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    2>c:\program files\maxon\cinema 4d r14\plugins\polypainttag\source\polypainttag.cpp(34) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    2>c:\program files\maxon\cinema 4d r14\plugins\polypainttag\source\polypainttag.cpp(34) : error C2143: syntax error : missing ',' before '&'
    2>c:\program files\maxon\cinema 4d r14\plugins\polypainttag\source\polypainttag.cpp(93) : error C2065: 'ss' : undeclared identifier
    2>c:\program files\maxon\cinema 4d r14\plugins\polypainttag\source\polypainttag.cpp(94) : error C2065: 'ss' : undeclared identifier
    2>c:\program files\maxon\cinema 4d r14\plugins\polypainttag\source\polypainttag.cpp(95) : error C2065: 'ss' : undeclared identifier
    2>c:\program files\maxon\cinema 4d r14\plugins\polypainttag\source\polypainttag.cpp(100) : error C2039: 'read_line_colors' : is not a member of 'polypaint'
    2>          c:\program files\maxon\cinema 4d r14\plugins\polypainttag\source\polypainttag.cpp(40) : see declaration of 'polypaint'
    2>c:\program files\maxon\cinema 4d r14\plugins\polypainttag\source\polypainttag.cpp(100) : error C2872: 'string' : ambiguous symbol
    2>          could be 'c:\program files\maxon\cinema 4d r14\plugins\polypainttag\source\polypainttag.cpp(34) : int string'
    2>          or       'c:\program files (x86)\microsoft visual studio 10.0\vc\include\xstring(2063) : std::string'
    2>c:\program files\maxon\cinema 4d r14\plugins\polypainttag\source\polypainttag.cpp(100) : error C2872: 'string' : ambiguous symbol
    2>          could be 'c:\program files\maxon\cinema 4d r14\plugins\polypainttag\source\polypainttag.cpp(34) : int string'
    2>          or       'c:\program files (x86)\microsoft visual studio 10.0\vc\include\xstring(2063) : std::string'
    2>c:\program files\maxon\cinema 4d r14\plugins\polypainttag\source\polypainttag.cpp(100) : error C2146: syntax error : missing ')' before identifier 'line'
    2>c:\program files\maxon\cinema 4d r14\plugins\polypainttag\source\polypainttag.cpp(100) : error C2182: 'read_line_colors' : illegal use of type 'void'
    2>c:\program files\maxon\cinema 4d r14\plugins\polypainttag\source\polypainttag.cpp(100) : error C2059: syntax error : ')'
    2>c:\program files\maxon\cinema 4d r14\plugins\polypainttag\source\polypainttag.cpp(101) : error C2143: syntax error : missing ';' before '{'
    2>c:\program files\maxon\cinema 4d r14\plugins\polypainttag\source\polypainttag.cpp(101) : error C2447: '{' : missing function header (old-style formal list?)
    2>c:\program files\maxon\cinema 4d r14\plugins\polypainttag\source\polypainttag.cpp(123) : error C2039: 'read_line_indexes' : is not a member of 'polypaint'
    2>          c:\program files\maxon\cinema 4d r14\plugins\polypainttag\source\polypainttag.cpp(40) : see declaration of 'polypaint'
    2>c:\program files\maxon\cinema 4d r14\plugins\polypainttag\source\polypainttag.cpp(123) : error C2872: 'string' : ambiguous symbol
    2>          could be 'c:\program files\maxon\cinema 4d r14\plugins\polypainttag\source\polypainttag.cpp(34) : int string'
    2>          or       'c:\program files (x86)\microsoft visual studio 10.0\vc\include\xstring(2063) : std::string'
    2>c:\program files\maxon\cinema 4d r14\plugins\polypainttag\source\polypainttag.cpp(123) : error C2872: 'string' : ambiguous symbol
    2>          could be 'c:\program files\maxon\cinema 4d r14\plugins\polypainttag\source\polypainttag.cpp(34) : int string'
    2>          or       'c:\program files (x86)\microsoft visual studio 10.0\vc\include\xstring(2063) : std::string'
    2>c:\program files\maxon\cinema 4d r14\plugins\polypainttag\source\polypainttag.cpp(123) : error C2146: syntax error : missing ')' before identifier 'line'
    2>c:\program files\maxon\cinema 4d r14\plugins\polypainttag\source\polypainttag.cpp(123) : error C2182: 'read_line_indexes' : illegal use of type 'void'
    2>c:\program files\maxon\cinema 4d r14\plugins\polypainttag\source\polypainttag.cpp(123) : error C2059: syntax error : ')'
    2>c:\program files\maxon\cinema 4d r14\plugins\polypainttag\source\polypainttag.cpp(124) : error C2143: syntax error : missing ';' before '{'
    2>c:\program files\maxon\cinema 4d r14\plugins\polypainttag\source\polypainttag.cpp(124) : error C2447: '{' : missing function header (old-style formal list?)
    2>c:\program files\maxon\cinema 4d r14\plugins\polypainttag\source\polypainttag.cpp(142) : error C2039: 'GetLeadingSpaces' : is not a member of 'polypaint'
    2>          c:\program files\maxon\cinema 4d r14\plugins\polypainttag\source\polypainttag.cpp(40) : see declaration of 'polypaint'
    2>c:\program files\maxon\cinema 4d r14\plugins\polypainttag\source\polypainttag.cpp(142) : error C2872: 'string' : ambiguous symbol
    2>          could be 'c:\program files\maxon\cinema 4d r14\plugins\polypainttag\source\polypainttag.cpp(34) : int string'
    2>          or       'c:\program files (x86)\microsoft visual studio 10.0\vc\include\xstring(2063) : std::string'
    2>c:\program files\maxon\cinema 4d r14\plugins\polypainttag\source\polypainttag.cpp(142) : error C2872: 'string' : ambiguous symbol
    2>          could be 'c:\program files\maxon\cinema 4d r14\plugins\polypainttag\source\polypainttag.cpp(34) : int string'
    2>          or       'c:\program files (x86)\microsoft visual studio 10.0\vc\include\xstring(2063) : std::string'
    2>c:\program files\maxon\cinema 4d r14\plugins\polypainttag\source\polypainttag.cpp(142) : error C2146: syntax error : missing ')' before identifier 'a'
    2>c:\program files\maxon\cinema 4d r14\plugins\polypainttag\source\polypainttag.cpp(142) : error C2059: syntax error : ')'
    2>c:\program files\maxon\cinema 4d r14\plugins\polypainttag\source\polypainttag.cpp(143) : error C2143: syntax error : missing ';' before '{'
    2>c:\program files\maxon\cinema 4d r14\plugins\polypainttag\source\polypainttag.cpp(143) : error C2447: '{' : missing function header (old-style formal list?)
    2>c:\program files\maxon\cinema 4d r14\plugins\polypainttag\source\polypainttag.cpp(153) : error C2872: 'string' : ambiguous symbol
    2>          could be 'c:\program files\maxon\cinema 4d r14\plugins\polypainttag\source\polypainttag.cpp(34) : int string'
    2>          or       'c:\program files (x86)\microsoft visual studio 10.0\vc\include\xstring(2063) : std::string'
    2>c:\program files\maxon\cinema 4d r14\plugins\polypainttag\source\polypainttag.cpp(153) : error C2039: 'RemoveLeadingSpaces' : is not a member of 'polypaint'
    2>          c:\program files\maxon\cinema 4d r14\plugins\polypainttag\source\polypainttag.cpp(40) : see declaration of 'polypaint'
    2>c:\program files\maxon\cinema 4d r14\plugins\polypainttag\source\polypainttag.cpp(153) : error C2146: syntax error : missing ';' before identifier 'RemoveLeadingSpaces'
    2>c:\program files\maxon\cinema 4d r14\plugins\polypainttag\source\polypainttag.cpp(153) : error C2872: 'string' : ambiguous symbol
    2>          could be 'c:\program files\maxon\cinema 4d r14\plugins\polypainttag\source\polypainttag.cpp(34) : int string'
    2>          or       'c:\program files (x86)\microsoft visual studio 10.0\vc\include\xstring(2063) : std::string'
    2>c:\program files\maxon\cinema 4d r14\plugins\polypainttag\source\polypainttag.cpp(153) : error C2872: 'string' : ambiguous symbol
    2>          could be 'c:\program files\maxon\cinema 4d r14\plugins\polypainttag\source\polypainttag.cpp(34) : int string'
    2>          or       'c:\program files (x86)\microsoft visual studio 10.0\vc\include\xstring(2063) : std::string'
    2>c:\program files\maxon\cinema 4d r14\plugins\polypainttag\source\polypainttag.cpp(153) : error C2146: syntax error : missing ')' before identifier 'a'
    2>c:\program files\maxon\cinema 4d r14\plugins\polypainttag\source\polypainttag.cpp(153) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    2>c:\program files\maxon\cinema 4d r14\plugins\polypainttag\source\polypainttag.cpp(153) : error C2059: syntax error : ')'
    2>c:\program files\maxon\cinema 4d r14\plugins\polypainttag\source\polypainttag.cpp(154) : error C2143: syntax error : missing ';' before '{'
    2>c:\program files\maxon\cinema 4d r14\plugins\polypainttag\source\polypainttag.cpp(154) : error C2447: '{' : missing function header (old-style formal list?)
    2>c:\program files\maxon\cinema 4d r14\plugins\polypainttag\source\polypainttag.cpp(162) : error C2872: 'string' : ambiguous symbol
    2>          could be 'c:\program files\maxon\cinema 4d r14\plugins\polypainttag\source\polypainttag.cpp(34) : int string'
    2>          or       'c:\program files (x86)\microsoft visual studio 10.0\vc\include\xstring(2063) : std::string'
    2>c:\program files\maxon\cinema 4d r14\plugins\polypainttag\source\polypainttag.cpp(162) : error C2039: 'LeadingSpaces' : is not a member of 'polypaint'
    2>          c:\program files\maxon\cinema 4d r14\plugins\polypainttag\source\polypainttag.cpp(40) : see declaration of 'polypaint'
    2>c:\program files\maxon\cinema 4d r14\plugins\polypainttag\source\polypainttag.cpp(162) : error C2146: syntax error : missing ';' before identifier 'LeadingSpaces'
    2>c:\program files\maxon\cinema 4d r14\plugins\polypainttag\source\polypainttag.cpp(163) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    2>c:\program files\maxon\cinema 4d r14\plugins\polypainttag\source\polypainttag.cpp(164) : error C2872: 'string' : ambiguous symbol
    2>          could be 'c:\program files\maxon\cinema 4d r14\plugins\polypainttag\source\polypainttag.cpp(34) : int string'
    2>          or       'c:\program files (x86)\microsoft visual studio 10.0\vc\include\xstring(2063) : std::string'
    2>c:\program files\maxon\cinema 4d r14\plugins\polypainttag\source\polypainttag.cpp(164) : error C2872: 'string' : ambiguous symbol
    2>          could be 'c:\program files\maxon\cinema 4d r14\plugins\polypainttag\source\polypainttag.cpp(34) : int string'
    2>          or       'c:\program files (x86)\microsoft visual studio 10.0\vc\include\xstring(2063) : std::string'
    2>c:\program files\maxon\cinema 4d r14\plugins\polypainttag\source\polypainttag.cpp(164) : error C2146: syntax error : missing ';' before identifier 'ls'
    2>c:\program files\maxon\cinema 4d r14\plugins\polypainttag\source\polypainttag.cpp(164) : error C2065: 'ls' : undeclared identifier
    2>c:\program files\maxon\cinema 4d r14\plugins\polypainttag\source\polypainttag.cpp(167) : error C2065: 'ls' : undeclared identifier
    2>c:\program files\maxon\cinema 4d r14\plugins\polypainttag\source\polypainttag.cpp(167) : error C2065: 'ls' : undeclared identifier
    2>c:\program files\maxon\cinema 4d r14\plugins\polypainttag\source\polypainttag.cpp(169) : error C2065: 'ls' : undeclared identifier
    2>c:\program files\maxon\cinema 4d r14\plugins\polypainttag\source\polypainttag.cpp(172) : error C2039: 'convert_color' : is not a member of 'polypaint'
    2>          c:\program files\maxon\cinema 4d r14\plugins\polypainttag\source\polypainttag.cpp(40) : see declaration of 'polypaint'
    2>c:\program files\maxon\cinema 4d r14\plugins\polypainttag\source\polypainttag.cpp(193) : error C2039: 'import_obj' : is not a member of 'polypaint'
    2>          c:\program files\maxon\cinema 4d r14\plugins\polypainttag\source\polypainttag.cpp(40) : see declaration of 'polypaint'
    2>c:\program files\maxon\cinema 4d r14\plugins\polypainttag\source\polypainttag.cpp(207) : error C2065: 'obj_file' : undeclared identifier
    2>c:\program files\maxon\cinema 4d r14\plugins\polypainttag\source\polypainttag.cpp(215) : error C2065: 'obj_file' : undeclared identifier
    2>c:\program files\maxon\cinema 4d r14\plugins\polypainttag\source\polypainttag.cpp(217) : error C2872: 'string' : ambiguous symbol
    2>          could be 'c:\program files\maxon\cinema 4d r14\plugins\polypainttag\source\polypainttag.cpp(34) : int string'
    2>          or       'c:\program files (x86)\microsoft visual studio 10.0\vc\include\xstring(2063) : std::string'
    2>c:\program files\maxon\cinema 4d r14\plugins\polypainttag\source\polypainttag.cpp(217) : error C2872: 'string' : ambiguous symbol
    2>          could be 'c:\program files\maxon\cinema 4d r14\plugins\polypainttag\source\polypainttag.cpp(34) : int string'
    2>          or       'c:\program files (x86)\microsoft visual studio 10.0\vc\include\xstring(2063) : std::string'
    2>c:\program files\maxon\cinema 4d r14\plugins\polypainttag\source\polypainttag.cpp(217) : error C2146: syntax error : missing ';' before identifier 'line'
    2>c:\program files\maxon\cinema 4d r14\plugins\polypainttag\source\polypainttag.cpp(217) : error C2065: 'line' : undeclared identifier
    2>c:\program files\maxon\cinema 4d r14\plugins\polypainttag\source\polypainttag.cpp(218) : error C2872: 'string' : ambiguous symbol
    2>          could be 'c:\program files\maxon\cinema 4d r14\plugins\polypainttag\source\polypainttag.cpp(34) : int string'
    2>          or       'c:\program files (x86)\microsoft visual studio 10.0\vc\include\xstring(2063) : std::string'
    2>c:\program files\maxon\cinema 4d r14\plugins\polypainttag\source\polypainttag.cpp(218) : error C2872: 'string' : ambiguous symbol
    2>          could be 'c:\program files\maxon\cinema 4d r14\plugins\polypainttag\source\polypainttag.cpp(34) : int string'
    2>          or       'c:\program files (x86)\microsoft visual studio 10.0\vc\include\xstring(2063) : std::string'
    2>c:\program files\maxon\cinema 4d r14\plugins\polypainttag\source\polypainttag.cpp(218) : error C2146: syntax error : missing ';' before identifier 'hx'
    2>c:\program files\maxon\cinema 4d r14\plugins\polypainttag\source\polypainttag.cpp(218) : error C2065: 'hx' : undeclared identifier
    2>c:\program files\maxon\cinema 4d r14\plugins\polypainttag\source\polypainttag.cpp(235) : error C2065: 'line' : undeclared identifier
    2>c:\program files\maxon\cinema 4d r14\plugins\polypainttag\source\polypainttag.cpp(235) : fatal error C1903: unable to recover from previous error(s); stopping compilation
    2>
    2>Build FAILED.
    2>
    2>Time Elapsed 00:00:02.97
    ========== Build: 1 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========



  • On 05/09/2014 at 11:28, xxxxxxxx wrote:

    I guess you are using VS2013 with it's msvc12 compiler, you should install VS2010 with msvc10 compiler, and if you will use VS2013 make sure to choose v100 compiler instead of v120 in the project properties->general tab



  • On 05/09/2014 at 11:29, xxxxxxxx wrote:

    I'm using VS2010.
    It was working fine and now, all of a sudden, it started returning these errors :-(



  • On 05/09/2014 at 12:39, xxxxxxxx wrote:

    sorry for the late reply, I guess installing VS2012 should solve it



  • On 05/09/2014 at 13:22, xxxxxxxx wrote:

    Exactly, compiling for R16 requires Visual Studio 2012 at least.



  • On 05/09/2014 at 13:30, xxxxxxxx wrote:

    Is there any free version of Visual Studio 2012?
    I thought that the Express version was free when I downloaded it from Microsoft site but it asked me for a serial :-(



  • On 05/09/2014 at 13:33, xxxxxxxx wrote:

    it is for free, this serial is just by your email



  • On 05/09/2014 at 13:51, xxxxxxxx wrote:

    GREAT!!! :-)
    So, I will download it again.
    Oh, one other thing.
    Currently, when I compile my plugins in VS2010, they compile fine for R14 and R15. I mean, the same .cdl and .cdl64 files work fine in both releases.
    If I need to use VS2012 for R16, if I compile my plugins in VS2012, will they run in R14, R15 and R16?
    Or will I need to have different compiles for R14/R15 and for R16?



  • On 05/09/2014 at 14:08, xxxxxxxx wrote:

    I think they should work fine if nothing changed in the SDK, so same compiler for R14,15,16 then they should be fine



  • On 07/09/2014 at 09:35, xxxxxxxx wrote:

    Originally posted by xxxxxxxx

    If I need to use VS2012 for R16, if I compile my plugins in VS2012, will they run in R14, R15 and R16?

    Yes. I am using vs2012 for everything starting with R13.


Log in to reply