Skip to content
New issue

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

cmake build log4cxx failed: call of overloaded AppenderSkeleton is ambiguous #259

Open
17336 opened this issue Aug 16, 2023 · 4 comments
Open

Comments

@17336
Copy link

17336 commented Aug 16, 2023

os: centos
log4cxx version: 1.0.0 and 1.1.0
I have installed apr and apr-util and set apr_include_dir, apr_libraries so do apr_util in cmake.
then

cmake ..
make -j4

make command give me an error:

image

@17336
Copy link
Author

17336 commented Aug 16, 2023

i have tried log4cxx 0.13.0 successfully. don't have error.

@swebb2066
Copy link
Contributor

What is the version of the compiler you are using?

Please attach the output from cmake ...

@17336
Copy link
Author

17336 commented Aug 16, 2023

What is the version of the compiler you are using?

Please attach the output from cmake ...

@swebb2066
image

@swebb2066
Copy link
Contributor

I suggest you install a newer compiler then tell cmake to use that new compiler using for example:

cmake .. -DCMAKE_CXX_COMPILER=/usr/local/gcc-9.2.0/bin/g++ -DCMAKE_C_COMPILER=/usr/local/gcc-9.2.0/bin/gcc

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

No branches or pull requests

2 participants