How do you handle a \"cannot instantiate abstract class\" error in C++? I have looked at some of the similar errors here and none of them seem to be exactly the same or prob
Visual Studio's Error List pane only shows you the first line of the error. Invoke View
>Output
and I bet you'll see something like:
c:\path\to\your\code.cpp(42): error C2259: 'AmbientOccluder' : cannot instantiate abstract class
due to following members:
'ULONG MysteryUnimplementedMethod(void)' : is abstract
c:\path\to\some\include.h(8) : see declaration of 'MysteryUnimplementedMethod'
I have answered this question here..Covariant virtual functions return type problem
See if it helps for some one.