Skip to content

Conversation

siyuhong
Copy link
Contributor

system : ubuntu20
compiler : x86_64-linux-gnu g++
compiler version : 9.4.0
build error : undefined reference to 'Log4Qt::AppenderAttachable::~AppenderAttachable()'

@andibacher
Copy link
Member

Hallo, I can not reproduce this on Ubuntu 20.04 and gcc 9.4. It should not be necessary to define a empty destruction in MainThreadAppender. Any more details why this fails for you?

@siyuhong
Copy link
Contributor Author

This problem will occur when I inherit the MainThreadAppender Class to implement a custom Adapter Class.

@siyuhong siyuhong changed the title fix x86_64-linux-gnu g++ build error: undefined reference fix the log file path error when using system environment variables in log.conf Oct 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants