Ncleardev / NclearOS-2

Cosmos based Operating System with GUI.
https://ncleardev.github.io/NclearOS-2/
35 stars 8 forks source link

Cannot generate a visual studio project using the source package #1

Open mrmcguggins opened 1 year ago

mrmcguggins commented 1 year ago

I have followed the instructions for building a project. However, upon extracting, many errors instantly arise, including things like "cannot convert from char to string" and various errors relating to the systems drawing canvas.

It would likely be better for people who want to get a better look at the source (including myself, I'm trying to write more utilities for it) if there was an entire repo folder uploaded with it already set up properly, as no matter what I have tried, nothing works. each attempt yields more and less sense making errors.

The .ISO works fine though, but that's not what I need.

Do you have or could create the proper not malformed whole repo folder and if so could you upload it? It seems like I am either missing a step or something is missing from the ZIP archive.

mrmcguggins commented 1 year ago

I have visual studio 2019 and 2022, Windows 10, and the user kit edition of cosmos. None of the source is modified, it is all purely as it is contained in that zip folder, set up exactly as the website details. If any of that helps.

mrmcguggins commented 1 year ago

Also worth noting I'm trying to get 0.3.0 to work but I have also tried 0.2.0 and it is also broke.

Ncleardev commented 1 year ago

v0.2.0 is using outdated UserKit and v0.3.0 is using latest DevKit that was available at the moment of release. Each update of CosmosOS may change specific functions. For example, UserKit's DrawPoint gets Pen as a parameter, but DevKit uses System.Drawing.Color. That's why there are so many errors. To fix these issues each error needs to be manually fixed, one by one using the latest UserKit. However, I'm more focused on releasing v0.4.0, which is coming soon. Thanks for highlighting the issue though. I will consider using UserKit for future releases.

Ncleardev commented 1 year ago

After converting NclearOS back from DevKit I can confirm that v0.4.0 will be using latest UserKit. It should fix all the issues mentioned above and make building NclearOS much easier for many users.

mrmcguggins commented 1 year ago

Sweet, man. So, will 0.3.0 work if I install the latest devkit? Also, are you adding a gui of the calculator or any of the other non present terminal apps from the old Nclearos? Also, when booting an ISO of 0.3.0, running "init.fs" or something like that it instantly kills the system, and hitting "save" on a text file also kills it. Any terminal command also heavily slows the os. Holding shift before the "hold shift safe mode" screen also restarts the cpu (vmware). I'm not trying to be an annoyance if that's how this comes off, I just want this system to be good. Sphere and prism (other gui os built with cosmos) have little over this except the stability, and with the old version's apps, possibly better.

Things to consider.

Ncleardev commented 1 year ago

So, will 0.3.0 work if I install the latest devkit?

Since the 0.3.0 release, there was some updates to CosmosOS DevKit. Still, I think that after a few fixes it should work. Can't tell for sure since I just switched to UserKit.

are you adding a gui of the calculator or any of the other non present terminal apps from the old Nclearos?

There won't be any new GUI applications in NclearOS 0.4.0 as this update is focusing on performance improvements. Also, I want to release a new version ASAP since a long time has passed since 0.3.0. As a side note keep in mind that 0.4.0 will be very different in terms of drawing to the canvas and it also features a completely overhauled command system with some new commands, including those file-managing ones.

Also, when booting an ISO of 0.3.0, running "init.fs" or something like that it instantly kills the system, and hitting "save" on a text file also kills it.

NclearOS 2 automatically initializes Filesystem on startup. Running fs.init command while Filesystem is already up and running, causes the system to crash. However, in my testing Saving files from Notepad works as intended. Check if formatting the disk in the Files app and rebooting the VM helps.

Any terminal command also heavily slows the os.

I'm aware of that, that's why

this update is focusing on performance improvements

and I'm happy to report that performance is indeed improved, reaching up to 100 fps instead of 1 while using the Command app.

Holding shift before the "hold shift safe mode" screen also restarts the cpu (vmware).

I'm also aware of that, sadly I can't fix it since it crashes during the CosmosOS core boot sequence.

I'm not trying to be an annoyance if that's how this comes off, I just want this system to be good.

That's not an annoyance by any means, user feedback is very welcome.

Ncleardev commented 1 year ago

v0.4.0 Pre-release is now available, check if the issue is resolved.