If I compile custom plugin on Windows 64 bit, can I use this plugin on portable Version of wireshark? Thanks asked 28 Oct '16, 01:58 xaheen |
One Answer:
Unfortunately no. The portable version is 32 bit, as this allows it to run on both 32 and 64 bit OS's. answered 28 Oct '16, 02:02 grahamb ♦ showing 5 of 6 show 1 more comments |
Note that on Windows 64 bits, you can still copile a 32 bits version of Wireshark. This plugin would be compatible with Wireshark portable.
Thanks a lot. I just needed this Information. :)
Ah, I slightly misread the question, @Pascal Quantin is correct that for Windows, you can build both 32 bit and 64 bit Wireshark on either 32 bit or 64 bit of the OS, as Visual Studio provides a cross-compiler.
so, can I compile wireshark for 32bit Environment on Windows 64bit operating System? So that I can get 32bit plugin.
Sure, I do that all the time (compile that is), should be all detailed in the Developers Guide.
Basically set the env var WIRESHARK_TARGET_PLATFORM to "win32", and download and install a 32 bit Qt and then point the env var QT5_BASE_DIR to the 32 bit Qt. You can have 32 and 64 bit Qt installed at the same time, but in different directories.
Finally, open the appropriate Visual Studio command prompt.
Thanks a bunch :)