Forums

cobra not getting compiled from latest source

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

cobra not getting compiled from latest source

Postby RIGHT_THEN » Tue Jun 21, 2011 12:37 pm

hey charles,

tried to get the latest compiler for your @help initiatives but could not get
it to compile and get below given error.
i am on win7 32-bit win7sdk_4 installed vs.expr installed and .net 4 installed.

Unhandled Exception: System.ArgumentNullException: Value cannot be null.
Parameter name: obj
at Cobra.Lang_ert_c288aaa632e5c1b9fc351ec861ab7ef4.CobraImp.GetPropertyValue(
Object obj, String propertyName) in c:\cobra-workspace\Source\Native_ert_c288aaa
632e5c1b9fc351ec861ab7ef4.cs:line 881
at InstallFromWorkspace.VerifyGacInstallation(String name) in c:\cobra-worksp
ace\Source\InstallFromWorkspace.cobra:line 604
at InstallFromWorkspace.InstallLibrary(String name, String flags, String file
s) in c:\cobra-workspace\Source\InstallFromWorkspace.cobra:line 562
at InstallFromWorkspace.Run() in c:\cobra-workspace\Source\InstallFromWorkspa
ce.cobra:line 158
at InstallFromWorkspace.Main() in c:\cobra-workspace\Source\InstallFromWorksp
ace.cobra:line 124

Thanking_You
RIGHT_THEN
RIGHT_THEN
 
Posts: 99

Re: cobra not getting compiled from latest source

Postby Charles » Tue Jun 21, 2011 2:19 pm

I'm able to install on Win7 32-bit, although I have Visual Studio 2008 / .NET 3.5 installed. I did have a compilation error if I passed in "-net4" but that is now fixed and checked in.

Also, I fixed the NullReferenceException you reported and improved the output. This won't resolve the problem, but it will give more useful information. Please try again, both with and without passing "-net4".

Let me know what happens.
Charles
 
Posts: 2515
Location: Los Angeles, CA

Re: cobra not getting compiled from latest source

Postby RIGHT_THEN » Wed Jun 22, 2011 2:28 am

hey Charles

when doing bin\install-from-workspace -net4 (it fails)
when doing bin\install-from-workspace (it succeedes)

well i dont need to do -net4 to get it .net4 compilant
i can use the ildasm/ilasm instead because atleast i
have the compiler now.

Thanking_You
RIGHT_THEN
RIGHT_THEN
 
Posts: 99

Re: cobra not getting compiled from latest source

Postby Charles » Wed Jun 22, 2011 9:07 am

Can you provide the output for the -net4 failure? I would like it to work for everyone.

Thanks.
Charles
 
Posts: 2515
Location: Los Angeles, CA

Re: cobra not getting compiled from latest source

Postby RIGHT_THEN » Wed Jun 22, 2011 10:32 am

hey Charles

i am sorry i cant do that because i just comipled cobra succesfully with -net4 option
i think it might have something to do with that i reinstalled Net4Tools from Win7SDkNet4
or most unlikely that i reinstalled the Grub for Ubuntu. i think Net4Tools did it.

on side note( My ramblings )

for some reason i got inclined to test the linux distros a while back
to see what is happening there so i installed fedora and ubuntu and opensuse all latest
and fedora and ubuntu impressed me fairly they are catching up to windows graphical user interface
but in that i lost my windows installation or i thought i lost with that all the work i did on
intellisense and ide is also lost i wish i knew Grub4Dos before reinstalling windows.
if i was a professional i would be in great trouble now!. as i read you somewhere that it is boring
to revisit old code/realestate
. in this case for me it is more of threatning actually.well enough of it.


Thanking_You
RIGHT_THEN
RIGHT_THEN
 
Posts: 99

Re: cobra not getting compiled from latest source

Postby Charles » Wed Jun 22, 2011 11:45 am

Sorry to hear you lost your code. I wondered why you had gotten quiet about IDE topics.

Two things you can do in the future:

* Use something like Dropbox either directly or as a backup target. Now if your whole system melts, you still have your files because they are off-site.

* Use something like Bitbucket to host your code.

HTH
Charles
 
Posts: 2515
Location: Los Angeles, CA

Re: cobra not getting compiled from latest source

Postby RIGHT_THEN » Wed Jun 22, 2011 9:48 pm

hey Charles

Got your suggestion.Thanks for that. it is not that i didnt make the backup
before trying linux i copied everything on to a External Disk. but still as the
luck would have it copying data from many sources to one location got it currupted
some or how for which there might be a logical explanation but any way what
is done is done.


Thanking_You
RIGHT_THEN
RIGHT_THEN
 
Posts: 99


Return to Discussion

Who is online

Users browsing this forum: No registered users and 27 guests