Ask Your Question
0

alternative for libwireshark.lib in 64 bit

asked 2019-05-20 13:25:53 +0000

Priyanka gravatar image

epan\libwireshark.lib is not present in the 64 bit version of Wireshark , I am trying to convert my plugin to 64bit from 32 bit which is dependent on this library. Is there any alternative file for this library for 64 bit? If so then what and if not then what shall I do? when I am trying to run makefile I am geting this error don't know how to make '....\epan\libwireshark.lib' Kindly help!

edit retag flag offensive close merge delete

Comments

The Wireshark build infrastructure (CMake) is set up so that the build bitness is (mostly) hidden from code, it sounds as though you're doing something wrong.

What version of Wireshark are you building and on what platform?

grahamb gravatar imagegrahamb ( 2019-05-20 14:34:18 +0000 )edit

I am currently using wireshark 3.0.1 on windows 10 platform. Not able to remove #don't know how to make ..epan/libwireshark.lib error

stbimudd gravatar imagestbimudd ( 2019-05-21 10:24:39 +0000 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2019-05-21 11:06:40 +0000

grahamb gravatar image

Assuming you're building a dissector plugin, the libraries that your plugin will link with is set by the target_link_libraries() statement in the CMakeList.txt for your plugin. Normally this will include epan which is the link to libwireshark. If you have anything odd here, you'll have to fix that.

Just clutching at straws, can you confirm you are using a separate build directory for the 32 and 64 bit builds? You can't build both in the same build dir, both builds can share the same source dir.

edit flag offensive delete link more

Comments

Can you help me about how I can add a plugin in 64bit wireshark.?

Priyanka gravatar imagePriyanka ( 2019-05-21 11:09:33 +0000 )edit

The simple answer is in exactly the same way as you add a plugin for 32 bit Wireshark. With your plugin source code in the same spot in the source tree, open an x64 VS build prompt, create an x64 build dir, run the CMake generation step (indicating you want an x64 build) and then run msbuild.

grahamb gravatar imagegrahamb ( 2019-05-21 11:35:15 +0000 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2019-05-20 13:25:53 +0000

Seen: 51 times

Last updated: May 21