Navigation

    • Register
    • Login
    • Search
    1. Home
    2. anoano
    A

    anoano

    @anoano

    0
    Reputation
    15
    Posts
    143
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    • Profile
    • More
      • Following
      • Followers
      • Topics
      • Posts
      • Best
      • Groups
    anoano Follow

    Best posts made by anoano

    This user does not have any upvoted posts yet.

    Latest posts made by anoano

    RE: R21 SDK build error

    Thanks for your advice.
    The build is complete.
    It was because VS2017 when Unity was installed was old.
    Now you can build other plugins.
    Thank you very much.

    posted in Cinema 4D SDK •
    RE: R21 SDK build error
    1. I retargeted because the SDK version was 8.1.

    2. All projects have been changed to the new Windows SDK.

    3. I created a project with kernel_app_64bit.exe of project_tool.

    I built it without changing the SDK version again, but I still get an error around core.framework.

    Isn't it possible to get sdk.zip that can be built normally because it is useless here and there?

    posted in Cinema 4D SDK •
    RE: R21 SDK build error

    thank you for contacting.
    Here are the steps I took:
    My environment is Windows 10 & Japanese & CINEMA4D R21.026

    1. Download Project Tool for Cinema 4D R21 and place it under C drive
    c: \ project_tool21
    
    1. After installing R21, extract sdk.zip under C drive
    c: \ sdk21
    
    1. Run the command to move to the Project Tool at the command prompt
    kernel_app_64bit.exe g_updateproject = c: \ sdk21
    
    1. Open plugins.sln and start VS2017
    C: \ sdk21 \ plugins \ project
    
    1. Retargeting the solution to change the Windows SDK version to 10.0.16299.0

    2. Run solution build

    plugins - Microsoft Visual Studio 2019-10-21 16.06.37.jpg

    plugins - Microsoft Visual Studio 2019-10-21 16.07.25.jpg

    posted in Cinema 4D SDK •
    R21 SDK build error

    If you build R21 SDK as it is in VS2017, an error will occur and you will not be able to build.

    1> Looking for source files in C: \ sdk21 \ frameworks \ core.framework ...
    1> register.cpp
    1> c: \ sdk21 \ frameworks \ core.framework \ generated \ hxx \ interfacetemplate2.hxx (209): error C3861: 'PrivateGetInstantiationId': identifier not found
    1> c: \ sdk21 \ frameworks \ core.framework \ generated \ hxx \ interfacetemplate2.hxx (209): error C3861: 'PrivateGetInstantiationSourceName': identifier not found
    1> c: \ sdk21 \ frameworks \ core.framework \ generated \ hxx \ interfacetemplate2.hxx (213): error C3861: 'PrivateGetInstantiationId': identifier not found
    1> c: \ sdk21 \ frameworks \ core.framework \ generated \ hxx \ interfacetemplate2.hxx (400): error C3861: 'PrivateGetInstantiationId': identifier not found
    1> c: \ sdk21 \ frameworks \ core.framework \ generated \ hxx \ interfacetemplate2.hxx (400): error C3861: 'PrivateGetInstantiationSourceName': identifier not found
    1> c: \ sdk21 \ frameworks \ core.framework \ generated \ hxx \ interfacetemplate2.hxx (404): error C3861: 'PrivateGetInstantiationId': identifier not found
    1> Build of project "core.framework.vcxproj" finished-failed.
    

    The Project Tool used was the Project Tool for Cinema 4D R21, and the sdk.zip that came with R21.026 was used.

    How can this be solved?

    posted in Cinema 4D SDK •
    RE: Copy link object

    Re: Copy link object

    This is the code I wrote.

    BaseObject *HyperINS::GetVirtualObjects(BaseObject *op, HierarchyHelp *hh)
    {
            BaseContainer* bc = op->GetDataInstance();
    	BaseObject* main = BaseObject::Alloc(Onull);
    	if (!main) return nullptr;
    	
    	BaseObject    *link= (BaseObject*)bc->GetLink(ID_LINK, hh->GetDocument());
    	if (!link) return main;
    		
    	AutoAlloc<AliasTrans> aliastrans;
            if (!aliastrans || !aliastrans->Init(hh->GetDocument())) return main;
            
            BaseObject* ref = static_cast<BaseObject*>(link->GetClone(COPYFLAGS::NONE, nullptr));
    
            aliastrans->Translate(true);
    
            ref->InsertUnder(main);
    		
    	return main;
    }
    

    It will not work at the manager's position.

    alt text
    alt text

    posted in Cinema 4D SDK •
    Copy link object

    Hi.

    I copied the object of link field in the virtual object with GetClone ().

    However, if the type of the linked object is a generator type such as instance, it can not be displayed properly below the linked object on the object manager.

    I checked past posts and found that they have priority issues.
    But I do not know how to solve it.

    https://plugincafe.maxon.net/topic/6250/6615_clone-of-a-linked-object

    Please let me know if anyone knows who you are.

    posted in Cinema 4D SDK •
    RE: About PopupEditText and SendMail

    Error did not come out safely.
    I did not understand how to use projectdefinition.txt.
    You can proceed with this.
    Thank you very much.

    posted in Cinema 4D SDK •
    RE: About PopupEditText and SendMail

    I do it in the following procedure

    1. Create project file with project_tool

    2. Add network.framework to frameworks

    3. Add path in include directory from project properties![alt text]
      😄 \ sdk \ frameworks \ network.framework \ source
      😄 \ sdk \ frameworks \ network.framework \ generated \ hxx

    alt text

    posted in Cinema 4D SDK •
    RE: About PopupEditText and SendMail

    I could write #include "maxon / network_smtpmail.h" and load it successfully.
    But then I get a message that SmtpErrorInterface and SmtpMailInterface can not be resolved.

    There was an error when opening network_smtpmail1.hxx and network_smtpmail2.hxx.

    How can I do this?

    posted in Cinema 4D SDK •
    RE: About PopupEditText and SendMail

    I added network_smtpmail.h, but when I build it
    LINK 2001 error has occurred.
    External symbol "" public: static class maxon :: InterfaceReference maxon :: SmtpErrorInterface :: _ interface "(? _Interface @ SmtpErrorInterface @ maxon @@ 2VInterfaceReference @ 2 @ A)" is unresolved

    How can I solve this?

    posted in Cinema 4D SDK •