简体   繁体   中英

C++ 3rd party library includes non existing header file?

First things first: I'm a newbie in C/C++.

I have a library that I have to include but it has header files that use

#include <string>

I tried to include <string> but it failed. I can

#include <string.h>

though. Since it's a library I'm trying to use I can't do much about this import right ? How can I fix this problem ? Build terminates with a fatal error.

(In case that's important I'm working on Linux and genicam is the 3rd party library)

<string> is a standard C++ header. Either your compiler is broken, or installed incorrectly, or you are trying to use a C compiler on C++ code (for instance by using gcc instead of g++).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM