I’m porting code from Linux C to Visual C++ for windows.
Visual C++ doesn’t know #include <stdint.h> so I commented it out.
Later, I found a lot of those 'uint32_t': identifier not found errors. How can it be solved?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This type is defined in the C header
<stdint.h>which is part of the C++11 standard but not standard in C++03. According to the Wikipedia page on the header, it hasn’t shipped with Visual Studio until VS2010.In the meantime, you could probably fake up your own version of the header by adding
typedefs that map Microsoft’s custom integer types to the types expected by C. For example: