Jump to content
gc8

Missing class entry error

Recommended Posts

Have another problem trying to get my addon work. I added these gui lines to the config.cpp:

 

#include "parent.h"

#define UI_GRID_X	(0.5)
#define UI_GRID_Y	(0.5)
#define UI_GRID_W	(2.5 * pixelW * pixelGrid)
#define UI_GRID_H	(2.5 * pixelH * pixelGrid)
#define UI_GRID_WAbs	(safezoneW)
#define UI_GRID_HAbs	(safeZoneH)

#include "classEditor.h"

 

And this is what now happens:

 

https://imgur.com/9AKhBIP

 

(This code worked as mission but apparently not as addon)

 

How to fix? It's missing some class entry but I assume there's more than one missing...

 

Edit: It's the parent.h include that causes this error but don't know why

Share this post


Link to post
Share on other sites

Solved this problem by moving only the necessary parent classes to header file

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×