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

First time compile: stdint.h not found in crc7.c

0

Hello i'm compiling for the 1st time wireshark. I've followed the Win32 related part on the developers guide.

Check with the verify_tools : OK distclean: OK nmake .... setup OK

nmake .... all : fails because in the crc7.c the compiler find a reference to stdint.h file not found.

I'm using VS2008EE

Thanks,

Paolo

asked 19 Jul '12, 06:23

villanip's gravatar image

villanip
1111
accept rate: 0%


One Answer:

0

OK, googling i've found that the stdint.h header file is missing in the C:\Program Files\Microsoft Visual Studio 9.0\VC\include directory.

I've looked for a copy of the ISO stdint.h header file (it contains definitions for integer standard sizes and types) and i placed it in the C:\Program Files\Microsoft Visual Studio 9.0\VC\include

Compiled everithing again and it seems it work.

Regards,

Paolo

answered 19 Jul '12, 07:23

villanip's gravatar image

villanip
1111
accept rate: 0%

Removal of the not needed includes Committed revision 43830.

(19 Jul '12, 08:05) Anders ♦

thanks! I had the same problem too

(21 Jul '12, 13:13) ybitz

Anders - change 43830 removed the includes from crc7.c. In order to get my windows build to work I also removed those includes from crc7.h... I must be missing something.

(22 Jul '12, 08:22) MartinM

I think it was I who missed something ;-)

(22 Jul '12, 09:41) Anders ♦