I want to create a C++ component that I can include in multiple unreal projects and use the component.
So I thought plugin would be the best way to implement this.
Now, I am in process of creating a C++ plugin. I am trying to follow this tutorial : http://orfeasel.com/plugin-creation-in-ue4/
Now my plugin needs to use an another C++ resources that is already created. I have its .dylib files and headers. the headers are installed at
/usr/local/include
However, when I try to import the header file
<mytest/mytest.h>
in my C++ class, I get an error saying the
<mytest/mytest.h> file was not found
. However, if I check in Finder, the header existing at the path -
/usr/local/include/mytest/mytest.h
I also updated the Build.cs file of my plugin to add that path to the private header location as follows:
PrivateIncludePaths.AddRange(
new string] {
"MyPlugin/Private",
"/usr/local/include",
// ... add other private include paths required here ...
}
);
but that too didnt help.
I am stuck on this… Appreciate any help!
Thanks,
Akshay Shah.