Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: [Wireshark-dev] Problems Compiling under Visual Studio 2010

From: "David Culp" <culpd@xxxxxxxxxxxxx>
Date: Mon, 7 Feb 2011 22:46:56 -0500

Anyone have the following compile problem (using Visual 2010 Ultimate)

---

  graph_analysis.c

12>graph_analysis.c(1450): error C2039: 'allocation' : is not a member of '_GtkStyle'

12>          C:\wireshark-win32-libs\gtk2\include\gtk-2.0\gtk/gtkstyle.h(74) : see declaration of '_GtkStyle'

12>NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 10.0\VC\bin\cl.EXE"' : return code '0x2'

12>  Stop.

12>NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 10.0\VC\bin\nmake.exe"' : return code '0x2'

12>  Stop.

12>C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.MakeFile.Targets(38,5): error MSB3073: The command "nmake -f Makefile.nmake setup all" exited with code 2.

 

-----

 

Using build:  35874

 

Have "MSVC_VARIANT=MSVC2010" in config.nmake

 

Thanks,

David