C++ Gecode,使用Gecode.int.hh编译程序时出错

C++ Gecode,使用Gecode.int.hh编译程序时出错,c++,visual-studio-2017,gecode,C++,Visual Studio 2017,Gecode,我为VS 2017安装了Gecode 6.0。将目录添加到/lib和/include。然后将gecode/int.hh包含到Hello World程序中。在编译过程中,出现了3个奇怪的错误: 错误C2084函数“void Gecode::cmb\u hash(size\u t&,::size\u t)”已经有一个主体控制台应用程序3 c:\program files\Gecode\include\Gecode\support\hash.hpp 61 错误C2264“Gecode::cmb_哈希”

我为VS 2017安装了Gecode 6.0。将目录添加到/lib和/include。然后将gecode/int.hh包含到Hello World程序中。在编译过程中,出现了3个奇怪的错误:

错误C2084函数“void Gecode::cmb\u hash(size\u t&,::size\u t)”已经有一个主体控制台应用程序3 c:\program files\Gecode\include\Gecode\support\hash.hpp 61

错误C2264“Gecode::cmb_哈希”:函数定义或声明中的错误;未调用的函数ConsoleApplication3 c:\program files\gecode\include\gecode\support\hash.hpp 62

错误C2264“Gecode::cmb_哈希”:函数定义或声明中的错误;未调用的函数ConsoleApplication3 c:\program files\gecode\include\gecode\int\extensional\dfa.hpp 100

有人知道如何消除这些错误吗?
提前谢谢。

好的,知道了。我已经安装了x64 Gecode版本,但编译了x86的程序。在VS2017中切换到x64,现在一切正常