Page 1 of 1

How to run Cobra programming

PostPosted: Wed Feb 20, 2013 10:45 am
by grantyhliao
Hi,

I am a freshman in the language. After i install the language, I am facing a problem. I ran a sample like : C:\Cobra\Source\Cobra boxes.cobra I found a warming error happen, which showed "can not load reference 'Cobra.Core.dll" due to could not find the file " .

Would you please help me out where is wrong? Thanks

Re: How to run Cobra programming

PostPosted: Mon Feb 25, 2013 4:09 pm
by nerdzero
"Boxes.cobra" is a source file for the compiler and can't be compiled into a program on its own. Just for testing, you would rather use "hello.cobra" as the input file which would then print "Hello, world."

You still might get the same error message though. It looks like your installation source and target locations might be the same (C:\Cobra). I know that caused issues in the previous release. I'm not sure if it's been fixed since then.