I am trying to install Labs Version 2 on Windows 11 Pro, and have run into several issues. Not sure I am following the directions properly. Here are my questiongs:
“Clone the repo and open it as a project in Intellij. The gradle build files should cause Intellij to install the correct versions of all libraries and Kotlin.”
MY QUESTION: I don’t know what the first sentence above means. I was able to run the gradlew.bat and it came back and said it had installed everything successfully.
“You may want to install the Antlr plugin for syntax highlighting of the Lucid.g4 grammar. (File->Settings->Plugins)”
MY QUESTION: Yes, I would like to install this, but don’t know where it is: File->?
"Once the gradle sync is done, you should be able to run the tests by opening the test file and clicking the green arrow in the code editor gutter or right-clicking on the test folder in the project tree and selecting “Run 'Tests in …”
“You can start the IDE by going to [Main.kt (src/main/kotlin/com/alchitry /labs2/Main.kt) and clicking the green arrow in the gutter next to fun main(). The current environment is set up for Linux, and you may need to change some things if you are on something else.”
MY QUESTION: * I can follow all these links, starting at scr in the download named Alchitry-Labs-V@-master. But when I finally get to alchitry/labs2, there is no file called MAIN.kt!
I am back again with more questions regarding my installation of Labs 2 on Windows 11.
I have 2 issues, neither of which I have seen with Labs 1.2.7:
Norton Anti-Virus tries to block Labs 2, every time. I have to tell it to make an exception, which it does until the next time I run it, and then we go through this again.
Just trying to run the sample projects from “create new project”, about half will compile, and the other half give me this error message:
“ERROR: [Common 17-70] Application Exception: Failed to launch run ‘impl_1’ due to failures in the following run(s):synth_1. These failed run(s) need to be reset prior to launching ‘impl_1’ again.”
I don’t know what is causing this, and I don’t know how to “reset prior to launching ‘impl_1’ again”.
Hello,
I can’t help you about Norton because I don’t have it, but I suspect it may be either a code signing + reputation issue : for executable files, AV vendors usually relies on the presence of cryptographic signature that act as a proof of origin (which is quite expansive to get) and/or the number of downloads vs reports of the file.
Since Labs 2 is most likely unknown to AV vendors and as far as I can see does not have a signature, this may be the reason why Norton consider it suspicious.
About the error you get, I can help you a bit : this error comes from Vivado, and is caused by Labs asking Vivado to re-run implementation step, but Vivado complains that the synthetization step need to be re-run first.
This is maybe caused by Labs not issuing a reset command to Vivado but it may be something else that caused Vivado to fail the synthetization and Labs became unaware of it, I can’t tell.
So what you can do is to open the project in Vivado and manually reset the synthetization step. This should solve your problem, but will not prevent it to happen again later.
I’m willing to bet both of these are issues are from the antivirus.
At some point Alchitry Labs V2 will be distributed through the Windows Store and be signed so hopefully that fixes both of these.
The error is a bit nonsensical since each build is completely clean. I’m guessing the anti-virus is doing something to the build files as they’re being made. Any chance of disabling the AV then trying a failing one?
I tried turning everything on Norton off for 15 minutes, and was able to get one of the demos to run through Vivado OK without failing. Interestingly, Norton still managed to come up and tell me an application was doing something dangerous. But at least it didn’t cause the build to fail.
I also can’t get the serial monitor on Labs 2 to work. When I hit the connect, it immediately disconnects. (I can immediately open Labs 1 and its serial monitor connects just fine.) Perhaps this is also a problem Norton is causing.
I may just have to wait awhile to make the switch to Labs 2, until it’s recognized by Windows and Norton as legit!
Yes, when I can get Vivado to finish a build, I can always download it to the Au board.
The only message I get when the serial monitor fails to connect is that, when I click on the connect icon, it immediately responds with a diagonal line across it, which I take as a failure to connect.
Mine looks exactly like the one in your tutorial, except, when I try to connect, that diagonal line only appears for about 1/10 second and then immediately disappears, and I have no connection. It does recognize the Au board and shows that it is there.
Hmmm I’ll have to add some logging when it disconnects to get a better idea of what’s going on. I kind of doubt it is the AV since it works for loading the board.
I got the serial port issue fixed. The code that connects with D2xx (FTDI proprietary driver) was connecting to the wrong interface (JTAG not serial) so the detected COM port was wrong.
After lunch I’ll see about publishing to the Windows Store but either way 2.0.20 will have the serial issue fixed.
2.0.20 is now live via GitHub and it has been submitted to Microsoft for approval. They said it takes between a few hours and three days. I’ll edit this post when it’s up.
Things just got weirder here. 2.0.20 ran OK yesterday, and I was able to verify that serial monitor worked.
Today, I tried to open it, and Windows said it needed to be repaired, then said it couldn’t repair and to reinstall. I tried to reinstall and it won’t. I may need to wait a day or two for the change at Microsoft to propagate and even longer for Norton to pick up on it.
Still, I can’t imagine how registering it with Windows would cause this to happen! Are you able to install it now on your Windows machine?
Looks like Norton is still at it. I disabled it and was able to reinstall. It will likely take a few days for Norton to update and see Labs 2 as a valid Windows app.