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

Building edb-debugger with RegisterView.cpp #872

Open
simonlaikm opened this issue Sep 7, 2024 · 3 comments
Open

Building edb-debugger with RegisterView.cpp #872

simonlaikm opened this issue Sep 7, 2024 · 3 comments

Comments

@simonlaikm
Copy link

Hi, Teran,

I try to build the debugger with following error message:

[ 93%] Building CXX object plugins/ODbgRegisterView/CMakeFiles/ODbgRegisterView.dir/RegisterView.cpp.o
/home/simon/bac/edb-debugger/plugins/ODbgRegisterView/RegisterView.cpp: In member function ‘void ODbgRegisterView::ODBRegView::groupHidden(ODbgRegisterView::RegisterGroup*)’:
/home/simon/bac/edb-debugger/plugins/ODbgRegisterView/RegisterView.cpp:357:104: error: no matching function for call to ‘QMenu::addAction(const char* const&, ODbgRegisterView::ODBRegView::groupHidden(ODbgRegisterView::RegisterGroup*)::<lambda()>)’
hiddenGroupsMenu_->addAction(RegisterGroupTypeNames[groupType], [=] { restoreHiddenGroup(groupType); });
^
my OS system: Ubuntu 16.04 Server version

I had install all the required software.

Any comment about that?

@10110111
Copy link
Contributor

10110111 commented Sep 7, 2024

OK, in Ubuntu 16.04 qt5 version is 5.5.1, while the function in question was introduced in 5.6. You can install a newer Qt from this repo or following this answer (replacing 5.7 with 5.15).

Also note that Ubuntu 16.04 reached its EOL years ago, so you will have more and more problems with it with time: inaccessible repos, out of date dependencies, etc.

@simonlaikm
Copy link
Author

hi, 10110111

thanks,

I had the qt5 version of 5.11, and try it again, the process is still stop at the RegisterView.cpp.

I confused the problem was caused by the function missing some parameter or the declaration of the hiddenGroupsMenu_ by QMenu.

@10110111
Copy link
Contributor

10110111 commented Sep 7, 2024

Please post the full output starting from empty build directory, including cmake configuration output and the build (make, ninja, what have you) output.

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

2 participants