[gecode-users] Which version of MSVC on Windows?
Alin
alin_pt at yahoo.com
Thu Feb 10 22:29:13 CET 2011
Christian Schulte <cschulte at ...> writes:
>
> Please read MPG which contains detailed build instructions for Windows.
>
> But the MSVC 2008 packages should work with MSVC 2005. Did you try? If you
> failed what was the issue?
>
> Best
> Christian
>
I did try it, I configured MSVC 2005 the same as I configured MSVC 2008.
(i configured the include/lib folders) and in MSVC 2008 it works just fine,
while in MSVC 2005 i get errors when compiling the same code
maybe this helps indentify the problem:
c:\program files\gecode\include\gecode\driver\options.hpp(370) : error C2666:
'Gecode::Support::DynamicArray::operator []' :
3 overloads have similar conversions
with
[
T=Gecode::Gist::Inspector *,
A=Gecode::Heap
]
c:\program files\gecode\include\gecode\support\dynamic-array.hpp(72):
could be 'Gecode::Gist::Inspector &Gecode::Support::DynamicArray::operator
[](int) const'
with
[
T=Gecode::Gist::Inspector *,
A=Gecode::Heap
]
c:\program files\gecode\include\gecode\support\dynamic-array.hpp(70):
or 'Gecode::Gist::Inspector &Gecode::Support::DynamicArray::operator [](int)'
with
[
T=Gecode::Gist::Inspector *,
A=Gecode::Heap
]
or 'built-in C++ operator[(Gecode::Gist::Inspector **, unsigned int)'
while trying to match the argument list
'(Gecode::Support::DynamicArray, unsigned int)'
with
[
T=Gecode::Gist::Inspector *,
A=Gecode::Heap
]
c:\program files\gecode\include\gecode\driver\options.hpp(374) :
error C2666: 'Gecode::Support::DynamicArray::operator []' :
3 overloads have similar conversions
with
[
T=Gecode::Gist::Comparator *,
A=Gecode::Heap
]
More information about the users
mailing list