compile errors cinema4dsdk



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 11/10/2008 at 17:38, xxxxxxxx wrote:

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

    ---------
    Hi its my first try to create plugins with c++.
    So i use micosoft visual studio 2005 and i have also installed the Plugin for Visual Studio 2005.NET

    Now if i start the cinema 4dsdk.dsw, visual studio asked me at first if i want convert the current visual c++ project format.

    I chosed yes and rebuild the solution (Build configuration "Release").

    visual studio returns the following error messages:

    Compiling...
    main.cpp
    randomfalloff.cpp
    datatype.cpp
    vpvisualizenormals.cpp
    vpreconstructimage.cpp
    vpinvertimage.cpp
    vpcolorize.cpp
    reversenormals.cpp
    liquidtool.cpp
    edgecuttool.cpp
    lookatcamera.cpp
    simplematerial.cpp
    particlevolume.cpp
    mandelbrotshader.cpp
    illumination.cpp
    gradientshader.cpp
    bitmapdistortionshader.cpp
    radiosity.cpp
    triangulate.cpp
    spherify.cpp
    Generating Code...
    Compiling...
    roundedtube.cpp
    noiseeffector.cpp
    morphmixer.cpp
    gravitation.cpp
    dropeffector.cpp
    circle.cpp
    atom.cpp
    subdialog.cpp
    serial.cpp
    menutest.cpp
    memstat.cpp
    listview.cpp
    layershaderbrowser.cpp
    gradientuserarea.cpp
    asynctest.cpp
    activeobject.cpp
    stl.cpp
    bff.cpp
    paint_saver_test.cpp
    filterthreshold.cpp
    Generating Code...
    Compiling...
    filtermatrix.cpp
    blinker.cpp
    Generating Code...
    Linking...
       Creating library .\./obj/x32/release/cinema4dsdk.lib and object .\./obj/x32/release/cinema4dsdk.exp
    main.obj : error LNK2019: unresolved external symbol "int __cdecl RegisterGeneratorObject(void)" (?RegisterGeneratorObject@@YAHXZ) referenced in function "int __cdecl PluginStart(void)" (?PluginStart@@YAHXZ)
    main.obj : error LNK2019: unresolved external symbol "int __cdecl RegisterRenderingTag(void)" (?RegisterRenderingTag@@YAHXZ) referenced in function "int __cdecl PluginStart(void)" (?PluginStart@@YAHXZ)
    main.obj : error LNK2019: unresolved external symbol "int __cdecl RegisterStylingTag(void)" (?RegisterStylingTag@@YAHXZ) referenced in function "int __cdecl PluginStart(void)" (?PluginStart@@YAHXZ)
    main.obj : error LNK2019: unresolved external symbol "int __cdecl RegisterVideopost(void)" (?RegisterVideopost@@YAHXZ) referenced in function "int __cdecl PluginStart(void)" (?PluginStart@@YAHXZ)
    main.obj : error LNK2019: unresolved external symbol "int __cdecl RegisterShader(void)" (?RegisterShader@@YAHXZ) referenced in function "int __cdecl PluginStart(void)" (?PluginStart@@YAHXZ)
    main.obj : error LNK2019: unresolved external symbol "int __cdecl RegisterGrassObject(void)" (?RegisterGrassObject@@YAHXZ) referenced in function "int __cdecl PluginStart(void)" (?PluginStart@@YAHXZ)
    main.obj : error LNK2019: unresolved external symbol "int __cdecl RegisterConstraintObject(void)" (?RegisterConstraintObject@@YAHXZ) referenced in function "int __cdecl PluginStart(void)" (?PluginStart@@YAHXZ)
    main.obj : error LNK2019: unresolved external symbol "int __cdecl RegisterCollisionObject(void)" (?RegisterCollisionObject@@YAHXZ) referenced in function "int __cdecl PluginStart(void)" (?PluginStart@@YAHXZ)
    main.obj : error LNK2019: unresolved external symbol "int __cdecl RegisterForceObject(void)" (?RegisterForceObject@@YAHXZ) referenced in function "int __cdecl PluginStart(void)" (?PluginStart@@YAHXZ)
    main.obj : error LNK2019: unresolved external symbol "int __cdecl RegisterDeformerObject(void)" (?RegisterDeformerObject@@YAHXZ) referenced in function "int __cdecl PluginStart(void)" (?PluginStart@@YAHXZ)
    cinema4dsdk.cdl : fatal error LNK1120: 10 unresolved externals

    greetz msthavoc



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 13/10/2008 at 07:37, xxxxxxxx wrote:

    Which exact version of CINEMA 4D are yo using?

    cheers,
    Matthias



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 21/10/2008 at 01:38, xxxxxxxx wrote:

    Btw. for VS2005 you should open the *.sln (solution) files and not the *.dsw files.

    cheers,
    Matthias


Log in to reply