sniffnet icon indicating copy to clipboard operation
sniffnet copied to clipboard

unable to install on Windows 11 ARM64 VM

Open TartCart opened this issue 3 years ago • 4 comments

Having an issue with install for a windows virtual machine on an mac m1 pro. trying to duplicate what the install would be like on a regular x64 machine. I have tried both cargo and the provided MSI.

in the installation readme instructions, I have installed NPcap and downloaded the required npcap SDK but am unsure how to add the "Add the SDK's /Lib or /Lib/x64 folder to your LIB environment variable." Tried googling to find some direction but haven't found anything useful. Screenshot 2022-12-31 at 4 49 31 PM Screenshot 2022-12-31 at 4 49 22 PM

Attached screenshots of errors when installing with Rust and running the sniffnet.exe after installing with the provided MSI.

Any direction would be greatly appreciated. thanks

TartCart avatar Dec 31 '22 07:12 TartCart

Here you can find how to add new environment variables. In your case, you have to specify the Lib/x64 path inside the SDK you have downloaded.

You will not be able to build it with cargo because you don’t have VS code installed. Let me know if it works with the MSI after having modified your environment variables. Just to be sure, add it both to your and to system environment variables.

GyulyVGC avatar Dec 31 '22 08:12 GyulyVGC

I also suggest you to follow this guide, in particular try performing steps 2, 3 and 5.

GyulyVGC avatar Dec 31 '22 08:12 GyulyVGC

Thanks for the prompt reply - I added a user and system environment variable named "LIB" to the path of the SDK's "Lib" folder. (I also tried modifying to the x64 directory). I am getting the same error when running the MSI, I reinstalled and ran as admin. Tho, I have had issues in the past with Windows ARM and running programs. I will try with x64 bit machine when I return home from traveling. thanks again.

TartCart avatar Jan 02 '23 04:01 TartCart

Another solution could be installing it directly on your Mac M1 native system through cargo or through Homebrew

GyulyVGC avatar Jan 02 '23 07:01 GyulyVGC

Closing the issue for inactivity and since issues of this kind has already been solved a number of times. To see other issue like this, filter by windows issue tag.

GyulyVGC avatar May 24 '23 21:05 GyulyVGC