First time here? Check out the FAQ!
THIS IS A TEST INSTANCE. Feel free to ask and answer questions, but take care to avoid triggering too many notifications.
0

Wireshark.sln does not exist

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.

m.kitagawa@tashiro-t.co.jp's avatar
1
[email protected]
asked 2022-10-10 08:11:35 +0000
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

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.

grahamb's avatar
23.8k
grahamb
answered 2022-10-10 09:30:41 +0000, updated 2022-10-10 13:06:00 +0000
edit flag offensive 0 remove flag delete link

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's avatar Guy 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's avatar [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's avatar [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's avatar Guy 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's avatar [email protected] (2022-10-11 05:58:47 +0000) edit
add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer