Plugin Cafe Homepage
Forum Home Forum Home > Plugin Cafe > SDK Help
  New Posts New Posts
  FAQ FAQ  Forum Search   Register Register  Login Login

Cinema 4D R17 Drops C++ API Legacy Support

 Post Reply Post Reply
Author
Message
Andreas Block View Drop Down
Forum Moderator
Forum Moderator
Avatar

Joined: 2014 Oct 01
Location: Hannover
Online Status: Offline
Posts: 1430
Post Options Post Options   Quote Andreas Block Quote  Post ReplyReply Direct Link To This Post Topic: Cinema 4D R17 Drops C++ API Legacy Support
    Posted: 2015 Aug 05 at 7:38am

User Information:

Cinema 4D Version:    
Platform:      
Language(s):       

---------

With Cinema 4D R17 the legacy support for the old pre-R15 C++ API will be dropped. The __LEGACY_API define will no longer be available. This means after two years of time for transition you will finally have to switch to the new API in order to compile plugins for R17. This step is not taken lightly, but was necessary to proceed with Cinema 4D's internal development. A guide how to transition your plugin can be found in the SDK documentation.
Most of the needed changes can be done with simple search & replace operations. Only very few changes need your attention and manual adjustment of code.

MAXON is aware, that this means additional work for external developers. We apologize for this.

The Cinema 4D R17 C++ SDK will also require newer IDE versions:
Windows: Visual Studio 2013
Mac: Xcode 6 (any subversion will work, tested 6.0 to 6.4)

If you need any assistance in handling the transition, please feel free to contact the SDK Support Team, either in Plugin Café forums or via e-mail (sdk_support@maxon.net).



Edited by Andreas Block - 2015 Aug 05 at 7:44am
Cheers,
Andreas
SDK Support Engineer
Back to Top
Ilya View Drop Down
Member
Member
Avatar

Joined: 2009 Nov 04
Location: Russia
Online Status: Offline
Posts: 241
Post Options Post Options   Quote Ilya Quote  Post ReplyReply Direct Link To This Post Posted: 2015 Aug 05 at 7:49am
Hm, what i say...OuchCry
I need to fight with my laziness Clown
Thanks for info
(sorry for my English)
Back to Top
ScottA View Drop Down
Member
Member


Joined: 2011 Jan 07
Online Status: Offline
Posts: 2288
Post Options Post Options   Quote ScottA Quote  Post ReplyReply Direct Link To This Post Posted: 2015 Aug 15 at 8:57am
I tried compiling C4D plugins with the new VS2015 Community version and it seemed to work fine.
Can we assume that R17++ will support the new VS2015 versions too?

Also.
Is it too late to ask Maxon to go back to the old way they had the API set up. Without putting everything in the "examples" folder?
That was really annoying to me. And I think there were other people that also hated that.

-ScottA
Back to Top
NiklasR View Drop Down
Member
Member


Joined: 2010 Dec 13
Location: Germany
Online Status: Offline
Posts: 2543
Post Options Post Options   Quote NiklasR Quote  Post ReplyReply Direct Link To This Post Posted: 2015 Aug 15 at 9:11am
That's the fate of the IDE users Tongue
But as far as I remember they already changed it in an R16 SP, or
at least with R17.


Edited by NiklasR - 2015 Aug 15 at 9:12am
Back to Top
Ilya View Drop Down
Member
Member
Avatar

Joined: 2009 Nov 04
Location: Russia
Online Status: Offline
Posts: 241
Post Options Post Options   Quote Ilya Quote  Post ReplyReply Direct Link To This Post Posted: 2015 Aug 15 at 9:22am
Originally posted by ScottA

Is it too late to ask Maxon to go back to the old way they had the API set up. Without putting everything in the "examples" folder?
That was really annoying to me. And I think there were other people that also hated that.

I missed this and simply remove ..\ in notepad, in sln file  < if not to examples dir
Silly from my side, of course Dead
(firstly i did not understand why need examples)


Edited by Ilya - 2015 Aug 15 at 9:23am
(sorry for my English)
Back to Top
wbeh View Drop Down
Member
Member


