BoomerangDecompiler/boomerang

cannot install due to errors

mathewdblewis opened this issue · 3 comments

OS:
MacOS Monterey 12.0.1

Boomerang version or git hash:
v0.5.2

I am trying to install boomerang as explained here:
https://github.com/BoomerangDecompiler/boomerang#building-on-macos
All of the commands worked for me except the last one:
make -j$(sysctl -n hw.ncpu) && make install
When I run the last command, the output contains a number of error messages, ultimately ending with the message:
fatal error: too many errors emitted, stopping now

Here is a summary of the types of errors I get:

redefinition of 'QVector' as different kind of symbol
unknown type name 'QStringData'
unknown type name 'QStringDataPtr'
'QString::Data' (aka 'int') is not a class, namespace, or enumeration
definition of type 'QStringList' conflicts with type alias of the same name
member reference base type 'QString::Data' (aka 'int') is not a structure or union

And here is a longer list of most of the errors:
errors2.txt

It's likely the problem stems from incompatible qt version being found by cmake ( found similar error message around the net )
Please check ( using cmake-gui if available ) if your build has the proper qt version selected?

I started from scratch and included the outputs of all the commands in this file. Maybe something in here will point to the problem:
errors2.txt

When I run brew --prefix qt5 I get /usr/local/opt/qt@5, so I think I am using the right version of qt, but I'm not sure.

I then ran the last line of the instructions and again got the same errors as I mentioned in my original post.

Thanks for taking a look at this for me.

I had the same error -- it currently won't build if qt@6 is installed. brew uninstall qt@6 and try again.