Answer the question
In order to leave comments, you need to log in
Why does error C1014 "Too many include files: depth 1024" occur?
I can't understand what it means. This error occurred after I created a new DLL and moved some of my code into it, after which this error occurred in this new DLL and in another library. Googling the error ( https://stackoverflow .com/questions/2438247/why-am... ) I realized that it arises due to the absence of something like this:
#ifdef MAINTYPES_API_EXPORTS
#define MAINTYPES_API extern "C" __declspec(dllexport)
#else
#define MAINTYPES_API extern "C" __declspec(dllimport)
#endif
#include "Graphic_Library.h"
#include "Graphic_Library.cpp"
Answer the question
In order to leave comments, you need to log in
Put the first line in the title
. Perhaps this will save you from the error.
And why are you doing it is
not clear.
This may indicate that you have not finalized the interface connected in the header file, or some other errors. Such a construction, of course, is not a mistake in itself, but, as a rule, this is not done.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question