Gecode,使用 gecode.int.hh 编译程序时出错
Gecode, error while compiling program with gecode.int.hh
>我为 VS 2017 安装了 Gecode 6.0。将目录添加到/lib 和/include。然后将gecode/int.hh纳入Hello World程序。在编译过程中出现 3 个奇怪的错误:
错误 C2084 函数"void Gecode::cmb_hash(size_t &,::size_t("已经有一个正文 控制台应用程序3 c:\程序文件\gecode\include\gecode\support\hash.hpp 61
错误 C2264 "Gecode::cmb_hash":功能定义或声明中的错误;函数未调用控制台应用程序3 c:\program files\gecode\include\gecode\support\hash.hpp 62
错误 C2264 "Gecode::cmb_hash":功能定义或声明中的错误;函数未调用控制台应用程序3 c:\program files\gecode\include\gecode\int\extensional\dfa.hpp 100
有谁知道如何摆脱这些错误? 提前谢谢。
好的,知道了。我已经安装了 x64 Gecode 版本,但为 x86 编译了我的程序。在VS64中切换到x2017,现在一切正常。
相关文章:
- 访问者访问变体并返回不同类型时出错
- 在Linux for Windows上编译C++代码时出错
- 读取文件的最后一行并输入到链接列表时出错
- 重载操作程序时出错>>用于类中的字符串 memebr
- 调用专用模板时出错"no matching function for call to [...]"
- C++-试图将函数指针推回到另一个CPP文件中的矢量时出错
- LINK 尝试使用 OpenSSL evp aes 256 c++ 时出错
- 在Google Kick start中提交时出错
- 在c++中访问int到类对象的映射时出错
- 分段错误当我试图运行程序时出错
- 使用dynamic_cast和构造函数时出错
- CHECK(调用)函数在Google Colab中出错
- 用pybind11包装C++抽象类时出错
- 为x86而非x64编译时出错
- 从R调用C++函数并对其进行集成时出错
- 这个函数哪里出错了
- C++ 创建包含链表和字符串的对象的链接列表时出错
- Gecode,使用 gecode.int.hh 编译程序时出错
- C++:编译程序时出错C++
- 编译程序时出错C++:"error: cast from ‘double*’ to ‘int’ loses precision"