Error when compiling brainstorm

I tried compiling only Brainstorm and I get the same behavior. When I execute brainstorm3.command in the command line, the Brainstorm interface opens. So the compilation seems to work. Also, I get the same error message when trying to run a script with or without parameters.