[gecode-users] Problem with Flatzinc 1.0 on Gecode 2.0

Guido Tack tack at ps.uni-sb.de
Thu Feb 7 11:08:28 CET 2008


Raffaele Cipriano wrote:

> Hello again, thank you for the suggestion: now the "fz" executables  
> load the libraries and run, but...
>
> ... I tried to used it to compile some .fzn files into gecode space  
> (I attach two of them) , but it gives me this kind of mesasge  
> (invoking $ fz  test.fzn   )
>
> Error: Unknown character in line no. 1

Maybe your source files have Windows newline characters instead of  
Unix newline, I think the lexer doesn't handle those yet.  Try to run  
the sources through dos2unix, I hope that helps.  I'll see how to  
change the lexer accordingly.

Cheers,
	Guido





More information about the gecode-users mailing list