jncronin / tysila

Compiles CIL code to native machine code
Other
19 stars 2 forks source link

Building #1

Open monke8555 opened 4 years ago

monke8555 commented 4 years ago

Hi, please could you give a build of tysos and tysila. I'm getting many errors, and after fixing it says built, But no exe is made. I really need it for this: https://wiki.osdev.org/C_Sharp_Bare_Bones#Prerequisites

monke8555 commented 3 years ago

@jncronin

AlectronikForge commented 3 years ago

Unfortunately I can confirm that this is still open. With current toolchain (Arch linux) I get 512 warnings and 11434 errors, the list is too long to post it bu it's about predefined types not being defined:

  /home/nix/Public/PInvoke/tysila/TableMap/tablemap.cs(1353,10): error CS0246: The type or namespace name 'SuppressMessage' could not be found (are you missing a using directive or an assembly reference?) [/home/nix/Public/PInvoke/tysila/TableMap/TableMap.csproj]
  /home/nix/Public/PInvoke/tysila/TableMap/tablemap.cs(1354,10): error CS0518: Predefined type 'System.Object' is not defined or imported [/home/nix/Public/PInvoke/tysila/TableMap/TableMap.csproj]
  /home/nix/Public/PInvoke/tysila/TableMap/tablemap.cs(1354,10): error CS0246: The type or namespace name 'SuppressMessageAttribute' could not be found (are you missing a using directive or an assembly reference?) [/home/nix/Public/PInvoke/tysila/TableMap/TableMap.csproj]
  /home/nix/Public/PInvoke/tysila/TableMap/tablemap.cs(1354,10): error CS0246: The type or namespace name 'SuppressMessage' could not be found (are you missing a using directive or an assembly reference?) [/home/nix/Public/PInvoke/tysila/TableMap/TableMap.csproj]
  /home/nix/Public/PInvoke/tysila/TableMap/tablemap.cs(1355,10): error CS0518: Predefined type 'System.Object' is not defined or imported [/home/nix/Public/PInvoke/tysila/TableMap/TableMap.csproj]
  /home/nix/Public/PInvoke/tysila/TableMap/tablemap.cs(1355,10): error CS0246: The type or namespace name 'SuppressMessageAttribute' could not be found (are you missing a using directive or an assembly reference?) [/home/nix/Public/PInvoke/tysila/TableMap/TableMap.csproj]
  /home/nix/Public/PInvoke/tysila/TableMap/tablemap.cs(1355,10): error CS0246: The type or namespace name 'SuppressMessage' could not be found (are you missing a using directive or an assembly reference?) [/home/nix/Public/PInvoke/tysila/TableMap/TableMap.csproj]
  /home/nix/Public/PInvoke/tysila/TableMap/tablemap.cs(1353,26): error CS0518: Predefined type 'System.String' is not defined or imported [/home/nix/Public/PInvoke/tysila/TableMap/TableMap.csproj]
  /home/nix/Public/PInvoke/tysila/TableMap/tablemap.cs(1353,51): error CS0518: Predefined type 'System.String' is not defined or imported [/home/nix/Public/PInvoke/tysila/TableMap/TableMap.csproj]
  /home/nix/Public/PInvoke/tysila/TableMap/tablemap.cs(1354,26): error CS0518: Predefined type 'System.String' is not defined or imported [/home/nix/Public/PInvoke/tysila/TableMap/TableMap.csproj]
  /home/nix/Public/PInvoke/tysila/TableMap/tablemap.cs(1354,46): error CS0518: Predefined type 'System.String' is not defined or imported [/home/nix/Public/PInvoke/tysila/TableMap/TableMap.csproj]
  /home/nix/Public/PInvoke/tysila/TableMap/tablemap.cs(1354,90): error CS0246: The type or namespace name 'MessageId' could not be found (are you missing a using directive or an assembly reference?) [/home/nix/Public/PInvoke/tysila/TableMap/TableMap.csproj]
  /home/nix/Public/PInvoke/tysila/TableMap/tablemap.cs(1354,102): error CS0518: Predefined type 'System.String' is not defined or imported [/home/nix/Public/PInvoke/tysila/TableMap/TableMap.csproj]
  /home/nix/Public/PInvoke/tysila/TableMap/tablemap.cs(1355,26): error CS0518: Predefined type 'System.String' is not defined or imported [/home/nix/Public/PInvoke/tysila/TableMap/TableMap.csproj]
  /home/nix/Public/PInvoke/tysila/TableMap/tablemap.cs(1355,46): error CS0518: Predefined type 'System.String' is not defined or imported [/home/nix/Public/PInvoke/tysila/TableMap/TableMap.csproj]
  /home/nix/Public/PInvoke/tysila/TableMap/tablemap.cs(1355,92): error CS0246: The type or namespace name 'MessageId' could not be found (are you missing a using directive or an assembly reference?) [/home/nix/Public/PInvoke/tysila/TableMap/TableMap.csproj]
  /home/nix/Public/PInvoke/tysila/TableMap/tablemap.cs(1355,104): error CS0518: Predefined type 'System.String' is not defined or imported [/home/nix/Public/PInvoke/tysila/TableMap/TableMap.csproj]
  /home/nix/Public/PInvoke/tysila/TableMap/tablemap.cs(1383,10): error CS0518: Predefined type 'System.Object' is not defined or imported [/home/nix/Public/PInvoke/tysila/TableMap/TableMap.csproj]
  /home/nix/Public/PInvoke/tysila/TableMap/tablemap.cs(1383,10): error CS0246: The type or namespace name 'SuppressMessageAttribute' could not be found (are you missing a using directive or an assembly reference?) [/home/nix/Public/PInvoke/tysila/TableMap/TableMap.csproj]
  /home/nix/Public/PInvoke/tysila/TableMap/tablemap.cs(1383,10): error CS0246: The type or namespace name 'SuppressMessage' could not be found (are you missing a using directive or an assembly reference?) [/home/nix/Public/PInvoke/tysila/TableMap/TableMap.csproj]
  /home/nix/Public/PInvoke/tysila/TableMap/tablemap.cs(1383,26): error CS0518: Predefined type 'System.String' is not defined or imported [/home/nix/Public/PInvoke/tysila/TableMap/TableMap.csproj]
  /home/nix/Public/PInvoke/tysila/TableMap/tablemap.cs(1383,51): error CS0518: Predefined type 'System.String' is not defined or imported [/home/nix/Public/PInvoke/tysila/TableMap/TableMap.csproj]
  /home/nix/Public/PInvoke/tysila/TableMap/tablemap.cs(1391,10): error CS0518: Predefined type 'System.Object' is not defined or imported [/home/nix/Public/PInvoke/tysila/TableMap/TableMap.csproj]
  /home/nix/Public/PInvoke/tysila/TableMap/tablemap.cs(1391,10): error CS0246: The type or namespace name 'SuppressMessageAttribute' could not be found (are you missing a using directive or an assembly reference?) [/home/nix/Public/PInvoke/tysila/TableMap/TableMap.csproj]
  /home/nix/Public/PInvoke/tysila/TableMap/tablemap.cs(1391,10): error CS0246: The type or namespace name 'SuppressMessage' could not be found (are you missing a using directive or an assembly reference?) [/home/nix/Public/PInvoke/tysila/TableMap/TableMap.csproj]
  /home/nix/Public/PInvoke/tysila/TableMap/tablemap.cs(1391,26): error CS0518: Predefined type 'System.String' is not defined or imported [/home/nix/Public/PInvoke/tysila/TableMap/TableMap.csproj]
  /home/nix/Public/PInvoke/tysila/TableMap/tablemap.cs(1391,51): error CS0518: Predefined type 'System.String' is not defined or imported [/home/nix/Public/PInvoke/tysila/TableMap/TableMap.csproj]
  /home/nix/Public/PInvoke/tysila/TableMap/tablemap.cs(1845,10): error CS0518: Predefined type 'System.Object' is not defined or imported [/home/nix/Public/PInvoke/tysila/TableMap/TableMap.csproj]
  /home/nix/Public/PInvoke/tysila/TableMap/tablemap.cs(1845,10): error CS0246: The type or namespace name 'SuppressMessageAttribute' could not be found (are you missing a using directive or an assembly reference?) [/home/nix/Public/PInvoke/tysila/TableMap/TableMap.csproj]
  /home/nix/Public/PInvoke/tysila/TableMap/tablemap.cs(1845,10): error CS0246: The type or namespace name 'SuppressMessage' could not be found (are you missing a using directive or an assembly reference?) [/home/nix/Public/PInvoke/tysila/TableMap/TableMap.csproj]
  /home/nix/Public/PInvoke/tysila/TableMap/tablemap.cs(1845,26): error CS0518: Predefined type 'System.String' is not defined or imported [/home/nix/Public/PInvoke/tysila/TableMap/TableMap.csproj]
  /home/nix/Public/PInvoke/tysila/TableMap/tablemap.cs(1845,51): error CS0518: Predefined type 'System.String' is not defined or imported [/home/nix/Public/PInvoke/tysila/TableMap/TableMap.csproj]
  /home/nix/Public/PInvoke/tysila/TableMap/tablemap.cs(124,14): error CS0518: Predefined type 'System.Int32' is not defined or imported [/home/nix/Public/PInvoke/tysila/TableMap/TableMap.csproj]

I'm not really experienced with CSharp or .NET, so lack the knowledge to fix the bugs. I came to tysila too via osdev.net, intended to do a so called toy microkernel and looking for a decent language, when I remembered reading about your project.

Would be genial if somebody could point me into the directions to fix the compiler. I don't mind spending some time or digging into stuff but here I need some guidance.

monke8555 commented 3 years ago

Where is the owner? Even they have stopped maintaining the project, they should at least reply to the mention. Weird.

AlectronikForge commented 3 years ago

Weird, I just set up a fresh void linux container, installed mono and msbuild, and there it builds without these errors, leaving me with 75 warnings - but yeah, still no exe. I like CS as a language but really not the .NET weirdness. They should have a look into the beef language which compiles to native code, lol. A company the size of MS should be able to do better than they do, in many aspects but then again even Apple bought NeXT instead of writing their own shiny OS or at least taking BeOS as a base..