Ok, i got some improvements, now i'm getting the same resultsacasta69 wrote: ↑Tue Mar 23, 2021 10:14 am I also tried and it's working here, both VS2017 and VS2019.
Code:Output:Code: Select all
Property prop("test1.prop1", string("aa")); cout << "test1.prop1[0] => " << prop.Get<string>(0) << "\n\n";
Code: Select all
test1.prop1[0] => aa
The main thing was that when creating a new project in VS2017/VS2019, removing the _DEBUG definition was not enough to match runtimes, you also have to go into project properties and set Configuration properties -> Advanced -> Use Debug Libraries to No
The suggestion from Dave :
Solved the rest of issues so that
Code: Select all
Property prop("test1.prop1", string("aa"));
Code: Select all
Property prop("test1.prop1", "aa");
So it looks like i can start my integration now the only thing that would be left would be to re-compile a proper debug version of luxcore to be used with the debug configuration.
To fix your release so that it works correctly with /debug it should be a matter of adding _DEBUG and that "Use Debug Libraries" flag to the project...
Thanks again for your help!