Hi, I am facing issue with wireshark version 2.0.2 after giving command nmake -f Makefile.nmake all Error:
One more thing, with Wireshark version 1.12.3 I am able to build successfully. asked 29 Mar ‘16, 04:05 Chandan Mishra edited 29 Mar ‘16, 04:18 grahamb ♦ |
One Answer:
While nmake\qmake is deprecated for Wireshark 2.x, it still mostly works for the present, but I'm not sure anyone has tried to build 2.x with VS 2010. The production releases are built with VS2013 and there were some folks building with VS2012. I'm also uncertain about using Qt 5.1.1, the production releases are built with 5.3.2, and in addition to that I don't think that Qt provides an x64 bit build for use with VS2010. If you need an x64 build of Wireshark, I think you'll have to move to VS2012, as Qt provides an x64 version of 5.1.1 for that version. If you don't need an x64 build of Wireshark, then report back what happens when using VS2010 and an x86 version of Qt 5.1.1 for VS2010. answered 29 Mar '16, 04:30 grahamb ♦ |
Thanks for details I used VS2010 and x86 version of qt 5.1.1 for x86 wireshark. With that wireshark.exe is not created after command "nmake -f Makefile.nmake all"
only Wireshrak-gtk.exe is created inside wireshrak-gtk2 folder. But build is successful.
Sounds like you don't have the correct path set for nmake (in config.nmake) to locate the Qt install, thus it doesn't build the Qt version of Wireshark.
It have correct path, while building wireshark log show:
cd ui/qt C:\Qt\Qt-5.1.1\5.1.1\msvc2010\bin\qmake CONFG+=release Wireshark.pro
In verify_tools also shows same path.