Cobra 2010-10-18: Can't find Cobra.Lang after install
Posted: Fri Nov 26, 2010 5:31 pm
I'm using Cobra-2010-10-18 on Windows 7 Professional 64-bit. I downloaded the zip file distribution and ran `install-from-workspace` in the Source directory as instructed. The Cobra binaries and libraries are installed to C:\Cobra-0.8.0-post; Cobra.Lang is in C:\Cobra-0.8.0-post\bin\Cobra.Lang.dll . I have copied cobra.bat to C:\bin, which is the first directory on my PATH.
I have created the "Hello World" example:
When I attempt to run it from the command line:
I receive the following exception:
If I run the command
then I receive "Hello, World!" as expected.
Is there something I'm doing wrong such that the first execution attempt doesn't work? Do I need to copy Cobra.Lang.dll somewhere else additionally?
Thanks!
I have created the "Hello World" example:
- Code: Select all
class HelloWorld
def main is shared
print "Hello World!"
When I attempt to run it from the command line:
- Code: Select all
cobra test.cobra
I receive the following exception:
- Code: Select all
Unhandled Exception: System.IO.FileNotFoundException: Could not load file or ass
embly 'Cobra.Lang, Version=0.8.0.1, Culture=neutral, PublicKeyToken=0a4783a5c7c9
616e' or one of its dependencies. The system cannot find the file specified.
File name: 'Cobra.Lang, Version=0.8.0.1, Culture=neutral, PublicKeyToken=0a4783a
5c7c9616e'
at CobraTestLengthUse.LengthUse.Main()
If I run the command
- Code: Select all
cobra -ert:yes test.cobra
then I receive "Hello, World!" as expected.
Is there something I'm doing wrong such that the first execution attempt doesn't work? Do I need to copy Cobra.Lang.dll somewhere else additionally?
Thanks!