This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

CUSTOMBUILD : compilation error

0

I have successfully build wireshark 2.2.1 in the same machine with same development Environment. Everything was perfect. Recently I wanted to buuild wireshark 2.2.4 and was unsuccesfull and ist showing These Errors. I have tried with 2.2.2 source code too. But These same Errors appear again! What could be the case? Thanks

         "C:\Temp\_temp\Development\wsbuild32\Wireshark.sln" (Standardziel) (1) ->
   "C:\Temp\_temp\Development\wsbuild32\docbook\developer_guide_chm.vcxproj.metaproj" (Standardziel) (16) ->
   "C:\Temp\_temp\Development\wsbuild32\docbook\developer_guide_chm.vcxproj" (Standardziel) (118) ->
   (CustomBuild Ziel) -> 
     CUSTOMBUILD : compilation error : file C:/Temp/_temp/htmlhelp.xsl line 19 element import [C:\Temp\_temp\Development\wsbuild32\docbook\developer_guide_chm.vcxproj]
     CUSTOMBUILD : compilation error : file C:/Temp/_temp/htmlhelp.xsl line 20 element include [C:\Temp\_temp\Development\wsbuild32\docbook\developer_guide_chm.vcxproj]

"C:\Temp_temp\Development\wsbuild32\Wireshark.sln" (Standardziel) (1) -> "C:\Temp_temp\Development\wsbuild32\docbook\user_guide_chm.vcxproj.metaproj" (Standardziel) (65) -> "C:\Temp_temp\Development\wsbuild32\docbook\user_guide_chm.vcxproj" (Standardziel) (116) -> CUSTOMBUILD : compilation error : file C:/Temp/_temp/htmlhelp.xsl line 19 element import [C:\Temp_temp\Development\wsbuild32\docbook\user_guide_chm.vcxproj] CUSTOMBUILD : compilation error : file C:/Temp/_temp/htmlhelp.xsl line 20 element include [C:\Temp_temp\Development\wsbuild32\docbook\user_guide_chm.vcxproj]

asked 06 Feb ‘17, 06:33

xaheen's gravatar image

xaheen
71141519
accept rate: 50%


2 Answers:

0

I have filnally got somewhere with the issue - This is because of the Company's Firewall. But Dont worry, it dosent bother at all .i have successfully compiled a plugin while These 4 Errors were there. The plugin functions perfectly. So, just avoid These Errors if you are having them.

answered 14 Feb '17, 07:23

xaheen's gravatar image

xaheen
71141519
accept rate: 50%

1

The files aren't required to build a plugin, only to create documentation for a full installer.

(14 Feb '17, 07:49) grahamb ♦

1

It's likely that there is an error in a file that's not getting rebuilt as there's no changes to the source that generates that file.

You can try to force a rebuild by adding a "/t:Rebuild" to the end of your msbuild command, or take the brute force approach of deleting your build directory (wsbuild32), creating a new one and running the cmake and msbuild steps again.

answered 06 Feb '17, 07:03

grahamb's gravatar image

grahamb ♦
19.8k330206
accept rate: 22%

Thanks @grahamb, I have actually totally cleaned and rebuilt the whole wireshark 3 times. everytime the same Problem...

(06 Feb '17, 07:05) xaheen
1

Looking in more depth at the error messages the path seems a little odd, C:/Temp/_temp/htmlhelp.xsl, this seems to be one directory above your source tree.

I have multiple htmlhelp.xsl files in my Cygwin install, but none of them outside there. What's your Cygwin install path, and what else is in C:\Temp\_temp

(06 Feb '17, 07:25) grahamb ♦