Starting Up programming a Plugin



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

    On 08/04/2009 at 06:37, xxxxxxxx wrote:

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

    ---------
    Hi All Users,
    wir müssen unsere Plugins erweitern und in der Version 11 compilieren.
    Nun habe wir unterchiedliche Aussagen über die möglichen Compiler gefunden:
    Im Helpfile zum SDK steht das der VS6.0 geht.
    Im Dokument defkitchen.pfd von der Maxonhomepage steht auf Seite 8:
    "No more support for Visual Studio 6"

    Farge 1: Kann  mir bitte jemand sagen was nun gilt.

    Frage 2 : Wenn VS6 nicht mehr geht, welche version wird benötigt.

    Frage 3 : Wenn VS6.0  geht, welche Anpassung mussan der Workspacedatei oder den Compilorsettings gemacht weredn damit das SDK ohne Fehlermeldung kompiliert werden kann.

    Frage 4 : In der SDK Duku steht unter :Requirements and compiler environment
    A good understanding of C++ is necessary. If you are a beginner to C++ or C.O.F.F.E.E., please follow the links to learning resources that we have posted in this documentation. We would also recommend that you consult some of the many books on C++ and existing source code.
    Nur: Wo stehen die Links unter denen man weitere Infos bekommt.
    Vielen Dank für die Hilfe.

    _<_h4_>_



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

    On 08/04/2009 at 06:55, xxxxxxxx wrote:

    For Cinema 4D R11, you must use at least VS 2005 and Xcode 3.

    Adapt your new plugin or existing VS6 projects to the cinema4dsdk vcproj included in R11.

    See "Further Information" in the SDK documentation. But, these are mainly 3D CG books.

    To learn COFFEE, seek Rui Batista in the forum at http://forums.cgsociety.org/forumdisplay.php?f=47. At the top here, select Home and then "SDK Downloads" on left to get official documentation for COFFEE.

    C++ you'll have to learn from other sources. Amazon.com for starters.



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

    On 08/04/2009 at 09:19, xxxxxxxx wrote:

    1: VS6 isn't supported anymore for plugin development for CINEMA 4D (the SDK helpfile is wrong in this case (just a typo)).

    2: VS2005 is the only supported compiler for Windows.

    4: The links are listed in the 'Further Information' chapter in the SDK helpfile.

    cheers,
    Matthias



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

    On 09/04/2009 at 07:34, xxxxxxxx wrote:

    Thanks for the help Mathias.
    1. Question: Do you meen VS2005 or does it also work with VS2005 Express?

    I'm searching for an aktual  introduction "step by step" to get an compleet Compilor witch runs the SDK without any warnings.
    Its very horrible. You have to search on several dokuments and everybody tells you
    "hihi" i know how it works, but, i don't tell it to you"
    Ronald



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

    On 09/04/2009 at 08:32, xxxxxxxx wrote:

    The best place to start is with the cinema4dsdk project in the Plugins folder. This is an example project which contains a large number of example plugins. Use the .vcproj for Windows.

    As a matter of fact, it is recommended that you use a copy of the cinema4dsdk project as the base for your plugins (or your existing plugins later on as you make them). In this way, you do not need to start a fresh VS project and figure out all of the dependencies, configuration details, and linkages to the api library.

    Unfortunately, there are no books or online resources that detail this process. It is a complex process (in general) as Cinema 4D plugins can be built on both Windows and MacOS X and setup will vary upon the type of plugin being done.

    You can use VS2005 Express but you need the Platform SDK as well:

    http://www.plugincafe.com/forum/display_topic_threads.asp?ForumID=4&TopicID;=3837&PagePosition;=12

    http://www.plugincafe.com/forum/display_topic_threads.asp?ForumID=4&TopicID;=3725&PagePosition;=16



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

    On 14/04/2009 at 15:08, xxxxxxxx wrote:

    Thanks for the great help.
    http://www.plugincafe.com/forum/display_topic_threads.asp?ForumID=4&TopicID=3725&PagePosition=16
    Here I found most to compile the SDK with VC++EE2008!
    But:
    I always get a warning:
    Projekt : warning PRJ0018 : Folgende Umgebungsvariablen konnten nicht gefunden werden:
    $(WebDeployPath)
    How do I have to set up a new environment variable called $(WebDeployPath)
    Thanks



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

    On 15/04/2009 at 00:21, xxxxxxxx wrote:

    As pointed out by me in the link you have posted VC2008 does not include WebDeployment. It seems you have to install it manually.

    Here again the link:
    Web Deployment for VS 2008

    I have not tested this myself. Please also note that VS2008 is not officially supported by MAXON.

    cheers,
    Matthias



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

    On 15/04/2009 at 03:57, xxxxxxxx wrote:

    Thanks for ansering, Mr.Bober.
    Here a whole explanation:
    I trie to Compile the SDK.
    So I installed VS2005EE and on an oher Maschine VS2008EE.
    On the Vs2008EE maschine i installed also the
    Web Deployment for VS 2008.
    But there is no "webdeploypath"
    I installed a clean C4D.
    I loadet the cinema4dsdk.vcproj.
    I apended the Include like told for both: the _api and the cinema edsdk with:
    "C:\Programme\Microsoft SDKs\Windows\v6.1\Include";
    "C:\Programme\MAXON\CINEMA 4D R11\resource\_api";
    "C:\Programme\MAXON\CINEMA 4D R11\resource\_api\c4d_preview";
    "C:\Programme\MAXON\CINEMA 4D R11\resource\_api\c4d_customgui";
    "C:\Programme\MAXON\CINEMA 4D R11\resource\_api\c4d_libs";
    "C:\Programme\MAXON\CINEMA 4D R11\resource\_api\c4d_gv";
    "C:\Programme\MAXON\CINEMA 4D R11\resource\modules\modeling\res\description";
    "C:\Programme\MAXON\CINEMA 4D R11\resource\res\description";
    "C:\Programme\MAXON\CINEMA 4D R11\resource\modules\objects\res\description"
    but in both versions i get Errors and warnings!!
    When compiling the VS2005EE Version there ar many warnings like:
    1>c:\programme\maxon\cinema 4d r11\resource\_api\c4d_basedocument.cpp(8) : fatal error C1083: Datei (Include) kann nicht geöffnet werden: "c4d_thread.h": No such file or directory

    But: the file is there in the directory.
    On VS2008EE it compiles the SDK but i get the Message: 
    LINK : cinema4dsdk.cdl wurde nicht gefunden oder beim letzten inkrementellen Linkvorgang nicht erstellt; vollständiger Link wird durchgeführt.
       Bibliothek "C:\Programme\Maxon\CINEMA 4D R11 Development\plugins\cinema4dsdk\obj\cinema4dsdk\Win32_Debug\cinema4dsdk.cdl.lib" und Objekt "C:\Programme\Maxon\CINEMA 4D R11 Development\plugins\cinema4dsdk\obj\cinema4dsdk\Win32_Debug\cinema4dsdk.cdl.exp" werden erstellt.
    Projekt : warning PRJ0018 : Folgende Umgebungsvariablen konnten nicht gefunden werden:
    $(WebDeployPath)
    Das Buildprotokoll wurde unter "<file://C:\Programme\Maxon\CINEMA> 4D R11 Development\plugins\cinema4dsdk\obj\cinema4dsdk\Win32_Debug\BuildLog.htm" gespeichert.
    cinema4dsdk - 0 Fehler, 0 Warnung(en)
    ========== Erstellen: 2 erfolgreich, Fehler bei 0, 0 aktuell, 0 übersprungen ==========
    Pleaaaaaaaasssseeeee help me
    What has to be done to ged rid of these errors???
    Thanks a lot.



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

    On 15/04/2009 at 04:40, xxxxxxxx wrote:

    If it compiles with VS2008EE, why dont you just use the 2008 version then?

    The important line is:
    "========== Erstellen: 2 erfolgreich, Fehler bei 0, 0 aktuell, 0 �bersprungen =========="

    No errors means: build successful.

    You can ignore the warning about the environment variable an the other message on top is just a little note from the linker saying that the file was deleted and is going to be re-generated entirely.



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

    On 15/04/2009 at 04:47, xxxxxxxx wrote:

    thanks;-}
    I thought i should have a system with no warnings!
    But: is a kind of interest to understand why the VS2005 version doesn`t
    work.
    Tanks a lot.



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

    On 22/04/2009 at 03:04, xxxxxxxx wrote:

    Quote: ... Please also note that VS2008 is not officially supported by MAXON.
    >
    > * * *
    >
    > * * *

    That's quite bad, cause Visual Studio 2005 Express reached its End-of-Life! :o(

    Here's the german message from Microsoft:

    > Quote: __
    >
    > * * *
    >
    > 29. März 2009
    > Visual Studio 2005 Express: End-of-Life Ende März
    >
    > Alles hat ein Ende: Mehr als 3 Jahre nach ihrer
    > Markteinführung ist für die Produktreihe "Visual
    > Studio 2005 Express Editions" zum 1. April "Schicht
    > im Schacht" - die entsprechenden Download-Links
    > werden dann offiziell vom Netz genommen.
    > Ausgenommen davon ist lediglich die "SQL Server
    > 2005 Express Edition", die Datenbank-Lösung kann
    > auch künftig noch heruntergeladen werden. Die
    > kostenlosen "Visual Studio Express" Entwickler-
    > Werkzeuge für Einsteiger und Hobbyisten sind seit
    > Herbst 2005 verfügbar; bereits seit Anfang
    > vergangenen Jahres ist die ebenfalls kostenlose,
    > verbesserte Nachfolge-Version "Visual Studio 2008
    > Express" erhältlich.
    >
    >
    > * * *

    http://g.msn.com/mh_mshp_de-DE/98765?http://www.microsoft.com/germany/express/ &&HL;=131052&CM;=rss_click&CE;=MSDN1993



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

    On 22/04/2009 at 03:31, xxxxxxxx wrote:

    I will discuss this with the developers.


Log in to reply