[gecode-users] Gecode headers not found

Guido Tack tack at gecode.org
Mon Feb 8 13:57:20 CET 2010


Yannick Parmentier wrote:
> I confirm that the compilation of Qt-creator 1.3.1 using msvc-2008 does not raise any problem (NB: it needs having Qt-4.6.1 for msvc installed, and takes about 1 hour on a netbook).
> 
> Then, from the Qt profile related to our gecode program, qmake automatically creates a makefile pointing on Gecode lib and include repositories.
> 
> Only one fix was needed in the automatically-generated makefile: msvc was called with option "-Wextra" which made it crash. I had to remove this option, then compilation went on.

Ok, good to know that it works.

> Regarding Gecode, everything seems to work fine, but it seems gcc and msvc does not rely on the same specification, e.g. a declaration of the form:
>    int table_id [ size ];
> raises an error when compiling with msvc.

That's because it is not standard C++ but a gcc-specific extension.

Cheers,
	Guido




More information about the users mailing list