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.
create New DotNet 8 console App .
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" />
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
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..