Skip to content
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

cannot install due to errors #275

Open
mathewdblewis opened this issue Dec 17, 2021 · 3 comments
Open

cannot install due to errors #275

mathewdblewis opened this issue Dec 17, 2021 · 3 comments

Comments

@mathewdblewis
Copy link

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

@nemerle
Copy link
Collaborator

nemerle commented Dec 17, 2021

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?

@mathewdblewis
Copy link
Author

mathewdblewis commented Dec 17, 2021

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.

@jes5199
Copy link

jes5199 commented Apr 5, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants