Answer the question
In order to leave comments, you need to log in
How to fix the error of creating an object from an abstract class?
There is an old C++ project under VisualC++2005. Opened it in a modern 2019 studio. This is in order to recompile these sources for x64. Under x86, they apparently compiled without problems, although I did not try it myself, because. along with the source, there are also binaries compiled from the source.
The studio updated the project, changed the configuration to x64, I compile it. And almost immediately it shows two errors on the same line: object of abstract class type is not allowed and cannot instantiate abstract class .
Here are the sources.
Error (active) E0322 object of abstract class type "ScintillaWX" is not allowed: wxscintilla ..\libs\wxScintilla\src\wxscintilla.cpp 170
Error C2259 'ScintillaWX': cannot instantiate abstract class wxscintilla ..\src\wxscintilla.cpp 170
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question