Windows libxml error

Asked

Viewed 177 times

1

When we do a #include in the c++ language using the <> special characters where the include folder/file is?

I am compiling a program that I downloaded and this program has the following lines of code:

28 #include <libxml/xmlmemory.h>
29 #include <libxml/parser.h>
30 #include <libxml/threads.h>

And when I try to compile from the following mistake:

28  30  C:\Users\joao\Desktop\OT\Projeto OT Global\SOURCE 1.0.6\otpch.h [Error] libxml/xmlmemory.h: No such file or directory

Because then I downloaded this library and I would like to know where it is in windows so I can put it in place and correct this error.

  • Which IDE/compiler is using?

  • I’m using the Dev-C++

  • 1

    Have you checked in c: dev-c++ include and c: dev-c++ Lib?

  • I got it, thank you very much.

1 answer

0


According to the Dev-C++ FAQ, the directory of include can be located in:

C: Dev-C++ include\

In the Code::Blocks the directory (in a normal installation) is usually:

C: Program Files Codeblocks Mingw lib gcc mingw32 4.7.1 include\

In the Minggw:

C: Mingw include\

On Unix the folder include can be located in any of the following directories:

/usr/local/include
libdir/gcc/target/version/include
/usr/target/include
/usr/include

Browser other questions tagged

You are not signed in. Login or sign up in order to post.