The newest version of argos3 not compiling on mac

Requests regarding how to set up experiments in ARGoS.
Elendurwen
Posts: 41
Joined: Sat Aug 24, 2013 5:08 pm
Contact:

The newest version of argos3 not compiling on mac

Postby Elendurwen » Mon Dec 02, 2013 5:48 pm

Hi, I just cloned the latest version or argos3 from git, but I failed to build it on a mac.
I am sending my error log with details.

I only get the error when trying to build with the Release option (cmake -CMAKE_BUILD_TYPE=Release ../src), when I don't include the -CMAKE_BUILD_TYPE, it builds fine.

Does anyone have any ideas how to fix this?
Attachments
errorLog.txt
(5.1 KiB) Downloaded 541 times

pincy
Site Admin
Posts: 632
Joined: Thu Mar 08, 2012 8:04 pm
Location: Boston, MA
Contact:

Re: The newest version of argos3 not compiling on mac

Postby pincy » Mon Dec 02, 2013 6:00 pm

The error log you attached shows a warning that says "This version of Mac OS X is unsupported", and further on an error about the symbol "Q_WS_X11" being undeclared.

How is your machine configured?

* What version of MacOSX?
* What version of XCode?
* What version of Qt? Installed how?

Cheers,
Carlo
I made ARGoS.

Elendurwen
Posts: 41
Joined: Sat Aug 24, 2013 5:08 pm
Contact:

Re: The newest version of argos3 not compiling on mac

Postby Elendurwen » Mon Dec 02, 2013 6:14 pm

I am running Mac OS 10.9. , Xcode 5.0.1. I am using QT 4.8.5., installed through homebrew. I installed everything needed from homebrew in fact, as per the installation instructions. The warning you mention is part of QT indeed, do you think it's something I have to wait for from them? Do the release and debug of argos vary that much that they use different parts of QT?

pincy
Site Admin
Posts: 632
Joined: Thu Mar 08, 2012 8:04 pm
Location: Boston, MA
Contact:

Re: The newest version of argos3 not compiling on mac

Postby pincy » Thu Dec 05, 2013 7:34 pm

This does not seem to be a problem directly related to the ARGoS code.

I know that Qt 4.8.5 was not compatible with HomeBrew a while ago, but then they seem to have fixed the issue: https://github.com/mxcl/homebrew/pull/23793

Did you install Qt through HomeBrew after this fix? If this is not the case, you may try updating Qt. Otherwise, I'll try to put my hands on a Mac with a similar configuration to yours and find a way around.

Cheers,
Carlo
I made ARGoS.


Return to “How to... ?”