M
M
mrxakerrus2018-01-09 19:49:03
C++ / C#
mrxakerrus, 2018-01-09 19:49:03

A bunch of errors when adding a header file, how to fix it?

I'm trying to add the header file of the camera library, but as a result I get errors like bool, not a known data type, etc., gho.st/6vQjRd8X6 here is a link to the header file, everything works on Linux, but refuses on Windows

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Denis, 2018-01-10
@D3Nd3R

Look at the contents of the header file. GCC detects the cc or g++ compiler by the extension of the source file. I don't know how things are in Visual C.
It is quite possible that there is C++ code.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question