Hello ,
I am trying to compile Wireshark for the first time, following the tutorial available at:
https://www.wireshark.org/docs/wsdg_html_chunked/ChSetupWin32.html#ChWin32Generate
I want to add my own dissector in C language, and for this I need to go through the Wireshark compile process.
After following all the instructions for downloading, setting up the environment variables and generating files, I proceeded to the compilation part and the compilation always crashes at the same part:
Previous IPDB not found fall back to full compilation
I tried to do the compilation directly from the terminal x64 Native Tolls Commande Prompt for VS2019 and also directly from Visual Studio (opening the program file and clicking on debug).
I followed the instructions of a forum, recommending to pass the variable /LGTC: incremental to /LGTC but I still get the same compilation error.
After the compilation crashes, I get errors for files that exist but are not handled:
... 3>libqtmain.a(qtmain_win.o) : error LNK2001: symbole externe non résolu _Znay 3>libqtmain.a(qtmain_win.o) : error LNK2001: symbole externe non résolu _Z5qMainiPPc 3>libqtmain.a(qtmain_win.o) : error LNK2001: symbole externe non résolu _ZdaPv 3>C:\Development\wsbuild64\run\Release\Wireshark.exe : fatal error LNK1120: 3686 externes non résolus 3>Génération du projet "wireshark.vcxproj" terminée -- ÉCHEC.
========== Génération : 2 a réussi, 1 a échoué, 21 à jour, 0 a été ignoré ==========