This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

Build error ‘No such file or directory: ‘./stats_tree_dialog.cpp’'

0

I build QtShark.pro with Qt5.4 and got the error below:

C:\Python27\python.exe ../../tools/make-tap-reg.py . taps stats_tree_dialog.cpp Traceback (most recent call last): File "../../tools/make-tap-reg.py", line 108, in <module> file = open(filename) IOError: [Errno 2] No such file or directory: './stats_tree_dialog.cpp'

I google a long time and nothing found. Could anyone give me any suggestion?

By the way 1. My code directory is C:\Dev\Wireshark 2. The build step seems ok, i use the same step build wireshark successfully.

asked 07 Aug '15, 18:19

1330's gravatar image

1330
6112
accept rate: 0%


One Answer:

0

I build QtShark.pro with Qt5.4 and got the error below:

Ok, stop doing that and build using the recommended methods, either nmake for 1.12.x or CMake for the development branch (currently 1.99.x). See the Developers Guide for more info (and README.cmake for CMake).

Are you building 1.12.x or development (1.99.x)? If its 1.12.x, don't both with the Qt version as it's not supported and rather buggy.

Are you building using a tarball or git? If from a tarball and it's the dev branch, then you might have got a "bad" one, get a later one, or even better switch to using git and keep your repo up to date.

answered 09 Aug '15, 05:21

grahamb's gravatar image

grahamb ♦
19.8k330206
accept rate: 22%