Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't find headers ? #1

Open
melMass opened this issue Nov 17, 2019 · 1 comment
Open

Can't find headers ? #1

melMass opened this issue Nov 17, 2019 · 1 comment

Comments

@melMass
Copy link

melMass commented Nov 17, 2019

Hi Bruno,

First of all thanks a lot for MN, I wished for something similar for years!

I have an issue, and I'm pretty sure it's user mistake but for some reason I cannot access your website on which you have the introduction guide.

  1. simply installed the MarketPlace version, enabled the plugin, restarted UE.

  2. I create a Magic node and add any of the preset, it complains:

[Magic Node]:  Script :: MGC PrintLogAllStrings unable to allocate Executable Function; Consider compiling or hot-reloading the C++ project before binding this node.
  1. I tried to recompile my project but:
MGC_PrintLogAllStrings__CPP.h:17:10: fatal error: 'MagicNodeRuntime.h' file not found
  1. I tried to locate it:
locate MagicNodeRuntime.h
# path/to/Engine/Plugins/Marketplace/MagicNode/Source/MagicNodeRuntime/Public/MagicNodeRuntime.h

What is the proper way to add the path to the includes ?

@BrUnOXaVIeRLeiTE
Copy link
Owner

Please take a look into the final note from the end of this blog post:

Note:
When you want your C++ classes to reference and use Magic Node classes from the Source/MagicNodes/ directoy, besides including a node’s respective class header, make sure you add the “MagicNodeRuntime” module dependency to your project as well:

https://brunoxavierleite.wordpress.com/2019/01/16/unreal-magic-nodes-programming/

magicnoderuntimemodule

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants