-
Notifications
You must be signed in to change notification settings - Fork 29
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
Build fail on Sonoma with Clang: error: no template named 'binary_function' in namespace 'std'; did you mean '__binary_function'?
#122
Comments
Lines 215 to 229 in a10087b
However, there is an exception made when building for Android which uses C++14 in that case, so maybe the code doesn't actually need C++17 and using C++14 would work. |
@ryandesign can you help little bit fix compile issues for macos? when you has time. cmakelists added by @G10h4ck , since cmakelist added i has more issue to compile retroshare on macos. |
@ryandesign By the way, maybe UPD. It actually works:
However passing it from the portfile does not. Perhaps CMakeLists somewhere reset flags, so it gets lost and the build remains broken. I added the flag into CMakeLists, it fixed it. |
@defnax I do not think this should be used at all here: we do not need Qt for |
i speak only for disable libsam feature, im thinking cmake project file has no feature to disable libsam on compile, you know what i mean? im not sure, im only thinking. You need to join rs dev network,there you can meet all rs devs there and you can share your macos builds when get success :) |
Qt is not needed to compile the source files, but qmake can be used to create the makefiles. It's the simplest way to go imo. If you find some missing flags, libs, etc, we can add them to the .pro for MacOS. |
@defnax Let’s give a few days to libsam developer, hopefully the issue gets resolved. Otherwise I will look into how to get rid of it in a way it works. |
by default libsam is enabled in the cmakelist, it has no off feature on maco is compile from terminal broken not possible to disable libsam3 check |
@defnax We rather have it fixed than disabled, perhaps. (I did not investigate what specifically it is used for though.) |
sounds great, i started to buld rs on a macos catalina(virtualbox) with a newer qt, not yet done. You can test & help if you can compile webui & retroshare-service too? |
@defnax I should have some time next week for this. Will update then. |
where is the fix? i see nothing on libsam repo |
@defnax I am expecting @eyedeekay to address |
Expect a fix sometime near the beginning of next week, shortly after we publish the main release of Java I2P. |
The text was updated successfully, but these errors were encountered: