Gentlemen,
i am using comp-compiler-dll.bat with administrative command prompt on windows 7
but it is not getting produced. it gives 2533 errors in total most of then saying
type or namespace compiler does not exist in namspace cobra.lang_ert_..number...
2) would cobra not work with .net 4.0 assemblies . it gives some internal error that file image mscorlib is newer than what is used to make compiler, something in that sense.
This site got a good new look now and refined.Hope you all fellows are happy and well.
Thanking you
RIGHT_THEN
Forums
cobra.lang.compiler.dll not getting produced
10 posts
• Page 1 of 1
Re: cobra.lang.compiler.dll not getting produced
It looks like 2 possible variables are at play:
* Windows 7
* .Net 4
I can say on my Win2008 box, a week ago I was able to build Cobra even though I had .Net 4 installed, BUT I have versions 2 and up installed as well. Do you have .Net 2.0 installed?
Presuming yes to that, let me know what code base you are building from.. and I can see if I run into the issue on my wife's Win7 box.
* Windows 7
* .Net 4
I can say on my Win2008 box, a week ago I was able to build Cobra even though I had .Net 4 installed, BUT I have versions 2 and up installed as well. Do you have .Net 2.0 installed?
Presuming yes to that, let me know what code base you are building from.. and I can see if I run into the issue on my wife's Win7 box.
- torial
- Posts: 229
- Location: IA
Re: cobra.lang.compiler.dll not getting produced
Mr. torial
Thanks for the reply
i dont have 2.0 installed myself but 2.0 is automatically there if machine has 3.5
because 3.0 and 3.5 are libraries on top of 2.0 whose System.dll is common with 3.0 and 3.5
and i saw in gac many assemblies with 2.0 version showing there. Also C:\Windows\Microsoft.NET\Framework\v2.0.50727 is available with its assemblies so i would say
yes there is 2.0 on my machine.
you asked about code base, i dont understand what you mean by that if you meant cobra source then it is the latest i downloaded on 3rd-feb-2011 with svn.
ThankingYou
RIGHT_THEN
Thanks for the reply
i dont have 2.0 installed myself but 2.0 is automatically there if machine has 3.5
because 3.0 and 3.5 are libraries on top of 2.0 whose System.dll is common with 3.0 and 3.5
and i saw in gac many assemblies with 2.0 version showing there. Also C:\Windows\Microsoft.NET\Framework\v2.0.50727 is available with its assemblies so i would say
yes there is 2.0 on my machine.
you asked about code base, i dont understand what you mean by that if you meant cobra source then it is the latest i downloaded on 3rd-feb-2011 with svn.
ThankingYou
RIGHT_THEN
- RIGHT_THEN
- Posts: 99
Re: cobra.lang.compiler.dll not getting produced
I'm on a business trip right now. I'll try to look into this on Sunday or Monday.
- Charles
- Posts: 2515
- Location: Los Angeles, CA
Re: cobra.lang.compiler.dll not getting produced
I actually misunderstood, I hadn't run the comp-compiler-dll.bat, I had run the install-from-workspace.bat. When I run the comp-compiler-dll.bat, it does give a series of errors (w/ .Net 2.0 installed, and on Win2k8).
- torial
- Posts: 229
- Location: IA
Re: cobra.lang.compiler.dll not getting produced
I can reproduce the problem on both Windows and Mac. It's a bug in the Cobra compiler--a collision between the -embed-run-time feature and the -namespace feature in the case where -namespace starts with "Cobra.Lang". I'm working on a fix.
- Charles
- Posts: 2515
- Location: Los Angeles, CA
Re: cobra.lang.compiler.dll not getting produced
Mr. Charles
Thanks for the info.
cobra-win.exe is also not getting produced maybe the same problem
and i would like to represent my second point again of the above post, what about .net 4.
would cobra not work with .net 4.0 assemblies? and how to build it with .net 4.0 because
.net 4.0 has memory mapped files.
Thanking you
RIGHT_THEN
Thanks for the info.
cobra-win.exe is also not getting produced maybe the same problem
and i would like to represent my second point again of the above post, what about .net 4.
would cobra not work with .net 4.0 assemblies? and how to build it with .net 4.0 because
.net 4.0 has memory mapped files.
Thanking you
RIGHT_THEN
- RIGHT_THEN
- Posts: 99
Re: cobra.lang.compiler.dll not getting produced
I haven't looked into .NET 4.0 yet. It's a new version of the VM, unlike .NET 3.0 and 3.5 which were just additional libraries. But I don't know if they made the assemblies backwards compatible such that a 2.0 process (like the cobra.exe compiler) can read them.
The win-comp problem is unrelated to the other problems. It was broken by the patch that prints stats on lines compiled etc. I can fix soon.
Thanks for the reports.
The win-comp problem is unrelated to the other problems. It was broken by the patch that prints stats on lines compiled etc. I can fix soon.
Thanks for the reports.
- Charles
- Posts: 2515
- Location: Los Angeles, CA
Re: cobra.lang.compiler.dll not getting produced
The problem with comp-compiler-dll.bat is now fixed. I tested on:
-- Windows 7 32-bit + .NET
-- Mac OS X 10.6.4 + Mono 2.6.7
If you have any more problems with that, let me know.
-- Windows 7 32-bit + .NET
-- Mac OS X 10.6.4 + Mono 2.6.7
If you have any more problems with that, let me know.
- Charles
- Posts: 2515
- Location: Los Angeles, CA
Re: cobra.lang.compiler.dll not getting produced
The problem with win-comp.bat is fixed.
Thanks for the report.
Thanks for the report.
- Charles
- Posts: 2515
- Location: Los Angeles, CA
10 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 79 guests