gc8 970 Posted May 31, 2019 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
gc8 970 Posted May 31, 2019 Solved this problem by moving only the necessary parent classes to header file Share this post Link to post Share on other sites