I’m trying to make a Wraper to call other libraries and have custom functions.
Now, when I just call the class, I can’t seem to as it throws the 3 errors above.
If I remove the line VS_55_TPL_TestClass OBJ; Works.
What I mean is that “for some reason I don’t get to know” Unreal Engine isn’t able to do it right.
I did it with VS with a static library (it has a mini framework) (it doesn’t work) compiled from VS
I did it with Rider library static library (doesn’t work) compiled from Rider.
The error occurs at runtime (when it is executed).
I’ve read countless things, but I don’t think it’s the IDE itself. Since I did the test with both.
This has to be a bug in version 5.2. Otherwise, if it’s not a Bug, some Unreal expert can advise me. Although I doubt it’s not a bug.
Steps in the above example:
1 - I create a “third party” library with the name VS_55_TPL_PluginR
2 - I create a static library inside “third party” called VS_55_TPL_PluginRLivrary
3 - I create a class (these are test classes) VS_55_TPL_TestClass.h/.cpp
4 - I fix the routes.
5 - From Unreal Engine I create a C++ object class for the project VS_55_TPL_PluginRLivrary called VS_55_TPL_SL_WO.h/.cpp
6 - From my Wrapper class VS_55_TPL_SL_WO.h I call VS_55_TPL_TestClass.h “Everything breaks here”