error: Invalid record (Producer: 'LLVM3.8.0' Reader: 'LLVM 3.8.0')
Hello, I have installed Sniffnet with the msi file because I can't install it with rust (don't know why it fails) and when I try to lunch the app in terminal, I have the Sniffnet logo and the error message: error: Invalid record (Producer: 'LLVM3.8.0' Reader: 'LLVM 3.8.0') So I've installed LLVM and set the path in the environment variable but still get this message.
I'm on Windows 10
Thanks
Hi @Manu8586Fr did you install the required dependencies?
Yes I did. I tried to retry from the beginning this morning: and reinstall with cargo sniffnet without any problem and no error message. But there's something weird, if I try to start sniffnet from the .cargo folder, nothing happens. And if I go to the sniffnet folder (copy of the GitHub) and do the cargo run sniffnet, I have the same problem with LLVM. π’ I'm not sure to do it well because it's the first time I use GitHub, Rust and all the stuff. Don't even know I my English is good enough to be understood π
So, you did cargo install sniffnet with no errors.
And if you just type sniffnet in your terminal, error: Invalid record (Producer: 'LLVM3.8.0' Reader: 'LLVM 3.8.0') this error is raised, right?
And you also tried cloning the repository and use cargo run...
You did it right, but this error was never raised before. I'll try to investigate
Can you include the full error message (picture or copy the error log)
If I just type sniffnet in my terminal nothing happens but I have the error when I type cargo run sniffnet from the repository clone
Could you post the output of cargo b and of cargo r from your repo clone?
@Manu8586Fr The run sub-command is used for a test build & run of a rust project, but when you install binaries using the install command, you should call them directly by the name and make sure the %USERPROFILE%\.cargo\bin path is added to the Windows environment variables. Besides, in the screenshot, i see that an argument (sniffnet) is sent to sniffnet.exe which looks odd...
Regarding the main issue, please uninstall/remove everything and re-install the app using the latest MSI package that we put at staging yesterday. @GyulyVGC probably can give you a link soon...
I've uninstalled everything, restart my computeur, re-installed npcap 1.75 and rust x64 then re-installed sniffnet with the last msi package. In the sniffnet folder there is only 2 files (licence.txt & sniffnet.exe) and nothing happens when I double-click on the exe file.
Hope the environnement variable is ok (I've replaced the C:\users\emman.cargo\bin by %USERPROFILE%.cargo\bin)
@Manu8586Fr Well, you didn't have to install Rust or Npcap SDK unless you're a developer. What you need is the Npcap DLL which would be installed by Npcap Installer. I'm also curious to know whether MSVC Runtime is installed on your system.
rust and Npcap SDK are removed and MSVC Runtime is installed (x86 & x64) but still the sameπ° Can you tell me where can I find the Npcap DLL because There is no DLL file in the Npcap folder?
@Manu8586Fr DLLs are usually placed under %SystemRoot%\System32 and/or %SystemRoot%\SysWOW64 directories. This one is using the legacy name though: Npcap\wpcap.dll.
Anyways, you must use the installer since there are more required resources that would be installed on the system.
Just found the DLLs under sysWoW64. I've reinstalled with the last MSI package but doesn't work better.
I've reinstalled with the last MSI package but doesn't work better.
I meant the Npcap installer, are we on the same page? If so, please give us some more time to investigate this further.
Yes, Npcap and Sniffnet are re-installed, sorry my English is not very good π I'll wait as long as it takes. Thanks