I am trying to use methods from unreal source code, in my c++ project which will create a blueprint node, I can include them without error but when I build my project/compile I get linker 2019 error. Any idea how to resolve this? the source code is in the path of the project.
1 Like
Assuming you are talking about engine code, it’s likely that you will have to add the module that those classes fall under to your dependencies in your Build.cs
file.
1 Like
Thanks, engine is already in the build file, also I added the mainframe (where the function is) the problem still persists.
1 Like
Hmmm - I’m not too sure then sorry
Wait - Just to be sure… You’re including the header file right, not the source file?
1 Like
yes, the header file I include, and no issue while including but issues arises when linker tries to link
1 Like