-
Notifications
You must be signed in to change notification settings - Fork 3k
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
call of overloaded 'AddTool' function is ambiguous when installing Erlang OTP 24.x versions #7514
Comments
What OS are you building on and what version of c++ do you have? Edit: And does 25/26 work? |
Hi, I am working on Ubuntu 22.04, i was building from source initially as for the c++ / g ++ versions 👍 I don't want to complicate installation by installing erlang otp 25/26 since i need version 24 only for blockscout ( due to this : https://github.com/SyedMuhamadYasir/oldPolygonDocs/blob/main/additional-features/blockscout.md ) |
You can set I don't know much about how wx works, but know that we have had issues in the past where they changed something in an API that made our version no longer compile. What version of wx widgets are you using? |
thank you, i might try that - however, i need to know if blockscout will work without wxwidgets. as for the version for wxWidgets, i am using |
@garazdawi , so i tried by disabling wx and i got this any advices ? |
You are building Erlang 24.0 which was released May 2021 on an OS that was released April 2022. Try with latest 24 patch release instead and see if that works for you. From the error message there seems to be something wrong with crypto, which leads me to think you have openssl 3 installed. OpenSSL 3 was first supported in Erlang 25, so if you insist on using Erlang 24 you will need to install an older openssl version. |
Thank you ! you have been immensely helpful ! Yes i have openssl 3 installed, but i will try an older version of openssl ( which one do you recommend ? ) I tried doing so with the latest Erlang 24 patch (24.3.4.13) and there's another error i cannot disable wx because Blockscout uses wx - i will install an older version of openssl but i don't see any openssl errors in my latest attempt, only a warning ( please see screenshot below ) |
My guess would be that you are using a too new wxwidget version. Try installing an older version and compile with that. |
This is fixed in OTP-25, so either upgrade OTP or downgrade to an older wxWidgets. |
Describe the bug
gen/wxe_wrapper_7.cpp: In function 'void wxToolBar_AddTool_4(WxeApp*, wxeMemEnv*, wxeCommand&)': gen/wxe_wrapper_7.cpp:2342:65: error: call of overloaded 'AddTool(int&, wxString&, wxBitmap&, wxString&, wxItemKind&)' is ambiguous 2342 | wxToolBarToolBase * Result = (wxToolBarToolBase*)This->AddTool(toolId,label,*bitmap,shortHelp,kind); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To Reproduce
simply build Erlang OTP 24 or 24.3.4.13 from source OR through Kerl, doesn't matter and its the same error !
Expected behavior
A smooth Install
Affected versions
OTP 24.0 and also 24.3.4.13
Additional context
The text was updated successfully, but these errors were encountered: