Page 1 of 1

CF 3.0.1 Linux Version doesn't understand version 3 Syntax

Posted: Wed Sep 12, 2012 5:10 pm
by contexxt
Hello,

first I have to say a thousand Thanks for this incredible piece of software (I really love it).

I recently compiled the Linux Version of ContextFree 3.0.1 and tried to render some of my cfdg's which work fine in the Windows version and just got error messages.

for example when I try to render a cfdg file test.cfdg containing the following code:

Code: Select all

startshape go
shape go {SQUARE[]}
I get the following error message:

Code: Select all

jj@mhr:/software/CF3$ cfdg -s 100 test.cfdg test.png
Reading rules file test.cfdg                            
Line 2: Parse error - syntax error
Is it just me or does the Linux Vesion not understand the CF3 Syntax ?

Thanks, Jan

Re: CF 3.0.1 Linux Version doesn't understand version 3 Synt

Posted: Thu Sep 13, 2012 4:50 pm
by MtnViewJohn
I tried this on a 32-bit Debian VM and it didn't produce an error message.

Re: CF 3.0.1 Linux Version doesn't understand version 3 Synt

Posted: Thu Sep 13, 2012 7:11 pm
by contexxt
Damn it ;)
Thank you for the reply i appreciate your time an effort!
I am running ubuntu 12.04 64-bit maybe thats the problem.
But now that I know that it should work i will find a way to get it running.

At the moment I run contextfree in a 32-bit Windows XP VM which su**s because I only have 3.5 gb ram :(

Thanks again...

Re: CF 3.0.1 Linux Version doesn't understand version 3 Synt

Posted: Thu Sep 13, 2012 7:59 pm
by MtnViewJohn
I tried my Ubuntu 12.04 64-bit VM and there was no error message. Did you 'make clean'?

Re: CF 3.0.1 Linux Version doesn't understand version 3 Synt

Posted: Thu Sep 13, 2012 9:07 pm
by contexxt
Yes i did tried a make clean.

It is very strange because it renders CF2 syntax just fine but throws errors as sonn as I try the CF3 syntax - I really don't get it :(

Re: CF 3.0.1 Linux Version doesn't understand version 3 Synt

Posted: Thu Sep 13, 2012 11:36 pm
by MtnViewJohn
What version of bison are you running?

Re: CF 3.0.1 Linux Version doesn't understand version 3 Synt

Posted: Fri Sep 14, 2012 12:26 am
by contexxt
I am running

bison (GNU Bison) 2.5

Re: CF 3.0.1 Linux Version doesn't understand version 3 Synt

Posted: Fri Sep 14, 2012 11:31 am
by MtnViewJohn
That's the standard version of bison for Ubuntu. Is there anything unusual about your setup? Different build toolchain? I have Ubuntu 12.04 64-bit and cfdg parses version 3 files just fine.

Re: CF 3.0.1 Linux Version doesn't understand version 3 Synt

Posted: Fri Sep 14, 2012 1:55 pm
by contexxt
No there is really nothing special in my system its a pretty new installed system so I didn't have a chance to do some damage till now ;)
I will try to figure out what the Problem is and when I do I will tell you what the problem was - but it may take a while because I will be busy the next week or so.

Thanks again for your time and effort - I really love contextfree :)