CF 3.0.1 Linux Version doesn't understand version 3 Syntax

If you're having trouble using Context Free or don't understand the language, ask for help here.

Moderators: MtnViewJohn, chris, mtnviewmark

Post Reply
User avatar
contexxt
Posts: 5
Joined: Tue Aug 21, 2012 2:13 am
Contact:

CF 3.0.1 Linux Version doesn't understand version 3 Syntax

Post 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

User avatar
MtnViewJohn
Site Admin
Posts: 882
Joined: Fri May 06, 2005 2:26 pm
Location: Mountain View, California
Contact:

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

Post by MtnViewJohn »

I tried this on a 32-bit Debian VM and it didn't produce an error message.

User avatar
contexxt
Posts: 5
Joined: Tue Aug 21, 2012 2:13 am
Contact:

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

Post 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...

User avatar
MtnViewJohn
Site Admin
Posts: 882
Joined: Fri May 06, 2005 2:26 pm
Location: Mountain View, California
Contact:

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

Post by MtnViewJohn »

I tried my Ubuntu 12.04 64-bit VM and there was no error message. Did you 'make clean'?

User avatar
contexxt
Posts: 5
Joined: Tue Aug 21, 2012 2:13 am
Contact:

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

Post 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 :(

User avatar
MtnViewJohn
Site Admin
Posts: 882
Joined: Fri May 06, 2005 2:26 pm
Location: Mountain View, California
Contact:

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

Post by MtnViewJohn »

What version of bison are you running?

User avatar
contexxt
Posts: 5
Joined: Tue Aug 21, 2012 2:13 am
Contact:

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

Post by contexxt »

I am running

bison (GNU Bison) 2.5

User avatar
MtnViewJohn
Site Admin
Posts: 882
Joined: Fri May 06, 2005 2:26 pm
Location: Mountain View, California
Contact:

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

Post 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.

User avatar
contexxt
Posts: 5
Joined: Tue Aug 21, 2012 2:13 am
Contact:

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

Post 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 :)

Post Reply