dispatch
dispatch copied to clipboard
warning: LNK4272: library machine type 'x86' conflicts with target machine type 'x64'
I get this error trying to install it... any ideas?
nd..DataLinkReceiverImpl$u20$as$u20$pnet_datalink..DataLinkReceiver$GT$4next17h3a83025691b25060E
libpnet_datalink-0a34f7a21e78bc2e.rlib(pnet_datalink-0a34f7a21e78bc2e.pnet_datalink.89658d71-cgu.7.rcgu.o) : error LNK2019: unresolved external symbol __imp_PacketGetAdapterNames referenced in function _ZN13pnet_datalink7backend10interfaces17h6779642a4cf78618E
C:\Users\eendi\.rustup\toolchains\stable-x86_64-pc-windows-msvc\lib\rustlib\x86_64-pc-windows-msvc\lib\Packet.lib : warning LNK4272: library machine type 'x86' conflicts with target machine type 'x64'
C:\Users\eendi\AppData\Local\Temp\cargo-installpwR1se\release\deps\dispatch-536b16db55652398.exe : fatal error LNK1120: 4 unresolved externals
What version of windows are you running, and on what CPU?
@alexkirsz I’m running windows 11 with an 11th gen i7
Make sure to install the right packet.lib, depending of your version of windows, there is both an x64 and x86 version in the sdk zip
dispatch no longer depends on pnet_datalink
, so this issue cannot occur anymore.
You can either try to build dispatch again, or you can install from pre-built binaries. See the Releases page for more information.