我为 VS 2017 安装了 Gecode 6.0。将目录添加到 /lib 和 /include。然后将 gecode/int.hh 包含到 Hello World 程序中。在编译过程中出现了 3 个奇怪的错误:
错误 C2084 函数“void Gecode::cmb_hash(size_t &,::size_t)”已经有一个主体 ConsoleApplication3 c:\program files\gecode\include\gecode\support\hash.hpp 61
错误 C2264“Gecode::cmb_hash”:函数定义或声明错误;函数未调用 ConsoleApplication3 c:\program files\gecode\include\gecode\support\hash.hpp 62
错误 C2264“Gecode::cmb_hash”:函数定义或声明错误;函数未调用 ConsoleApplication3 c:\program files\gecode\include\gecode\int\extensional\dfa.hpp 100
有谁知道如何摆脱这些错误?提前致谢。