ocl:: creexception的类型信息
Typeinfo for ocl::CRException
我试图使用g++运行我的c++程序,但我得到以下异常:"typeinfo for ocl::CRException"我使用包含CRException类的ocl命名空间。请帮帮我。
下面是我包含OCL类的代码:
#ifndef VOIDSOFT_ADA2_LIND_HH
#define VOIDSOFT_ADA2_LIND_HH
#include <string>
#include <list>
#include <queue>
#include <map>
#include <ocl.h>
#include "threaded.hh"
using namespace std;
using namespace ocl;
class circuit;
class Lind: public Threaded
{
public:
typedef int lookup_t;
private:
OraConnection connection;
pthread_mutex_t *done_m;
queue<pthread_t> *q;
lookup_t type;
public:
circuit *c;
Lind();
~Lind();
void *run();
map<string, pair<string, string> > *getnodes(string);
bool connect();
void disconnect();
private:
circuit *getcircuitinfo(string, circuit *c = 0);
void bindInStr(OraQuery &q, string arg, string bindvar, map<string, string> *properties);
map<string, pair<string, string> > *node2name(string);
};
/* Lookup types */
namespace LindLookupTypes {
/* Get overlying */
const int OL = 0x001;
/* Get underlying */
const int UL = 0x002;
}
#endif /* VOIDSOFT_ADA2_LIND_HH */
这通常意味着您忘记在某处定义(实现)虚方法。检查ocl::CRException
的所有虚拟方法都定义了,并且定义它们的对象文件实际上链接到了您的代码。
如果没有帮助,请编辑答案并显示CRException
的代码。
相关文章:
- Keil armcc 生成类型信息名称,即使使用 --no_rtti_data
- 使用 trie 数据结构链接不同类型的信息
- 错误:未定义对"静脉类型信息::电池访问"的引用
- 只知道运行时的数据类型.如何将数据详细信息隐藏到使用它们的其他类
- 自动初始值设定项类型ID 信息
- 元数据操作失败LNK2022错误 (8013118D):重复类型中的布局信息不一致 (选择设备参数):(0x020002
- 针对特殊情况,使用其他状态信息扩展基元类型
- 如何从模板获取类型和值信息
- 将不同的模板化类存储在一个容器中,而不会丢失有关其类型的信息
- 如何在编译过程中输出C 类型信息
- 如何在C 中检查确切的类型信息(具有CV-REF-POIRT特征)
- 为什么类型转换对象不会更改其地址?有关对象类型的信息存储在哪里?
- 共享库中非模板基的模板子类导致未定义的符号类型信息'class'链接错误
- 为什么C++不使用集中存储类型信息以实现高效的 RTTI
- 仅使用有关类型而不是对象的信息返回调用的类型
- 给定DDS主题名称,可以在运行时确定主题类型信息
- 使用友元函数从多态类中检索类型信息
- 如何在函数模板中隐式推导数组中元素的类型信息
- 使用标准类型的动态类型信息实例化标识符
- 如何在 c++ 中获取有关服务的启动类型的信息