Search found 6 matches

by MMatteini
Tue Mar 23, 2021 4:56 pm
Forum: Development
Topic: SDK compatibility issues in VS2019 C++ project with std::string
Replies: 13
Views: 6657

Re: SDK compatibility issues in VS2019 C++ project with std::string

Ernest wrote: Tue Mar 23, 2021 4:28 pm /D_ITERATOR_DEBUG_LEVEL=0
yep, this also solve the problem, thank you!
by MMatteini
Tue Mar 23, 2021 4:02 pm
Forum: Development
Topic: SDK compatibility issues in VS2019 C++ project with std::string
Replies: 13
Views: 6657

Re: SDK compatibility issues in VS2019 C++ project with std::string

I also tried and it's working here, both VS2017 and VS2019. Code: Property prop("test1.prop1", string("aa")); cout << "test1.prop1[0] => " << prop.Get<string>(0) << "\n\n"; Output: test1.prop1[0] => aa Ok, i got some improvements, now i'm getting the same res...
by MMatteini
Tue Mar 23, 2021 9:05 am
Forum: Development
Topic: SDK compatibility issues in VS2019 C++ project with std::string
Replies: 13
Views: 6657

Re: SDK compatibility issues in VS2019 C++ project with std::string

"aa" is "char *" while std::string is a different type, do you get the same error if you use something like "string("aa")" instead of "aa" ? I tried, and unfortunately i do... I put toghether the most minimal VS2019 project that include an SDK build...
by MMatteini
Mon Mar 22, 2021 8:16 am
Forum: Development
Topic: SDK compatibility issues in VS2019 C++ project with std::string
Replies: 13
Views: 6657

Re: SDK compatibility issues in VS2019 C++ project with std::string

What do you get as output when the value is corrupted? Hi, thanks for your tests! Unfortunately i don't even get that far, since after: Property prop("test1.prop1", "aa"); prop is already corrupted, with dataType==BOOL_VAL(1) and the string field assigned to an invalid pointer. ...
by MMatteini
Fri Mar 19, 2021 4:57 pm
Forum: Development
Topic: SDK compatibility issues in VS2019 C++ project with std::string
Replies: 13
Views: 6657

Re: SDK compatibility issues in VS2019 C++ project with std::string

Thanks for your reply!
I think that should actually be fine, since to test it i created an empty c++ project, in which i just copied the luxcoredemo.cpp test code from the luxcoredemo project, slightly modified to avoid using boost, here is the code:
TestCode.cpp
(7.78 KiB) Downloaded 181 times
, std::string should be the same...
by MMatteini
Fri Mar 19, 2021 11:32 am
Forum: Development
Topic: SDK compatibility issues in VS2019 C++ project with std::string
Replies: 13
Views: 6657

SDK compatibility issues in VS2019 C++ project with std::string

Hi, i'm new to this forum, and to LuxCore! I registered because I'm working to integrate LuxCore renderer into another c++ software as a test, but i'm encountering few issues with the distributed builds of the SDK, I also tried to re-build to no avail: What i did to rebuild: git clone https://github...