JetBrains / Nitra

Public Nitra repository
Other
554 stars 43 forks source link

Errors running command file BuildBoot.cmd in Nitra solution #31

Closed rcammarere closed 9 years ago

rcammarere commented 9 years ago

I downloaded Nitra and am very anxious to start working with it. However, when I ran BuildBoot.cmd, I got a series of error messages similar to this: Internal\ExtensibleRuleParseTreeConstructor.n(74,36,74,39): error : typing fail s on accessing member Add in the ? type [C:\NitraBase\Nitra\Boot1\Nitra.Runtime\Boot.Nitra.Runtime.npro j]

Also, I get this error when building in VS . . . The referenced assembly “C:\NitraBase\Nitra\Nitra.Runtime\bin\Debug\Nitra.Runtime.dll” was not found. If this assembly is produced by another one of your projects, please make sure to build that project before building this one. Nitra.TestsLauncher

someone-with-default-username commented 9 years ago

Have you downloaded and installed Nemerle or built it from sources? What branch are you trying to build?

someone-with-default-username commented 9 years ago

Seems that LightList type presents in Nitra.Runtime from master branch (it is quite old), but now it is moved to Nemerle.dll. I'm going to refresh sources in master.

rcammarere commented 9 years ago

Yes, I did install Nemerle (the latest version). I just uninstalled that version of Nemerle and installed the refreshed version from yesterday.

rcammarere commented 9 years ago

I went here . . . https://github.com/JetBrains/Nitra and clicked on "Download ZIP". That's what I'm working with now. Also I navigated to here . . http://nemerle.org/Downloads and installed version 4.0 v1.2.445.0 . You said that you were going to refresh sources in master. Should I remove what I've got and download the ZIP file for Nitra again?

Thanks, Renee

rcammarere commented 9 years ago

I deleted my copy of Nitra and downloaded the ZIP file again, but got the same errors. I decided to download GitHub and create a repository for the master branch. However, this is the first time I'm using this. In an attempt to clone Nitra, I have this folder on my machine . . . C:\Users\Renee Cammarere\Documents\GitHub\https---github.com-JetBrains-Nitra.git. I'm not sure what these files are. How do I clone Nitra on my machine? I'm assuming that the ZIP file is not up to date, correct? This is what happened when I tried to clone Nitra . . . case4195attempttoclonenitra

VladD2 commented 9 years ago

Also I navigated to here . . http://nemerle.org/Downloads and installed version 4.0 v1.2.445.0 .

Try to use Nemerle v1.2.439.0 (2015-03-21)

VladD2 commented 9 years ago

How do I clone Nitra on my machine?

  1. You are trying to clone Nemerle repository, instead of Nitra repository. You have already installed Nemerle. You sould't to clone the Nemerle repository. Use git@github.com:JetBrains/Nitra.git to clone Nitra repository.
  2. In Destination field set the "C:\NitraBase". Make sure that the "C:\NitraBase" exists before start clone.
rcammarere commented 9 years ago

I just uninstalled version 4.0 v1.2.445.0 of Nemerle and installed version v1.2.439.0 (2015-03-21). When I ran BuildBoot.cmd, I only got 1 error and 1 warning this time, instead of 20 errors (which is what I got before). However, when I went into the Nitra solution (which I got from the ZIP file) using VS and did a Rebuild, I still get the same errors as before case4195attempttoclonenitraerrors

rcammarere commented 9 years ago

By the way, I tried again to clone Nitra, this time using the right address, and this is what happened . . . case4195attempttoclonenitraerrors2 If I could get the Nitra solution that I downloaded from the ZIP file to build error-free, I wouldn't need to clone. Thanks so much for your help. I'm hoping to get this resolved soon. My boss keeps asking me about it :-)

rcammarere commented 9 years ago

I can't get this to build without errors. Can I call one of your developers, or have someone give me a call? Thanks.

VladD2 commented 9 years ago

By the way, I tried again to clone Nitra, this time using the right address, and this is what happened . . .

I think, you have not installed (or incorrectly installed) git.

PS

I fix 'master'. Now it sould build with the latest Nemerle version.

PPS

If you simply want to try Nitra, you can download the installer (Nitra.Setup.msi) here.

rcammarere commented 9 years ago

I'm sure you're right. I keep reading the documentation, but I'm missing something. I just want to try Nitra, so I'll go to the link that you indicated. Thanks.

rcammarere commented 9 years ago

I was able to get it installed and running, and the GUI comes up. However, I find that I am not able to test it because I must be missing something. I may be making the wrong assumptions. How do I test Nitra.Visualizer.exe using the samples? I noticed that it is looking for an "nsln" file and I can load one of the nsln files from the Tests\Visualizer folder (from when I downloaded the Nitra solution before), but then I get errors because it can't find certain dll's.

In other words, how do I test it once I have this GUI? case4195attempttousenitra The reason you see NitraGrammar in there is because I brought in Nitra.Grammar.dll (just testing) Thanks, Renee

rcammarere commented 9 years ago

That latest update that you did to 'master' did the trick. I had no errors when I ran BuildBoot.cmd this time. Thanks :-)