Ask Your Question

Revision history [back]

I faced an error when I tried to build wireshark deb package

Hi there,

Wireshark was cloned from github and I tried to build debian pack via this command "dpkg-buildpackage -us -uc" and I faced an error:

/root/wireshark/ui/qt/simple_dialog.cpp /root/wireshark/ui/qt/simple_dialog.cpp: In member function ‘void SimpleDialog::show()’: /root/wireshark/ui/qt/simple_dialog.cpp:414:13: error: ‘bind’ is not a member of ‘std’ std::bind(visible_message_finished,message_box_,std::placeholders::_1)); ^ /root/wireshark/ui/qt/simple_dialog.cpp:414:66: error: ‘std::placeholders’ has not been declared std::bind(visible_message_finished,message_box_,std::placeholders::_1)); ^ ui/qt/CMakeFiles/qtui.dir/build.make:2482: recipe for target 'ui/qt/CMakeFiles/qtui.dir/simple_dialog.cpp.o' failed

I faced an error when I tried to build wireshark deb package

Hi there,

Wireshark was cloned from github and I tried to build debian pack via this command "dpkg-buildpackage -us -uc" and I faced an error:

/root/wireshark/ui/qt/simple_dialog.cpp
/root/wireshark/ui/qt/simple_dialog.cpp: In member function ‘void SimpleDialog::show()’:
/root/wireshark/ui/qt/simple_dialog.cpp:414:13: error: ‘bind’ is not a member of ‘std’
             std::bind(visible_message_finished,message_box_,std::placeholders::_1));
             ^
/root/wireshark/ui/qt/simple_dialog.cpp:414:66: error: ‘std::placeholders’ has not been declared
             std::bind(visible_message_finished,message_box_,std::placeholders::_1));                                                               ^
ui/qt/CMakeFiles/qtui.dir/build.make:2482: recipe for target 'ui/qt/CMakeFiles/qtui.dir/simple_dialog.cpp.o' failed

failed