【发布时间】:2015-01-11 01:02:02
【问题描述】:
我在 windows 上使用 code::blocks 安装了 libnoise
在编译时会报错:
undefined reference to `noise::module::Perlin::Perlin()'
undefined reference to `noise::module::Perlin::GetValue(double, double, double) const'
undefined reference to `vtable for noise::module::Perlin'
undefined reference to `noise::module::Module::~Module()'
但引用在perlin.h 头文件中
我该如何解决这个问题?
【问题讨论】:
-
看来您需要链接 libnoise DLL。
-
在编译器的文档中查找。
-
什么也查不到。我正在使用 MingW 和 Code::Blocks,请给个提示
标签: c++ perlin-noise