79224335

Date: 2024-11-25 19:18:22
Score: 1
Natty:
Report link

dont use example from website.. its outdated. piece of crap...

luckily some people manage to run it.

also VS-nuget packages are Crap dependency wise.
be sure all libs are installed. nuget fails silently... no dialog when it fails.. read the output at the bottom window..

some libs install without checking any dependancy but, even crash on runtime. such a sh*tfest over there on the nugetLANDia.


check out this video. do exactly what hes doing.

  1. create New DotNet 8 console App .

  2. important!!. install these 4 package here..

    <PackageReference Include="ClickableTransparentOverlay" Version="9.1.0" />
    <PackageReference Include="ImGui.NET" Version="1.91.0.1" />
    <PackageReference Include="SixLabors.ImageSharp" Version="3.1.6" />
    <PackageReference Include="Veldrid.ImGui" Version="5.72.0" />
    <PackageReference Include="Vortice.Mathematics" Version="1.9.3" />
  1. here the bare minimum example.

here is program.cs // new style

// See https://aka.ms/new-console-template for more information
using console_Imgui;


Console.WriteLine("Welcome To **ImGuiNET  ** ");
var v1 = new myView1();
v1.Start().Wait();

// myview1.cs

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using ImGuiNET;
using ClickableTransparentOverlay;
using System.Numerics;

namespace console_Imgui
{
    internal class myView1 : Overlay
    {

        protected override void Render()
        {
            ImGui.Begin("window1", ImGuiWindowFlags.None);

            ImGui.Text("hello f*cking finally from Imgui.");

            ImGui.End();


        }


    }


}

here the tutorial videos . which i got the info from.... by the way:: cpp guys are sado/maso. they love to torture themself/other-coders.


https://youtu.be/vuiMjD_Z7aY?si=L59WrhYhcsJp6Uib&t=164

  1. video update.. he uses nuget: Clickable.... v9.1.0 (cuz v10 has some errors ??)

https://www.youtube.com/watch?v=5yVpcJo_jjs


here is another guy...

https://www.youtube.com/watch?v=V6FsOXsnVsA&list=PLuH9V-2zo1hCUZMZrMdaWPJarQ_7ZL2Ah

this playlist last video uses. loads another font Arial. it works...

both of these guys install the same 4 libs..

Reasons:
  • Blacklisted phrase (1): youtu.be
  • Blacklisted phrase (1): youtube.com
  • Blacklisted phrase (1): this video
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • High reputation (-1):
Posted by: bh_earth0