Ask Your Question

Revision history [back]

plugin build errors

Hi, I am trying to recompile a plugin on windows with VS2015. I am able to build wireshark from the sources. But when I add my Plugin to sources I got the following error message.

2>------ Build started: Project: pds, Configuration: Debug x64 ------ 2> Generating plugin.c 2> Traceback (most recent call last): 2> File "C:\Development\wireshark\tools\make-plugin-reg.py", line 78, in <module> 2> contents = file.read() 2> File "C:\Python36\lib\encodings\cp1252.py", line 23, in decode 2> return codecs.charmap_decode(input,self.errors,decoding_table)[0] 2> UnicodeDecodeError: 'charmap' codec can't decode byte 0x81 in position 6233: character maps to <undefined> 2>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(171,5): error MSB6006: "cmd.exe" exited with code 1. ========== Build: 1 succeeded, 1 failed, 15 up-to-date, 0 skipped ==========

What´s going wrong here?

plugin build errors

Hi, I am trying to recompile a plugin on windows with VS2015. I am able to build wireshark from the sources. But when I add my Plugin to sources I got the following error message.

2>------ Build started: Project: pds, Configuration: Debug x64 ------ ------ 2> Generating plugin.c plugin.c 2> Traceback (most recent call last): last): 2> File "C:\Development\wireshark\tools\make-plugin-reg.py", line 78, in <module> <module> 2> contents contents = file.read() file.read() 2> File "C:\Python36\lib\encodings\cp1252.py", line 23, in decode decode 2> return codecs.charmap_decode(input,self.errors,decoding_table)[0] codecs.charmap_decode(input,self.errors,decoding_table)[0] 2> UnicodeDecodeError: 'charmap' codec can't decode byte 0x81 in position 6233: character maps to <undefined> <undefined> 2>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(171,5): error MSB6006: "cmd.exe" exited with code 1. ========== Build: 1 succeeded, 1 failed, 15 up-to-date, 0 skipped skipped ==========

What´s going wrong here?here, why won´t the plugin.c don´t be generated?

plugin build errors

Hi, I am trying to recompile a plugin on windows with VS2015. I am able to build wireshark from the sources. But when I add my Plugin to sources I got the following error message.

2>------ Build started: Project: pds, Configuration: Debug x64 ------ 
2>  Generating plugin.c 
2>  Traceback (most recent call last): 
2>    File "C:\Development\wireshark\tools\make-plugin-reg.py", line 78, in <module> 
2>      contents
    = file.read() 
2>    File "C:\Python36\lib\encodings\cp1252.py", line 23, in decode 
2>      return codecs.charmap_decode(input,self.errors,decoding_table)[0] 
2>  UnicodeDecodeError: 'charmap' codec can't decode byte 0x81 in position 6233: character maps to <undefined> 2>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(171,5): error MSB6006: "cmd.exe" exited with code 1.
    ========== Build: 1 succeeded, 1 failed, 15 up-to-date, 0 skipped
    ==========

==========

What´s going wrong here, why won´t the plugin.c don´t be generated?

plugin build errors

Hi, I am trying to recompile a plugin on windows with VS2015. I am able to build wireshark from the sources. But when I add my Plugin to sources I got the following error message.

2>------ Build started: Project: pds, Configuration: Debug x64 ------ 
2>  Generating plugin.c 
2>  Traceback (most recent call last): 
2>    File "C:\Development\wireshark\tools\make-plugin-reg.py", line 78, in <module> 
2>      contents
    = file.read() 
2>    File "C:\Python36\lib\encodings\cp1252.py", line 23, in decode 
2>      return codecs.charmap_decode(input,self.errors,decoding_table)[0] 
2>  UnicodeDecodeError: 'charmap' codec can't decode byte 0x81 in position 6233: character maps to <undefined> 2>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(171,5): error MSB6006: "cmd.exe" exited with code 1.
    ========== Build: 1 succeeded, 1 failed, 15 up-to-date, 0 skipped
==========

What´s going wrong here, why won´t the plugin.c don´t be generated?