如何在日食中包括xerces [英] how to include xerces in eclipse

查看:76
本文介绍了如何在日食中包括xerces的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经安装了xerces并将其添加到Eclipse中,但是仍然出现错误:::

xercesc/dom/DOM.h:没有这样的文件或目录

I have installed xerces and added it in Eclipse but still getting error ::

xercesc/dom/DOM.h: No such file or directory

推荐答案

而没有告诉我们(a)安装xeresc的位置和方式或(b)Eclipse的安装方式,很难给出准确的解决方法.

但是-简单地说,编译器不知道在哪里可以找到文件.

最近,我在台式机上使用了Code :: Blocks来尝试使用笔记本电脑进行的项目.当我这样做时,令我震惊的是-没有找到gdiplus.h.同样不是glext.h和其他几个问题.

现在,在我的代码的#includes部分中,这些文件的添加方式如下:
Without telling us (a) where and how you installed xeresc or (b) where Eclipse is installed, it''s a little hard to give accurate directions for solving.

However - put simply, the compiler doesn''t know where to find the files.

I recently used Code::Blocks on my Desktop machine to try a project I''d been working on with my laptop. When I did this, much to my horror - gdiplus.h wasn''t found. Nor for that matter was glext.h and a few others.

Now, in the #includes section of my code these files were included like so:
#include <gdiplus.h>
#include <GL/gdiplus.h>



由于我在C:\ Program Files(x86)\ CodeBlocks中安装了Code :: Blocks,因此编译器-MingGW位于C:\ Program Files(x86)\ CodeBlocks \ MinGW
这意味着我必须:
(a)将gdiplus.h复制到C:\ Program Files(x86)\ CodeBlocks \ MinGW \ include \ gdiplus.h
(b)将glext.h复制到C:\ Program Files(x86)\ CodeBlocks \ MinGW \ include \ GL \ glext.h



Since I have Code::Blocks installed in C:\Program Files(x86)\CodeBlocks, the compiler - MingGW resides in C:\Program Files (x86)\CodeBlocks\MinGW
This meant that I had to:
(a) copy gdiplus.h to C:\Program Files (x86)\CodeBlocks\MinGW\include\gdiplus.h
(b) copy glext.h to C:\Program Files (x86)\CodeBlocks\MinGW\include\GL\glext.h


这篇关于如何在日食中包括xerces的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