Ask Your Question

Revision history [back]

Error while building wireshark source code using MSbuild

Hi,

Iam trying to build the wireshark in my windows 7 machine with Qt 5.10.0 and Visual Studio community 2012 version.I followed the Win32/64: Step-by-Step Guide for setting up the environment.

Here generation of the build files is successful ,by giving the command cmake -DENABLE_CHM_GUIDES=on -G "Visual Studio 11 2012 Win64" ..\wireshark

As the next step ,building of the wireshark is tried ,by giving the command msbuild /m /p:Configuration=RelWithDebInfo Wireshark.sln

But the building of the files failed ,by giving the syntax errors as follows

   "C:\Development\wsbuild32\Wireshark.sln" (default target) (1) ->
   "C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj.metaproj" (default target) (29) ->
   "C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj" (default target) (96) ->
   (ClCompile target) -> 
     C:\Development\wireshark\epan\ftypes\ftype-ieee-11073-float.c(1443): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-ieee-11073-float.c(1499): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-double.c(173): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-double.c(202): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-bytes.c(732): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-bytes.c(761): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-bytes.c(790): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-bytes.c(819): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-bytes.c(848): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-bytes.c(877): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-bytes.c(906): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-bytes.c(935): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-bytes.c(964): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-ipv4.c(236): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-guid.c(138): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-ipv6.c(237): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-integer.c(1022): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-integer.c(1050): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-integer.c(1078): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-integer.c(1106): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-integer.c(1134): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-integer.c(1162): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-integer.c(1190): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-integer.c(1218): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-integer.c(1246): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-integer.c(1274): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-integer.c(1302): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-integer.c(1330): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-integer.c(1358): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-integer.c(1386): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-integer.c(1414): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-integer.c(1442): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-integer.c(1470): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-integer.c(1498): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-integer.c(1527): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-integer.c(1556): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-integer.c(1585): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-pcre.c(166): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-protocol.c(466): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-string.c(243): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-string.c(271): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-string.c(299): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-string.c(327): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-time.c(398): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-time.c(426): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]


   "C:\Development\wsbuild32\Wireshark.sln" (default target) (1) ->
   "C:\Development\wsbuild32\epan\dissectors\make-dissectors.vcxproj.metaproj" (default target) (37) ->
   "C:\Development\wsbuild32\epan\dissectors\make-dissectors.vcxproj" (default target) (100) ->
     C:\Development\wireshark\epan\dissectors\make-dissectors.c(111): error C2143: syntax error : missing ';' before 'type' [C:\Development\wsbuild32\epan\dissectors\make-dissectors.vcxproj]
     C:\Development\wireshark\epan\dissectors\make-dissectors.c(111): error C2143: syntax error : missing ')' before 'type' [C:\Development\wsbuild32\epan\dissectors\make-dissectors.vcxproj]
     C:\Development\wireshark\epan\dissectors\make-dissectors.c(111): error C2065: 'arg' : undeclared identifier [C:\Development\wsbuild32\epan\dissectors\make-dissectors.vcxproj]
     C:\Development\wireshark\epan\dissectors\make-dissectors.c(111): error C2059: syntax error : ')' [C:\Development\wsbuild32\epan\dissectors\make-dissectors.vcxproj]
     C:\Development\wireshark\epan\dissectors\make-dissectors.c(111): error C2143: syntax error : missing ';' before '{' [C:\Development\wsbuild32\epan\dissectors\make-dissectors.vcxproj]
     C:\Development\wireshark\epan\dissectors\make-dissectors.c(112): error C2065: 'arg' : undeclared identifier [C:\Development\wsbuild32\epan\dissectors\make-dissectors.vcxproj]
     C:\Development\wireshark\epan\dissectors\make-dissectors.c(113): error C2065: 'arg' : undeclared identifier [C:\Development\wsbuild32\epan\dissectors\make-dissectors.vcxproj]
     C:\Development\wireshark\epan\dissectors\make-dissectors.c(116): error C2065: 'arg' : undeclared identifier [C:\Development\wsbuild32\epan\dissectors\make-dissectors.vcxproj]


   "C:\Development\wsbuild32\Wireshark.sln" (default target) (1) ->
   "C:\Development\wsbuild32\ui\make-taps.vcxproj.metaproj" (default target) (38) ->
   "C:\Development\wsbuild32\ui\make-taps.vcxproj" (default target) (101) ->
     C:\Development\wireshark\ui\make-taps.c(81): error C2143: syntax error : missing ';' before 'type' [C:\Development\wsbuild32\ui\make-taps.vcxproj]
     C:\Development\wireshark\ui\make-taps.c(81): error C2143: syntax error : missing ')' before 'type' [C:\Development\wsbuild32\ui\make-taps.vcxproj]
     C:\Development\wireshark\ui\make-taps.c(81): error C2065: 'arg' : undeclared identifier [C:\Development\wsbuild32\ui\make-taps.vcxproj]
     C:\Development\wireshark\ui\make-taps.c(81): error C2059: syntax error : ')' [C:\Development\wsbuild32\ui\make-taps.vcxproj]
     C:\Development\wireshark\ui\make-taps.c(81): error C2143: syntax error : missing ';' before '{' [C:\Development\wsbuild32\ui\make-taps.vcxproj]
     C:\Development\wireshark\ui\make-taps.c(82): error C2065: 'arg' : undeclared identifier [C:\Development\wsbuild32\ui\make-taps.vcxproj]


   "C:\Development\wsbuild32\Wireshark.sln" (default target) (1) ->
   "C:\Development\wsbuild32\ui\ui.vcxproj.metaproj" (default target) (64) ->
   "C:\Development\wsbuild32\ui\ui.vcxproj" (default target) (103) ->
     C:\Development\wireshark\ui\iface_lists.c(295): error C2275: 'gboolean' : illegal use of this type as an expression [C:\Development\wsbuild32\ui\ui.vcxproj]
     C:\Development\wireshark\ui\iface_lists.c(295): error C2146: syntax error : missing ';' before identifier 'selected' [C:\Development\wsbuild32\ui\ui.vcxproj]
     C:\Development\wireshark\ui\iface_lists.c(295): error C2065: 'selected' : undeclared identifier [C:\Development\wsbuild32\ui\ui.vcxproj]
     C:\Development\wireshark\ui\iface_lists.c(297): error C2065: 'selected' : undeclared identifier [C:\Development\wsbuild32\ui\ui.vcxproj]
     C:\Development\wireshark\ui\tap-rtp-common.c(667): error C2275: 'gint32' : illegal use of this type as an expression [C:\Development\wsbuild32\ui\ui.vcxproj]
     C:\Development\wireshark\ui\tap-rtp-common.c(667): error C2146: syntax error : missing ';' before identifier 'tsdelta' [C:\Development\wsbuild32\ui\ui.vcxproj]
     C:\Development\wireshark\ui\tap-rtp-common.c(667): error C2065: 'tsdelta' : undeclared identifier [C:\Development\wsbuild32\ui\ui.vcxproj]
     C:\Development\wireshark\ui\tap-rtp-common.c(668): error C2065: 'tsdelta' : undeclared identifier [C:\Development\wsbuild32\ui\ui.vcxproj]


   "C:\Development\wsbuild32\Wireshark.sln" (default target) (1) ->
   "C:\Development\wsbuild32\epan\wslua\wslua.vcxproj.metaproj" (default target) (79) ->
   "C:\Development\wsbuild32\epan\wslua\wslua.vcxproj" (default target) (112) ->
     C:\Development\wireshark\epan\wslua\wslua_byte_array.c(391): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_address.c(268): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_column.c(258): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_column.c(375): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_dissector.c(159): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_dir.c(377): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_dissector.c(701): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_capture_info.c(303): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_capture_info.c(509): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_dumper.c(176): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_dumper.c(509): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_file.c(515): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_field.c(487): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_field.c(809): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_file_handler.c(1005): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_frame_info.c(252): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_frame_info.c(397): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_listener.c(376): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_internals.c(346): error C2143: syntax error : missing ';' before 'const' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_internals.c(347): error C2065: 'classname' : undeclared identifier [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_gui.c(407): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_gui.c(705): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_int64.c(608): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_int64.c(1129): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_nstime.c(203): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_pref.c(326): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_pref.c(513): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_proto_expert.c(169): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_pinfo.c(163): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_pinfo.c(477): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_proto_field.c(1321): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_proto.c(564): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_struct.c(669): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_tree.c(888): error C2275: 'ProtoField' : illegal use of this type as an expression [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_tree.c(888): error C2146: syntax error : missing ';' before identifier 'f' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_tree.c(888): error C2065: 'f' : undeclared identifier [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_tree.c(889): error C2065: 'f' : undeclared identifier [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_tree.c(890): error C2065: 'f' : undeclared identifier [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_tree.c(890): error C2223: left of '->hfid' must point to struct/union [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_tree.c(890): error C2198: 'proto_field_is_referenced' : too few arguments for call [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_tree.c(967): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_tvb.c(325): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_tvb.c(1459): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\init_wslua.c(689): error C2143: syntax error : missing ';' before 'type' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\init_wslua.c(690): error C2065: 'old_path' : undeclared identifier [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\init_wslua.c(691): error C2065: 'old_path' : undeclared identifier [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\init_wslua.c(693): error C2065: 'old_path' : undeclared identifier [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]


   "C:\Development\wsbuild32\Wireshark.sln" (default target) (1) ->
   "C:\Development\wsbuild32\wsutil\wsutil.vcxproj.metaproj" (default target) (81) ->
   "C:\Development\wsbuild32\wsutil\wsutil.vcxproj" (default target) (109) ->
     C:\Development\wireshark\wsutil\filesystem.c(1439): error C2143: syntax error : missing ';' before 'type' [C:\Development\wsbuild32\wsutil\wsutil.vcxproj]
     C:\Development\wireshark\wsutil\filesystem.c(1440): error C2065: 'ret' : undeclared identifier [C:\Development\wsbuild32\wsutil\wsutil.vcxproj]
     C:\Development\wireshark\wsutil\filesystem.c(1442): error C2065: 'ret' : undeclared identifier [C:\Development\wsbuild32\wsutil\wsutil.vcxproj]
     C:\Development\wireshark\wsutil\filesystem.c(1576): error C2143: syntax error : missing ';' before 'type' [C:\Development\wsbuild32\wsutil\wsutil.vcxproj]
     C:\Development\wireshark\wsutil\filesystem.c(1577): error C2143: syntax error : missing ';' before 'type' [C:\Development\wsbuild32\wsutil\wsutil.vcxproj]
     C:\Development\wireshark\wsutil\filesystem.c(1579): error C2065: 'profile_dir' : undeclared identifier [C:\Development\wsbuild32\wsutil\wsutil.vcxproj]
     C:\Development\wireshark\wsutil\filesystem.c(1580): error C2065: 'ret' : undeclared identifier [C:\Development\wsbuild32\wsutil\wsutil.vcxproj]
     C:\Development\wireshark\wsutil\filesystem.c(1580): error C2065: 'profile_dir' : undeclared identifier [C:\Development\wsbuild32\wsutil\wsutil.vcxproj]
     C:\Development\wireshark\wsutil\filesystem.c(1583): error C2065: 'profile_dir' : undeclared identifier [C:\Development\wsbuild32\wsutil\wsutil.vcxproj]
     C:\Development\wireshark\wsutil\filesystem.c(1584): error C2065: 'ret' : undeclared identifier [C:\Development\wsbuild32\wsutil\wsutil.vcxproj]

17 Warning(s)
124 Error(s)

Time Elapsed 00:00:59.50

Could you please help me to resolve this issue?

Regards, Shruthi

Error while building wireshark source code using MSbuild

Hi,

Iam trying to build the wireshark in my windows 7 machine with Qt 5.10.0 and Visual Studio community 2012 version.I followed the Win32/64: Step-by-Step Guide for setting up the environment.

Here generation of the build files is successful ,by giving the command cmake -DENABLE_CHM_GUIDES=on -G "Visual Studio 11 2012 Win64" ..\wireshark

As the next step ,building of the wireshark is tried ,by giving the command msbuild /m /p:Configuration=RelWithDebInfo Wireshark.sln

But the building of the files failed ,by giving the syntax errors as follows

   "C:\Development\wsbuild32\Wireshark.sln" (default target) (1) ->
   "C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj.metaproj" (default target) (29) ->
   "C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj" (default target) (96) ->
   (ClCompile target) -> 
     C:\Development\wireshark\epan\ftypes\ftype-ieee-11073-float.c(1443): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-ieee-11073-float.c(1499): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-double.c(173): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-double.c(202): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-bytes.c(732): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-bytes.c(761): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-bytes.c(790): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-bytes.c(819): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-bytes.c(848): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-bytes.c(877): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-bytes.c(906): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-bytes.c(935): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-bytes.c(964): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-ipv4.c(236): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-guid.c(138): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-ipv6.c(237): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-integer.c(1022): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-integer.c(1050): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-integer.c(1078): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-integer.c(1106): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-integer.c(1134): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-integer.c(1162): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-integer.c(1190): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-integer.c(1218): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-integer.c(1246): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-integer.c(1274): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-integer.c(1302): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-integer.c(1330): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-integer.c(1358): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-integer.c(1386): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-integer.c(1414): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-integer.c(1442): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-integer.c(1470): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-integer.c(1498): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-integer.c(1527): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-integer.c(1556): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-integer.c(1585): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-pcre.c(166): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-protocol.c(466): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-string.c(243): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-string.c(271): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-string.c(299): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-string.c(327): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-time.c(398): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-time.c(426): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]


   "C:\Development\wsbuild32\Wireshark.sln" (default target) (1) ->
   "C:\Development\wsbuild32\epan\dissectors\make-dissectors.vcxproj.metaproj" (default target) (37) ->
   "C:\Development\wsbuild32\epan\dissectors\make-dissectors.vcxproj" (default target) (100) ->
     C:\Development\wireshark\epan\dissectors\make-dissectors.c(111): error C2143: syntax error : missing ';' before 'type' [C:\Development\wsbuild32\epan\dissectors\make-dissectors.vcxproj]
     C:\Development\wireshark\epan\dissectors\make-dissectors.c(111): error C2143: syntax error : missing ')' before 'type' [C:\Development\wsbuild32\epan\dissectors\make-dissectors.vcxproj]
     C:\Development\wireshark\epan\dissectors\make-dissectors.c(111): error C2065: 'arg' : undeclared identifier [C:\Development\wsbuild32\epan\dissectors\make-dissectors.vcxproj]
     C:\Development\wireshark\epan\dissectors\make-dissectors.c(111): error C2059: syntax error : ')' [C:\Development\wsbuild32\epan\dissectors\make-dissectors.vcxproj]
     C:\Development\wireshark\epan\dissectors\make-dissectors.c(111): error C2143: syntax error : missing ';' before '{' [C:\Development\wsbuild32\epan\dissectors\make-dissectors.vcxproj]
     C:\Development\wireshark\epan\dissectors\make-dissectors.c(112): error C2065: 'arg' : undeclared identifier [C:\Development\wsbuild32\epan\dissectors\make-dissectors.vcxproj]
     C:\Development\wireshark\epan\dissectors\make-dissectors.c(113): error C2065: 'arg' : undeclared identifier [C:\Development\wsbuild32\epan\dissectors\make-dissectors.vcxproj]
     C:\Development\wireshark\epan\dissectors\make-dissectors.c(116): error C2065: 'arg' : undeclared identifier [C:\Development\wsbuild32\epan\dissectors\make-dissectors.vcxproj]


   "C:\Development\wsbuild32\Wireshark.sln" (default target) (1) ->
   "C:\Development\wsbuild32\ui\make-taps.vcxproj.metaproj" (default target) (38) ->
   "C:\Development\wsbuild32\ui\make-taps.vcxproj" (default target) (101) ->
     C:\Development\wireshark\ui\make-taps.c(81): error C2143: syntax error : missing ';' before 'type' [C:\Development\wsbuild32\ui\make-taps.vcxproj]
     C:\Development\wireshark\ui\make-taps.c(81): error C2143: syntax error : missing ')' before 'type' [C:\Development\wsbuild32\ui\make-taps.vcxproj]
     C:\Development\wireshark\ui\make-taps.c(81): error C2065: 'arg' : undeclared identifier [C:\Development\wsbuild32\ui\make-taps.vcxproj]
     C:\Development\wireshark\ui\make-taps.c(81): error C2059: syntax error : ')' [C:\Development\wsbuild32\ui\make-taps.vcxproj]
     C:\Development\wireshark\ui\make-taps.c(81): error C2143: syntax error : missing ';' before '{' [C:\Development\wsbuild32\ui\make-taps.vcxproj]
     C:\Development\wireshark\ui\make-taps.c(82): error C2065: 'arg' : undeclared identifier [C:\Development\wsbuild32\ui\make-taps.vcxproj]


   "C:\Development\wsbuild32\Wireshark.sln" (default target) (1) ->
   "C:\Development\wsbuild32\ui\ui.vcxproj.metaproj" (default target) (64) ->
   "C:\Development\wsbuild32\ui\ui.vcxproj" (default target) (103) ->
     C:\Development\wireshark\ui\iface_lists.c(295): error C2275: 'gboolean' : illegal use of this type as an expression [C:\Development\wsbuild32\ui\ui.vcxproj]
     C:\Development\wireshark\ui\iface_lists.c(295): error C2146: syntax error : missing ';' before identifier 'selected' [C:\Development\wsbuild32\ui\ui.vcxproj]
     C:\Development\wireshark\ui\iface_lists.c(295): error C2065: 'selected' : undeclared identifier [C:\Development\wsbuild32\ui\ui.vcxproj]
     C:\Development\wireshark\ui\iface_lists.c(297): error C2065: 'selected' : undeclared identifier [C:\Development\wsbuild32\ui\ui.vcxproj]
     C:\Development\wireshark\ui\tap-rtp-common.c(667): error C2275: 'gint32' : illegal use of this type as an expression [C:\Development\wsbuild32\ui\ui.vcxproj]
     C:\Development\wireshark\ui\tap-rtp-common.c(667): error C2146: syntax error : missing ';' before identifier 'tsdelta' [C:\Development\wsbuild32\ui\ui.vcxproj]
     C:\Development\wireshark\ui\tap-rtp-common.c(667): error C2065: 'tsdelta' : undeclared identifier [C:\Development\wsbuild32\ui\ui.vcxproj]
     C:\Development\wireshark\ui\tap-rtp-common.c(668): error C2065: 'tsdelta' : undeclared identifier [C:\Development\wsbuild32\ui\ui.vcxproj]


   "C:\Development\wsbuild32\Wireshark.sln" (default target) (1) ->
   "C:\Development\wsbuild32\epan\wslua\wslua.vcxproj.metaproj" (default target) (79) ->
   "C:\Development\wsbuild32\epan\wslua\wslua.vcxproj" (default target) (112) ->
     C:\Development\wireshark\epan\wslua\wslua_byte_array.c(391): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_address.c(268): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_column.c(258): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_column.c(375): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_dissector.c(159): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_dir.c(377): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_dissector.c(701): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_capture_info.c(303): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_capture_info.c(509): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_dumper.c(176): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_dumper.c(509): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_file.c(515): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_field.c(487): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_field.c(809): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_file_handler.c(1005): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_frame_info.c(252): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_frame_info.c(397): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_listener.c(376): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_internals.c(346): error C2143: syntax error : missing ';' before 'const' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_internals.c(347): error C2065: 'classname' : undeclared identifier [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_gui.c(407): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_gui.c(705): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_int64.c(608): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_int64.c(1129): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_nstime.c(203): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_pref.c(326): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_pref.c(513): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_proto_expert.c(169): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_pinfo.c(163): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_pinfo.c(477): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_proto_field.c(1321): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_proto.c(564): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_struct.c(669): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_tree.c(888): error C2275: 'ProtoField' : illegal use of this type as an expression [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_tree.c(888): error C2146: syntax error : missing ';' before identifier 'f' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_tree.c(888): error C2065: 'f' : undeclared identifier [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_tree.c(889): error C2065: 'f' : undeclared identifier [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_tree.c(890): error C2065: 'f' : undeclared identifier [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_tree.c(890): error C2223: left of '->hfid' must point to struct/union [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_tree.c(890): error C2198: 'proto_field_is_referenced' : too few arguments for call [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_tree.c(967): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_tvb.c(325): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_tvb.c(1459): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\init_wslua.c(689): error C2143: syntax error : missing ';' before 'type' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\init_wslua.c(690): error C2065: 'old_path' : undeclared identifier [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\init_wslua.c(691): error C2065: 'old_path' : undeclared identifier [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\init_wslua.c(693): error C2065: 'old_path' : undeclared identifier [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]


   "C:\Development\wsbuild32\Wireshark.sln" (default target) (1) ->
   "C:\Development\wsbuild32\wsutil\wsutil.vcxproj.metaproj" (default target) (81) ->
   "C:\Development\wsbuild32\wsutil\wsutil.vcxproj" (default target) (109) ->
     C:\Development\wireshark\wsutil\filesystem.c(1439): error C2143: syntax error : missing ';' before 'type' [C:\Development\wsbuild32\wsutil\wsutil.vcxproj]
     C:\Development\wireshark\wsutil\filesystem.c(1440): error C2065: 'ret' : undeclared identifier [C:\Development\wsbuild32\wsutil\wsutil.vcxproj]
     C:\Development\wireshark\wsutil\filesystem.c(1442): error C2065: 'ret' : undeclared identifier [C:\Development\wsbuild32\wsutil\wsutil.vcxproj]
     C:\Development\wireshark\wsutil\filesystem.c(1576): error C2143: syntax error : missing ';' before 'type' [C:\Development\wsbuild32\wsutil\wsutil.vcxproj]
     C:\Development\wireshark\wsutil\filesystem.c(1577): error C2143: syntax error : missing ';' before 'type' [C:\Development\wsbuild32\wsutil\wsutil.vcxproj]
     C:\Development\wireshark\wsutil\filesystem.c(1579): error C2065: 'profile_dir' : undeclared identifier [C:\Development\wsbuild32\wsutil\wsutil.vcxproj]
     C:\Development\wireshark\wsutil\filesystem.c(1580): error C2065: 'ret' : undeclared identifier [C:\Development\wsbuild32\wsutil\wsutil.vcxproj]
     C:\Development\wireshark\wsutil\filesystem.c(1580): error C2065: 'profile_dir' : undeclared identifier [C:\Development\wsbuild32\wsutil\wsutil.vcxproj]
     C:\Development\wireshark\wsutil\filesystem.c(1583): error C2065: 'profile_dir' : undeclared identifier [C:\Development\wsbuild32\wsutil\wsutil.vcxproj]
     C:\Development\wireshark\wsutil\filesystem.c(1584): error C2065: 'ret' : undeclared identifier [C:\Development\wsbuild32\wsutil\wsutil.vcxproj]

17 Warning(s)
124 Error(s)

Time Elapsed 00:00:59.50

Could you please help me to resolve this issue?

Regards, Shruthi

Error while building wireshark source code using MSbuild

Hi,

Iam trying to build the wireshark in my windows 7 machine with Qt 5.10.0 and Visual Studio community 2012 version.I followed the Win32/64: Step-by-Step Guide for setting up the environment.

Here generation of the build files is successful ,by giving the command cmake -DENABLE_CHM_GUIDES=on -G "Visual Studio 11 2012 Win64" ..\wireshark

As the next step ,building of the wireshark is tried ,by giving the command command msbuild /m /p:Configuration=RelWithDebInfo Wireshark.sln

But the building of the files failed ,by giving the syntax errors as follows

   "C:\Development\wsbuild32\Wireshark.sln" (default target) (1) ->
   "C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj.metaproj" (default target) (29) ->
   "C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj" (default target) (96) ->
   (ClCompile target) -> 
     C:\Development\wireshark\epan\ftypes\ftype-ieee-11073-float.c(1443): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-ieee-11073-float.c(1499): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-double.c(173): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-double.c(202): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-bytes.c(732): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-bytes.c(761): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-bytes.c(790): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-bytes.c(819): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-bytes.c(848): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-bytes.c(877): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-bytes.c(906): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-bytes.c(935): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-bytes.c(964): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-ipv4.c(236): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-guid.c(138): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-ipv6.c(237): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-integer.c(1022): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-integer.c(1050): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-integer.c(1078): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-integer.c(1106): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-integer.c(1134): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-integer.c(1162): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-integer.c(1190): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-integer.c(1218): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-integer.c(1246): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-integer.c(1274): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-integer.c(1302): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-integer.c(1330): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-integer.c(1358): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-integer.c(1386): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-integer.c(1414): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-integer.c(1442): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-integer.c(1470): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-integer.c(1498): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-integer.c(1527): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-integer.c(1556): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-integer.c(1585): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-pcre.c(166): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-protocol.c(466): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-string.c(243): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-string.c(271): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-string.c(299): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-string.c(327): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-time.c(398): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]
     C:\Development\wireshark\epan\ftypes\ftype-time.c(426): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\ftypes\ftypes.vcxproj]


   "C:\Development\wsbuild32\Wireshark.sln" (default target) (1) ->
   "C:\Development\wsbuild32\epan\dissectors\make-dissectors.vcxproj.metaproj" (default target) (37) ->
   "C:\Development\wsbuild32\epan\dissectors\make-dissectors.vcxproj" (default target) (100) ->
     C:\Development\wireshark\epan\dissectors\make-dissectors.c(111): error C2143: syntax error : missing ';' before 'type' [C:\Development\wsbuild32\epan\dissectors\make-dissectors.vcxproj]
     C:\Development\wireshark\epan\dissectors\make-dissectors.c(111): error C2143: syntax error : missing ')' before 'type' [C:\Development\wsbuild32\epan\dissectors\make-dissectors.vcxproj]
     C:\Development\wireshark\epan\dissectors\make-dissectors.c(111): error C2065: 'arg' : undeclared identifier [C:\Development\wsbuild32\epan\dissectors\make-dissectors.vcxproj]
     C:\Development\wireshark\epan\dissectors\make-dissectors.c(111): error C2059: syntax error : ')' [C:\Development\wsbuild32\epan\dissectors\make-dissectors.vcxproj]
     C:\Development\wireshark\epan\dissectors\make-dissectors.c(111): error C2143: syntax error : missing ';' before '{' [C:\Development\wsbuild32\epan\dissectors\make-dissectors.vcxproj]
     C:\Development\wireshark\epan\dissectors\make-dissectors.c(112): error C2065: 'arg' : undeclared identifier [C:\Development\wsbuild32\epan\dissectors\make-dissectors.vcxproj]
     C:\Development\wireshark\epan\dissectors\make-dissectors.c(113): error C2065: 'arg' : undeclared identifier [C:\Development\wsbuild32\epan\dissectors\make-dissectors.vcxproj]
     C:\Development\wireshark\epan\dissectors\make-dissectors.c(116): error C2065: 'arg' : undeclared identifier [C:\Development\wsbuild32\epan\dissectors\make-dissectors.vcxproj]


   "C:\Development\wsbuild32\Wireshark.sln" (default target) (1) ->
   "C:\Development\wsbuild32\ui\make-taps.vcxproj.metaproj" (default target) (38) ->
   "C:\Development\wsbuild32\ui\make-taps.vcxproj" (default target) (101) ->
     C:\Development\wireshark\ui\make-taps.c(81): error C2143: syntax error : missing ';' before 'type' [C:\Development\wsbuild32\ui\make-taps.vcxproj]
     C:\Development\wireshark\ui\make-taps.c(81): error C2143: syntax error : missing ')' before 'type' [C:\Development\wsbuild32\ui\make-taps.vcxproj]
     C:\Development\wireshark\ui\make-taps.c(81): error C2065: 'arg' : undeclared identifier [C:\Development\wsbuild32\ui\make-taps.vcxproj]
     C:\Development\wireshark\ui\make-taps.c(81): error C2059: syntax error : ')' [C:\Development\wsbuild32\ui\make-taps.vcxproj]
     C:\Development\wireshark\ui\make-taps.c(81): error C2143: syntax error : missing ';' before '{' [C:\Development\wsbuild32\ui\make-taps.vcxproj]
     C:\Development\wireshark\ui\make-taps.c(82): error C2065: 'arg' : undeclared identifier [C:\Development\wsbuild32\ui\make-taps.vcxproj]


   "C:\Development\wsbuild32\Wireshark.sln" (default target) (1) ->
   "C:\Development\wsbuild32\ui\ui.vcxproj.metaproj" (default target) (64) ->
   "C:\Development\wsbuild32\ui\ui.vcxproj" (default target) (103) ->
     C:\Development\wireshark\ui\iface_lists.c(295): error C2275: 'gboolean' : illegal use of this type as an expression [C:\Development\wsbuild32\ui\ui.vcxproj]
     C:\Development\wireshark\ui\iface_lists.c(295): error C2146: syntax error : missing ';' before identifier 'selected' [C:\Development\wsbuild32\ui\ui.vcxproj]
     C:\Development\wireshark\ui\iface_lists.c(295): error C2065: 'selected' : undeclared identifier [C:\Development\wsbuild32\ui\ui.vcxproj]
     C:\Development\wireshark\ui\iface_lists.c(297): error C2065: 'selected' : undeclared identifier [C:\Development\wsbuild32\ui\ui.vcxproj]
     C:\Development\wireshark\ui\tap-rtp-common.c(667): error C2275: 'gint32' : illegal use of this type as an expression [C:\Development\wsbuild32\ui\ui.vcxproj]
     C:\Development\wireshark\ui\tap-rtp-common.c(667): error C2146: syntax error : missing ';' before identifier 'tsdelta' [C:\Development\wsbuild32\ui\ui.vcxproj]
     C:\Development\wireshark\ui\tap-rtp-common.c(667): error C2065: 'tsdelta' : undeclared identifier [C:\Development\wsbuild32\ui\ui.vcxproj]
     C:\Development\wireshark\ui\tap-rtp-common.c(668): error C2065: 'tsdelta' : undeclared identifier [C:\Development\wsbuild32\ui\ui.vcxproj]


   "C:\Development\wsbuild32\Wireshark.sln" (default target) (1) ->
   "C:\Development\wsbuild32\epan\wslua\wslua.vcxproj.metaproj" (default target) (79) ->
   "C:\Development\wsbuild32\epan\wslua\wslua.vcxproj" (default target) (112) ->
     C:\Development\wireshark\epan\wslua\wslua_byte_array.c(391): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_address.c(268): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_column.c(258): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_column.c(375): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_dissector.c(159): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_dir.c(377): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_dissector.c(701): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_capture_info.c(303): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_capture_info.c(509): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_dumper.c(176): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_dumper.c(509): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_file.c(515): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_field.c(487): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_field.c(809): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_file_handler.c(1005): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_frame_info.c(252): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_frame_info.c(397): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_listener.c(376): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_internals.c(346): error C2143: syntax error : missing ';' before 'const' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_internals.c(347): error C2065: 'classname' : undeclared identifier [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_gui.c(407): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_gui.c(705): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_int64.c(608): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_int64.c(1129): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_nstime.c(203): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_pref.c(326): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_pref.c(513): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_proto_expert.c(169): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_pinfo.c(163): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_pinfo.c(477): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_proto_field.c(1321): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_proto.c(564): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_struct.c(669): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_tree.c(888): error C2275: 'ProtoField' : illegal use of this type as an expression [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_tree.c(888): error C2146: syntax error : missing ';' before identifier 'f' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_tree.c(888): error C2065: 'f' : undeclared identifier [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_tree.c(889): error C2065: 'f' : undeclared identifier [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_tree.c(890): error C2065: 'f' : undeclared identifier [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_tree.c(890): error C2223: left of '->hfid' must point to struct/union [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_tree.c(890): error C2198: 'proto_field_is_referenced' : too few arguments for call [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_tree.c(967): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_tvb.c(325): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\wslua_tvb.c(1459): error C2059: syntax error : '.' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\init_wslua.c(689): error C2143: syntax error : missing ';' before 'type' [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\init_wslua.c(690): error C2065: 'old_path' : undeclared identifier [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\init_wslua.c(691): error C2065: 'old_path' : undeclared identifier [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]
     C:\Development\wireshark\epan\wslua\init_wslua.c(693): error C2065: 'old_path' : undeclared identifier [C:\Development\wsbuild32\epan\wslua\wslua.vcxproj]


   "C:\Development\wsbuild32\Wireshark.sln" (default target) (1) ->
   "C:\Development\wsbuild32\wsutil\wsutil.vcxproj.metaproj" (default target) (81) ->
   "C:\Development\wsbuild32\wsutil\wsutil.vcxproj" (default target) (109) ->
     C:\Development\wireshark\wsutil\filesystem.c(1439): error C2143: syntax error : missing ';' before 'type' [C:\Development\wsbuild32\wsutil\wsutil.vcxproj]
     C:\Development\wireshark\wsutil\filesystem.c(1440): error C2065: 'ret' : undeclared identifier [C:\Development\wsbuild32\wsutil\wsutil.vcxproj]
     C:\Development\wireshark\wsutil\filesystem.c(1442): error C2065: 'ret' : undeclared identifier [C:\Development\wsbuild32\wsutil\wsutil.vcxproj]
     C:\Development\wireshark\wsutil\filesystem.c(1576): error C2143: syntax error : missing ';' before 'type' [C:\Development\wsbuild32\wsutil\wsutil.vcxproj]
     C:\Development\wireshark\wsutil\filesystem.c(1577): error C2143: syntax error : missing ';' before 'type' [C:\Development\wsbuild32\wsutil\wsutil.vcxproj]
     C:\Development\wireshark\wsutil\filesystem.c(1579): error C2065: 'profile_dir' : undeclared identifier [C:\Development\wsbuild32\wsutil\wsutil.vcxproj]
     C:\Development\wireshark\wsutil\filesystem.c(1580): error C2065: 'ret' : undeclared identifier [C:\Development\wsbuild32\wsutil\wsutil.vcxproj]
     C:\Development\wireshark\wsutil\filesystem.c(1580): error C2065: 'profile_dir' : undeclared identifier [C:\Development\wsbuild32\wsutil\wsutil.vcxproj]
     C:\Development\wireshark\wsutil\filesystem.c(1583): error C2065: 'profile_dir' : undeclared identifier [C:\Development\wsbuild32\wsutil\wsutil.vcxproj]
     C:\Development\wireshark\wsutil\filesystem.c(1584): error C2065: 'ret' : undeclared identifier [C:\Development\wsbuild32\wsutil\wsutil.vcxproj]

17 Warning(s)
124 Error(s)

Time Elapsed 00:00:59.50

Could you please help me to resolve this issue?

Regards, Shruthi