Navigation

    • Register
    • Login
    • Search
    • Categories
    1. Home
    2. Tags
    3. project setup
    Log in to post

    • Setting up global plugin structs
      Cinema 4D Development • c++ sdk classic api project setup • • WickedP  

      3
      0
      Votes
      3
      Posts
      33
      Views

      Hi Manuel, what you say rings a bell. I was sure it was because the vector hadn't allocated anything yet. Global possibly wasn't the best way admittedly, it just started like that for convenience. But it ended up being a bit complex, there's a lot of things accessing it, so I didn't want to change it (for now). @m_magalhaes said in Setting up global plugin structs: create a pointer and in pluginstart and pluginend take care of assign memory and free it hadn't thought of that. Seems to work - I'll go with that! Thanks WP.
    • P

      SOLVED Compiling my plugin on R23
      Cinema 4D Development • sdk r23 plugin migration project setup project tool • • pim  

      6
      0
      Votes
      6
      Posts
      67
      Views

      P

      Ok, success. Copying the plugin folder from pc to mac was the issue!
    • M

      SOLVED Decoupling source from SDK project
      Cinema 4D Development • r20 c++ r21 s22 project setup • • mp5gosu  

      7
      0
      Votes
      7
      Posts
      82
      Views

      F

      @kbar said in Decoupling source from SDK project: Since Maxon also updates the ProjectTool when a new version of C4D comes out and it may have new flags or optimazations and changes to the project structure for XCode and Visual Studio. From what I can tell it's pretty stable, also I don't mind what someone else thinks my compiler optimisation flags should be. Maintaining your own CMake version going forward for R20, R21, S22, RXX etc... would be a massive pain and just slow you down. Not as painful as you think it might be, also not as slow. Whatever floats your boat. :)
    • UNSOLVED UI, Resource Descripion and all those .h, .str, .res
      Cinema 4D Development • python api documentation project setup • • intenditore  

      11
      0
      Votes
      11
      Posts
      109
      Views

      Brah... Third time spent fighting with stupid typos! : @PluginStudent @zipit @r_gigante many thanks! I didn't assume you are using the same system inside the program and had no thought to take a look there! Seems adding the "," helped it. And, as I see, you must enumerate all the elements in your .h file, but though you can leave id blank. Thank you! %\
    • A

      UNSOLVED Vertex map python setup
      General Programming & Plugin Discussions • python project setup • • akkanein  

      3
      0
      Votes
      3
      Posts
      63
      Views

      Just to point out, I already answered & posted a full sample scene in this thread: https://www.c4dcafe.com/ipb/forums/topic/109504-python-vertex-map/ plus a detailed explanation on how vertex map calculation works in a free post on my Patreon: https://www.patreon.com/posts/script-club-1-07-34384586 (Just so we don't get work duplicated.)
    • SOLVED Issue with registering a ToolData
      Cinema 4D Development • python r21 classic api issue microsoft windows project setup • • a_block  

      3
      0
      Votes
      3
      Posts
      101
      Views

      Hi Maxime, thanks a lot! Both are valid solutions for me. Very helpful. Cheers
    • SOLVED How to create splitted dialog window
      Cinema 4D Development • python application development project setup • • mikeudin  

      5
      0
      Votes
      5
      Posts
      150
      Views

      @m_adam said in How to create splitted dialog window: But in any case, here it's how it works. Thank you very much, Maxime! Great example!
    • SOLVED Project Tool: Some projectdefinition.txt options don't seem to work
      Cinema 4D Development • c++ r21 microsoft windows apple macos project setup project tool • • fwilleke80  

      9
      0
      Votes
      9
      Posts
      118
      Views

      S

      I think we are talking past each other. You can of course build any project any way you like. An then make sure that your plugins link to the build result using the link options defined in projectdefinition.txt. But I think you want to include an already existing (non-plugin) project in the solution created by the Project Tool, right? And I think that is not possible. I guess you could add the project manually to the solution created by the Project Tool.
    • M

      SOLVED Visual Studio - Debugging Plugin Error
      Cinema 4D Development • c++ r19 issue project setup project tool • • mfersaoui  

      9
      0
      Votes
      9
      Posts
      259
      Views

      S

      Hello, you find information how to run a plugin from within Visual Studio in the documentation: Development for Microsoft Windows - Running Plugins. best wishes, Sebastian
    • M

      SOLVED Visual Studio - How to build the final plugin version.
      Cinema 4D Development • c++ project setup • • mfersaoui  

      5
      0
      Votes
      5
      Posts
      141
      Views

      M

      Thank you so much, all The Cinema 4D on the other computer was not updated to R19.068, I updated the c4d app and I made new test, it seem to work normally. To be sure, I will retest it again on a third computer. I have an error when I try to debugging plugins, I will create new topic concerning this error. Thanks again, and have a great day.
    • C

      SOLVED ProjectTool problems in MacOs Catalina
      Cinema 4D Development • c++ r21 sdk issue project setup project tool • • c4dmac  

      5
      0
      Votes
      5
      Posts
      233
      Views

      Hi c4dmac, thanks for following up here. With regard to the issue you've reported you can get fixed by reestablishing the executable bit on the kernel_app file found in the zip archive. To sum it up, upon downloading the project tool archive you have to: remove quarantine xattr -d "com.apple.quarantine" ./cinema4d_r21_project_tool_20190903.zip extract the archive (either via terminal or via finder) unzip -d ./cinema4d_r21_project_tool_20190903 ./cinema4d_r21_project_tool_20190903.zip re-establish the kernel_app executable bit chmod 555 ./cinema4d_r21_project_tool_20190903/kernel_app.app/Contents/MacOS/kernel_app Best, Riccardo
    • Y

      SOLVED C++ Debugging Setup
      Cinema 4D Development • c++ r21 sdk microsoft windows project setup • • Yakuza  

      6
      0
      Votes
      6
      Posts
      133
      Views

      M

      hello, We need to ask if you are compiling the SDK, your own project, etc. Different question, you should open a different thread :) It will help other people to find the thread. Cheers, Manuel
    • R

      SOLVED Visual Studio 2019 Support ?
      Cinema 4D Development • microsoft windows issue project setup • • Root Star.  

      2
      0
      Votes
      2
      Posts
      71
      Views

      Hi Root Star, thanks for reaching out us. With regard to the IDE version, we highly suggest sticking the compatibility table reported in our documentation. Visual Studio 2019 is not supported by R20 and it's likely not to be officially supported also on R21. With regard to .hxx files, these are generated by our source processor when the building process is initiated and it's highly discouraged to change or get rid of them during the building process. The issues you're facing are highly related to the fact that the solution/project file(s) built by the projecttool (when kernel_app_64bit.exe g_updateProject=<your path to Cinema SDK> is executed) are not 100% compatible with VS2019 resulting in building tool-chain flaws. Best, Riccardo
    • F

      SOLVED ProjectTool & visual studio: /DELAYLOAD
      Cinema 4D Development • r20 project setup project tool • • FilipM  

      8
      0
      Votes
      8
      Posts
      211
      Views

      M

      hello, if you can give us feedback that would be awesome. Cheers Manuel
    • F

      SOLVED Specify additional directories for DLL dependencies
      Cinema 4D Development • r20 classic api project setup • • FilipM  

      3
      0
      Votes
      3
      Posts
      217
      Views

      F

      @r_gigante said in Specify additional directories for DLL dependencies: If I end up with some workaround I'll come back here but for the time being I consider it solved. OK, thanks for the info! /Filip
    • F

      SOLVED Porting plugin to R20, disable style guide?
      Cinema 4D Development • r20 plugin migration project setup project tool • • FilipM  

      4
      0
      Votes
      4
      Posts
      246
      Views

      F

      Thanks Sebastian, I will try that! /Filip
    • M

      SOLVED Project tool: Custom plugin name and master solution
      Cinema 4D Development • issue microsoft windows apple macos project setup project tool • • mp5gosu  

      3
      0
      Votes
      3
      Posts
      217
      Views

      M

      Thanks Sebastian! Looking forward for a fix. ;) Meanwhile I'll take care of your recommendation. Best, Robert
    • M

      One to rule them all...
      General Programming & Plugin Discussions • r20 c++ classic api r19 microsoft windows apple macos project setup • • mp5gosu  

      3
      0
      Votes
      3
      Posts
      233
      Views

      M

      HI Andreas, no worries, this question was not exclusively targeted at Maxon, the opposite is the case. I was hoping for some information by other users here, like @kbar or even @m_adam (back in the days Maxime was not associated with Maxon. ;)) Meanwhile, I'm going to build a toolchain and see what works for me. I'll report back here if I have something to show. That may help someone else.
    • C

      SOLVED Projecttool - avoid updating all projects
      Cinema 4D Development • r20 project setup project tool • • C4DS  

      15
      0
      Votes
      15
      Posts
      826
      Views

      Here's an older blog post about VS property sheets. Still for VS2010, but the principle is still the same. Sharing project properties in Visual C++