We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AbstractAppender.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) const akso::AbstractAppender::vftable'" (__imp_??_7AbstractAppender@akso@@6B@) AbstractStringAppender.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) const akso::AbstractStringAppender::vftable'" (_imp??_7AbstractStringAppender@akso@@6b@) ConsoleAppender.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) const akso::ConsoleAppender::`vftable'" (_imp??_7ConsoleAppender@akso@@6b@)
vftable'" (__imp_??_7AbstractAppender@akso@@6B@) AbstractStringAppender.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) const akso::AbstractStringAppender::
The text was updated successfully, but these errors were encountered:
Are you trying to statically link with Visual Studio? If so, does it help to make CUTELOGGERSHARED_EXPORT (in CuteLogger_global.h) empty?
CUTELOGGERSHARED_EXPORT
Sorry, something went wrong.
Static compilation requires changing the export symbols. Maybe this modification is more appropriate.
CuteLogger_global.h
#if defined(QT_SHARED) || !defined(QT_STATIC) # if defined(CUTELOGGER_LIBRARY) # define CUTELOGGERSHARED_EXPORT Q_DECL_EXPORT # else # define CUTELOGGERSHARED_EXPORT Q_DECL_IMPORT # endif #else # define CUTELOGGERSHARED_EXPORT #endif
No branches or pull requests
AbstractAppender.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) const akso::AbstractAppender::
vftable'" (__imp_??_7AbstractAppender@akso@@6B@) AbstractStringAppender.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) const akso::AbstractStringAppender::
vftable'" (_imp??_7AbstractStringAppender@akso@@6b@)ConsoleAppender.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) const akso::ConsoleAppender::`vftable'" (_imp??_7ConsoleAppender@akso@@6b@)
The text was updated successfully, but these errors were encountered: