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.
Posts made by anoano
-
RE: R21 SDK build error
-
RE: R21 SDK build error
-
I retargeted because the SDK version was 8.1.
-
All projects have been changed to the new Windows SDK.
-
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?
-
-
RE: R21 SDK build error
thank you for contacting.
Here are the steps I took:
My environment is Windows 10 & Japanese & CINEMA4D R21.026- Download Project Tool for Cinema 4D R21 and place it under C drive
c: \ project_tool21
- After installing R21, extract sdk.zip under C drive
c: \ sdk21
- Run the command to move to the Project Tool at the command prompt
kernel_app_64bit.exe g_updateproject = c: \ sdk21
- Open plugins.sln and start VS2017
C: \ sdk21 \ plugins \ project
-
Retargeting the solution to change the Windows SDK version to 10.0.16299.0
-
Run solution build
-
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?
-
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.
-
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://developers.maxon.net/forum/topic/6250/6615_clone-of-a-linked-object
Please let me know if anyone knows who you are.
-
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. -
RE: About PopupEditText and SendMail
I do it in the following procedure
-
Create project file with project_tool
-
Add network.framework to frameworks
-
Add path in include directory from project properties![alt text]
\ sdk \ frameworks \ network.framework \ source
\ sdk \ frameworks \ network.framework \ generated \ hxx
-
-
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?
-
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 unresolvedHow can I solve this?
-
RE: About PopupEditText and SendMail
You can now use it after adding a path.
-
RE: About PopupEditText and SendMail
Thank you for making the sample.
I tried it immediately, but I got an error with maxon :: SmtpReceiver.
I want to include network_smtpmail.h but I do not know the location of the file.
Where is the file? -
About PopupEditText and SendMail
PopupEditText and SendMail changed from R20.
Even if I look at the C++ SDK, I can not find the sample so I can not figure out how to write the code.
Please let me know. -
RE: About threads
Hi.
Thank you for teaching me.
I am not sure of the new maxon API Threading.
Are there samples of jobs and Threads? -
About threads
Hello
The around thread becomes new from R20 and it does not work with the old code.
I am trying while looking at the SDK sample, but it does not move with an error.No 1 error
An operator that handles the right operand of maxon :: ResultMemT <maxon :: BaseRef <IMPLEMENTATION, maxon :: StrongRefHandler >> 'can not be found (or can not be converted).class MyThread : public maxon::ThreadInterfaceTemplate<MyThread>
{
public:
const char* GetName() const { return "MyThread"; }
maxon::Result<void> operator ()()
{
GePrint("ok"_s);
}
};class MenuTest : public CommandData
{
static maxon::ThreadRefTemplate<MyThread> g_test;
public:
virtual Bool Execute(BaseDocument doc);
};Bool MenuTest::Execute(BaseDocument doc)
{
if (!g_test) g_test = MyThread::Create() iferr_return; // No1 Error
}Please tell me if you can understand.