Open giadagibertoni opened 3 years ago
I was installing argos3 via homebrew. I have macOS Big Sur 11.2.3. After brew install bash-completion qt argos3
my output is:
Last 15 lines from /Users/my_name/Library/Logs/Homebrew/argos3/02.make:
using ::islessequal;
~~^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:327:9: error: no member named 'islessgreater' in the global namespace
using ::islessgreater;
~~^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:328:9: error: no member named 'isunordered' in the global namespace
using ::isunordered;
~~^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:329:9: error: no member named 'isunordered' in the global namespace
using ::isunordered;
~~^
13 errors generated.
make[2]: *** [core/CMakeFiles/argos3core_simulator.dir/utility/rate.cpp.o] Error 1
make[1]: *** [core/CMakeFiles/argos3core_simulator.dir/all] Error 2
make: *** [all] Error 2
The prompt suggested me to post this here. Are there any updates on this issue? Thank you in advance
I'm sorry but i haven't found a solution to the problem yet. For now the only solution has been to install argos on Linux.
I believe your mistake is from Xcode. I think you might find this useful: https://forums.swift.org/t/is-anyone-else-getting-this-error-when-building-the-compiler-from-master-on-macos/36113.
I had the same problem, solved this I still had the above error.
Yeah my mistake was from some .sdk in Xcode. I solved it with sudo xcode-select -s /Library/Developer/CommandLineTools
. Now I have your same problem.
I have encountered this problem and worked on it for a bit, without success. I'll try the command @LFK01 suggest, thanks!
@giadagibertoni It's an issue related to Homebrew specifically - if you compile ARGoS from the sources on Mac, everything works (that's how I develop ARGoS).
I tried the command suggested by @LFK01 - no luck. I have also uninstalled and reinstalled Xcode completely - no luck. The thing I noticed is that forcing Homebrew to use a different compiler generates a different error message. This error is related to something Homebrew configures early on, which I have not been able to reproduce fully. By comparing the compilation flags I get when I compile manually and when I do it with Homebrew, I noticed that the include directories are different. For lack of time I haven't been able to make Homebrew behave like my normal compilation environment, although I made some progress by hardcoding a few include folders.
I tried the command suggested by @LFK01 - no luck.
Sorry for the lack of clarity but the command I was referring to did not solve the problem. I was able to have the same error of @giadagibertoni with that command. Anyway I'm happy if it has helped you in troubleshouting even a little.
if you compile ARGoS from the sources on Mac, everything works (that's how I develop ARGoS).
I switched to compiling the source code and it is way better than installing linux :D
Hello Guys, could somebody explain how to install from the sorces on Mac? Thank you in advance!
Anyone can share how to compile the source code?
Hi, i'm having trouble installing argos3 via homebrew. I have macOS Big Sur 11.2.2. I can't solve this problem. Below I report the output after doing
brew install argos3
: