How to run Cobra programming

General discussion about Cobra. Releases and general news will also be posted here.
Feel free to ask questions or just say "Hello".

How to run Cobra programming

Postby grantyhliao » Wed Feb 20, 2013 10:45 am


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
2013-02-21_014204.jpg (40.64 KiB) Viewed 2022 times
Posts: 1

Re: How to run Cobra programming

Postby nerdzero » Mon Feb 25, 2013 4:09 pm

"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.
Posts: 286
Location: Chicago, IL

Return to Discussion

Who is online

Users browsing this forum: No registered users and 7 guests