Ask Your Question
0

Wireshark.sln does not exist

asked 2022-10-10 08:11:35 +0000

m.kitagawa@tashiro-t.co.jp gravatar image

I got the source code from Git with the following command, but Wireshark.sln does not exist. cd C:\Development git clone https://gitlab.com/wireshark/wireshar...

I want to develop with VS2019 IDE.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2022-10-10 09:30:41 +0000

grahamb gravatar image

updated 2022-10-10 13:06:00 +0000

You need to read the Wireshark Developers Guide end to end. While not complicated, there are a lot of steps to make a Wireshark build on Windows that must be followed exactly otherwise we get questions such as this.

The CMake generation step produces the appropriate Wireshark.sln file along with the many associated .vcxproj files.

Note that Wireshark development has switched to VS 2022, VS 2019 should work but doesn't get as much testing.

edit flag offensive delete link more

Comments

I.e., we don't ship a Wireshark.sln file - or any Makefiles or....

Instead, we ship files for CMake, which is a program that generates Makefiles/Ninja build files/VS solution and project files/Xcode project files/etc..

Guy Harris gravatar imageGuy Harris ( 2022-10-10 16:35:16 +0000 )edit

Thank you for your reply. Where can I get Wireshark.sln? I read the developer's guide, but suddenly wireshark.sln appears in the following places, so I can't build. 2.2.13. Build Wireshark 4.7.1. Visual Studio Integrated Debugger

m.kitagawa@tashiro-t.co.jp gravatar image[email protected] ( 2022-10-10 23:23:41 +0000 )edit

Since there was no description of how to obtain it, the build command fails because wireshark.sln does not exist.

I checked the developer's guide, but could not find any description of how to obtain wireshark.sln.

m.kitagawa@tashiro-t.co.jp gravatar image[email protected] ( 2022-10-11 02:15:12 +0000 )edit

Where can I get Wireshark.sln?

You get it from running CMake, which reads and interprets the CMake files, performing various tests of the environment in which Wireshark will be built, and then writes the Wireshark.sln file out.

See 2.2.12 "Generate the build files" in section 2.2. "Windows: Step-by-Step Guide" of the Wireshark Developer's Guide. Make sure you've performed all the previous steps first.

Guy Harris gravatar imageGuy Harris ( 2022-10-11 02:15:53 +0000 )edit

Thank you for your reply.

well understood.

Currently Cmake is not working with an error.

I am asking in another thread "could not find any instance of Visual Studio".

If possible, I would appreciate it if you could answer those questions

m.kitagawa@tashiro-t.co.jp gravatar image[email protected] ( 2022-10-11 05:58:47 +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

Stats

Asked: 2022-10-10 08:11:35 +0000

Seen: 183 times

Last updated: Oct 11 '22