Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6634757
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T22:58:02+00:00 2026-05-25T22:58:02+00:00

I am fairly new to C++. I want to write plugins for an application

  • 0

I am fairly new to C++.
I want to write plugins for an application called Cinema 4D.
Maxon, the maker of C4D, provides an API for doing this. The header-files are located in a special folder.

The “cinema4dskd” is a Visual Studio project containing sample plugins. Within this project there is another subproject called _api .

enter image description here

The popupwindow is the “Project dependencies” dialog.

The _api sub project seems to be a link to a file that is present on my localdrive but it is not within the cinema4dsdk.vcproj.
All files within the _api project are located in a folder in the Cinema 4D installation path also called _api.
It is full of header and .cpp files.
This is basically what I need to compile plugins for Cinema 4D, including “c4d.h” in my source code.
But this is where the problems start.

I’m trying to compile a plugin within Code::Blocks, I have added all paths to “c4d.h”, etc. But every compiler (gcc, and even msvc !) tell me thousands of warnings about:

C:\Programs\MAXON\Cinema 4D R12\resource\_api\ge_prepass.h |2668|warning: multi-character character constant|

And finally an error that C4DGLuint isn’t declared. Why does it work in VC++ but not with any other compiler ? I must have missed something, but I really don’t know what.

I don’t think I am allowed to share this project, as the _api is owned by Maxon GmbH, but if you really need it I beg you to download the Cinema 4D Demo version where the cinema4dskd project is included.

Tell me if you need any further information, I hope you have an idea what may be missing. Why the heck can VC++ compile the Plugins right, but I can’t using the command-line or any other IDE ?

Thank you very much.
Niklas

Updates:

Example of multicharacter constant error:

C:\Users\niklas\Documents\CodeBlocks\Cinema4D\_api\src\gui.h|690|warning: multi-character character constant|
C:\Users\niklas\Documents\CodeBlocks\Cinema4D\_api\src\gui.h|693|warning: multi-character character constant|

690: BFM_SETVIEWPORTORIGIN  = 'cORG',
691:    BFM_SETVIEWPORTORIGIN_X=1,
692:    BFM_SETVIEWPORTORIGIN_Y=2,
693: BFM_SETVIEWPORTSIZE    = 'cSIZ',
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T22:58:03+00:00Added an answer on May 25, 2026 at 10:58 pm
    'cORG'
    

    is a so-called multi character literal. Its value does not fit into a char variable, you will need an ‘int’ to hold it, and according to this post

    C++ multicharacter literal

    it is compiler-specific how this thing is interpreted. Seems the other compiler you have tested does not support those kind of literals.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Disclaimer: I'm fairly new to python! If I want all the lines of a
I got this application from the internet and I want to add some modifications.
I'm fairly new to MySQL and don't know how to write a query I
I am fairly new to entity framework and I want to know what is
I'm fairly new to JavaScript and am trying to write some code that lists
HI all, I'm trying to write a simple star rating component. I'm fairly new
I am fairly new to unit testing. I am building an ASP.NET MVC3 application
I am fairly new to both c++ and the boost library. What I want
fairly new iPhone developer here. Building an app to send RS232 commands to a
Being fairly new to JavaScript, I'm unable to discern when to use each of

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.