Building wireshark in VS2019 and getting unresolved external symbol __CxxFrameHandler4

asked 2020-06-02 20:48:26 +0000

jlshuman gravatar image

Building wireshark in VS2019 and getting unresolved external symbol __CxxFrameHandler4

edit retag flag offensive close merge delete

Comments

Chuckc gravatar imageChuckc ( 2020-06-03 00:14:58 +0000 )edit

And is there anything left over that was built with VS2017? That appears to be one problem that causes this. (Found with a Google search for __CxxFrameHandler4; that found other stuff as well.)

Guy Harris gravatar imageGuy Harris ( 2020-06-03 04:58:59 +0000 )edit

cl version - 19.25.28614; link version - 14.25.28614. I added my own C++ project that was 2017, but I converted it to 2019 and still get the unresolved symbol error. I also have a C# project that was build by 2017, but it is a csproj file. Does it need to be converted?

jlshuman1961 gravatar imagejlshuman1961 ( 2020-06-03 13:48:17 +0000 )edit

Is it possible the libraries got walked on or linking against the wrong version?

C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.25.28610\lib>dir /s libvcruntime.lib
 Volume in drive C is Windows 10
 Volume Serial Number is B009-E7A9

 Directory of C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.25.28610\lib\onecore\x64

05/11/2020  03:14 PM         1,075,416 libvcruntime.lib
               1 File(s)      1,075,416 bytes

 Directory of C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.25.28610\lib\onecore\x86

05/11/2020  03:14 PM           968,118 libvcruntime.lib
               1 File(s)        968,118 bytes

 Directory of C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.25.28610\lib\x64

05/11/2020  03:14 PM         1,097,108 libvcruntime.lib
               1 ...
(more)
Chuckc gravatar imageChuckc ( 2020-06-03 14:48:01 +0000 )edit