Joined: 2009 Sep 12
Location: Germany
Online Status: Offline
Posts: 242
Post Options Post Options   Quote wbeh Quote  Post ReplyReply Direct Link To This Post Posted: 2015 Aug 16 at 12:04am
Originally posted by ScottA

[...] Also.Is it too late to ask Maxon to go back to the old way they had the API set up. Without putting everything in the "examples" folder?That was really annoying to me. And I think there were other people that also hated that.-ScottA



That was already changed with SP2 (six months ago).

Best regards,

Wilfried
Back to Top
ScottA View Drop Down
Member
Member


Joined: 2011 Jan 07
Online Status: Offline
Posts: 2288
Post Options Post Options   Quote ScottA Quote  Post ReplyReply Direct Link To This Post Posted: 2015 Aug 16 at 7:47am
^Thanks. That's good news.
I still prefer to use R13. But I do also like to try out the new demos every year. And take a spin through the newest SDK stuff. And that "Examples" thing was a P.I.M.A.

Is there any official word about VS2015 compatibility yet?
I'm guessing that most people will probably be using the 2015 versions by the time R17 comes out.

-ScottA
Back to Top
Ilya View Drop Down
Member
Member
Avatar

Joined: 2009 Nov 04
Location: Russia
Online Status: Offline
Posts: 241
Post Options Post Options   Quote Ilya Quote  Post ReplyReply Direct Link To This Post Posted: 2015 Aug 16 at 8:07am
Originally posted by ScottA

I'm guessing that most people will probably be using the 2015 versions by the time R17 comes out.
-ScottA

Why are you thinking such?
I met negative feedback about 2015. Mostly at ruMSDN and several russian coding forums.
Yes, i saw requests at several communities and porting to this platform, for example adsk dev.network.
But for example fabric team use from vs 2010 to 2013, i could only compile some c4d stuff with vs2010x64 and SpliceAPI v.1.14.2 a few months ago


Edited by Ilya - 2015 Aug 16 at 9:49am
(sorry for my English)
Back to Top
ScottA View Drop Down
Member
Member


Joined: 2011 Jan 07
Online Status: Offline
Posts: 2288
Post Options Post Options   Quote ScottA Quote  Post ReplyReply Direct Link To This Post Posted: 2015 Aug 16 at 9:21am
I'm just guessing based on previous experiences. And the number of posts on various sites where people are already asking for VS2015 support.

When VS2013 was in final pre-release I couldn't build C4D plugins with it either. But as soon as the first RTM was released it worked fine for me.
I've had no internet for a few months. So I've not tried the any of the 2015 pre-releases.
But I just installed 2015 this week (It apparently went RTM a coupe of weeks ago) and it seems to work just fine.
Based on the past couple of versions. VS seems to have a pattern of having many problems until the final version is released. And then it works pretty good.

I have not used it that much yet. But so far it seems solid.

-ScottA
Back to Top
Ilya View Drop Down
Member
Member
Avatar

Joined: 2009 Nov 04
Location: Russia
Online Status: Offline
Posts: 241
Post Options Post Options   Quote Ilya Quote  Post ReplyReply Direct Link To This Post Posted: 2015 Aug 16 at 9:44am
I will to test some new features of directx 12 / win10 for adsk stingray and i had chance compile a few, but it was flash view.
Of course vs 2015 should be to support if possible


Edited by Ilya - 2015 Aug 16 at 9:46am
(sorry for my English)
Back to Top
wbeh View Drop Down
Member
Member


Joined: 2009 Sep 12
Location: Germany
Online Status: Offline
Posts: 242
Post Options Post Options   Quote wbeh Quote  Post ReplyReply Direct Link To This Post Posted: 2015 Aug 16 at 9:49am
Originally posted by ScottA

^Thanks. That's good news.I still prefer to use R13. But I do also like to try out the new demos every year. And take a spin through the newest SDK stuff. And that "Examples" thing was a P.I.M.A.Is there any official word about VS2015 compatibility yet?I'm guessing that most people will probably be using the 2015 versions by the time R17 comes out.-ScottA


VS2015 isn't officially supported (for a good reason); you could use it and discover its bugs for yourself actually if you like though.

We reported several (code generation) bugs already for the previews of VS 2015 that haven't been fixed for the RTM version and which will (most likely) need until SP1 of VS 2015 to be fixed.

