未解决的包含错误蚀 [英] unresolved inclusion error eclipse

查看:99
本文介绍了未解决的包含错误蚀的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以我去了3D游戏编程数字媒体学院.我们使用eclipse和Panda3D以及他们的Macbook Pro来创建3D游戏.我在那里创造了一款很棒的游戏,运行得非常漂亮.但是,当我将所有内容放到USB上并将所有内容重新安装到我的个人Macbook Pro上时,这些代码行旁边都会出现问号,表示未解决的包含问题:

So I went to this thing call the digital media academy for 3D game programming. We used eclipse along with Panda3D using their Macbook Pro's to create 3D games. I created an awesome game there which ran beautifully. However when I put everything on a USB and installed everything back on my personal macbook pro at home, I see question marks next to these lines of code that say Unresolved inclusion:

//Panda3D东西.

// Panda3D stuff.

#include "auto_bind.h"
#include "audioManager.h"
#include "executionEnvironment.h"
#include "filename.h"

//C ++的东西

#include <cmath>
#include <cstdlib>
#include <iostream>

在eclipse的问题部分中,我得到了:

In the problems section of eclipse I get this:

make: *** No rule to make target `all'.  Stop.      

推荐答案

我认为,这里至少有两个问题.

I think, there are at least two issues here.:

  1. 未解决的包括: 索引器可能出现故障,简单的索引重建或重新编译会有所帮助 尝试右键单击项目>索引>重建"或重新解决未解决的包含项" 如果没有运气,那不仅是一个麻烦,而是一个真正的问题,所以请检查: 项目>属性> C/C ++常规>路径和符号>包含 那里应该有C ++标头所在的目录和 "Panda"标头应与您的源文件一起使用.

  1. Unresolved includes: This can be a glitch with the indexer, a simple index rebuild or a recompile would help Try Right click on project > Index > "Rebuild" or "Re-resolve Unresolved Includes" If no luck then,it's not just a glich but a real problem, so check: Project > Properties > C/C++ General > Path and Symbols > Includes There you should have the directories where the C++ headers are and the "Panda" headers should be with your source files.

缺少全部"目标: CDT试图做的是调用缺少"all"目标的make 从您的Makefile中.为错误的目标配置了CDT,并且 全部"不是您需要的,或者全部"目标有问题. 您应该向我们提供更多信息:正确的(原始)Makefile 此处的设置:项目">属性">"C/C ++构建">行为">建立构建目标"

Missing "all" target: What CDT is trying to do is invoking make with a target called "all" which is missing from your Makefile. Either CDT is configured for the wrong target and the "all" is not what you need, or something is wrong with the "all" target. You should provide us more information: the proper (original) Makefile The settings here: Project > Properties > C/C++ Build > Behaviour > Make build target

这篇关于未解决的包含错误蚀的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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