Therefore we'd advise developers to wait at least for SP1 of VS2015 before using it.

Best regards,

Wilfried
Back to Top
ScottA View Drop Down
Member
Member


Joined: 2011 Jan 07
Online Status: Offline
Posts: 2288
Post Options Post Options   Quote ScottA Quote  Post ReplyReply Direct Link To This Post Posted: 2015 Aug 16 at 10:11am
Ok. Thanks Wilfried.

-ScottA


Edited by ScottA - 2015 Aug 16 at 10:11am
Back to Top
rsodre View Drop Down
Member
Member


Joined: 2014 Jun 15
Location: Brazil
Online Status: Offline
Posts: 56
Post Options Post Options   Quote rsodre Quote  Post ReplyReply Direct Link To This Post Posted: 2015 Aug 27 at 7:27am
Will plugins compiled for R16 using the __LEGACY_API work on R17?
What about R16 plugins compiled without __LEGACY_API?
Back to Top
Cactus Dan View Drop Down
Member
Member
Avatar

Joined: 2003 Apr 18
Location: United States
Online Status: Offline
Posts: 1053
Post Options Post Options   Quote Cactus Dan Quote  Post ReplyReply Direct Link To This Post Posted: 2015 Sep 04 at 5:24pm
Howdy,
Originally posted by Andreas Block

...The Cinema 4D R17 C++ SDK will also require newer IDE versions:
Windows: Visual Studio 2013
Mac: Xcode 6 (any subversion will work, tested 6.0 to 6.4)...
Well, I installed Visual Studio Express 2013 and all my plugins compiled fine except my CD FBX Import/Export plugin. It is using the FBX SDK 2014.2.1 which doesn't have a library for VS 2013. It only has libraries up to VS 2012.

So I changed the project's properties to compile using v110, and it compiled fine. Do you foresee any issues with that? The plugin loaded fine in R17 Demo and I was able to import a file using it with no crashing.

I'm not really ready to upgrade the FBX SDK to 2015 because I'm still supporting earlier versions of Cinema 4D and FBX 2015 only supports clang on Mac OS. FBX 2014 supports both clang and gcc.

Adios,
Cactus Dan
Back to Top
NiklasR View Drop Down
Member
Member


Joined: 2010 Dec 13
Location: Germany
Online Status: Offline
Posts: 2543
Post Options Post Options   Quote NiklasR Quote  Post ReplyReply Direct Link To This Post Posted: 2015 Sep 05 at 2:17am
All my plugins are compiled with R14 or R15 and still work in R17. Approve
Back to Top
Ilya View Drop Down
Member
Member
Avatar

Joined: 2009 Nov 04
Location: Russia
Online Status: Offline
Posts: 241
Post Options Post Options   Quote Ilya Quote  Post ReplyReply Direct Link To This Post Posted: 2015 Nov 22 at 7:04am
Hi
I got mac machine for testing(thanks to one girl coder).
It has el Capitan and xcode 6.4. Compile sdkR17 samples normally and they run too.

I read at apple dev.network that xcode 7.x supports 10.11. What do you think need to upgrade/update?

(i tried to search about new xcode at this forum)



Edited by Ilya - 2015 Nov 30 at 6:46am
(sorry for my English)
Back to Top
Andreas Block View Drop Down
Forum Moderator
Forum Moderator
Avatar

Joined: 2014 Oct 01
Location: Hannover
Online Status: Offline
Posts: 1430
Post Options Post Options   Quote Andreas Block Quote  Post ReplyReply Direct Link To This Post Posted: 2015 Nov 23 at 6:31am
Hi Ilya,

we recommend to stick to the versions mentioned on our development blog.

Cheers,
Andreas
SDK Support Engineer
Back to Top
Ilya View Drop Down
Member
Member
Avatar

Joined: 2009 Nov 04
Location: Russia
Online Status: Offline
Posts: 241
Post Options Post Options   Quote Ilya Quote  Post ReplyReply Direct Link To This Post Posted: 2015 Nov 23 at 10:00am
Thank you for reply
(sorry for my English)
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Bulletin Board Software by Web Wiz Forums® version 9.61 [Free Express Edition]
Copyright ©2001-2009 Web Wiz

This page was generated in 0.102 seconds.