I had this issue in my own project, so I tired it inside the sample project and got the same exception.
I pulled the v1.89.3 branch, ran the build script, ran the sample app to make sure it worked, and then added the line ImPlotPoint test = new ImPlotPoint(0, 0); to the top of the MyGameWindow::OnRenderFrame function. I get the same exception if I try to use the constructor that wants a Vector2 instead.
The sample app then gets the EntryPointNotFoundException every time.
Here's the full exception:
System.EntryPointNotFoundException: Unable to find an entry point named '??0ImPlotPoint@@QEAA@NN@Z' in DLL 'implot'.
at DearImPlot.ImPlotPoint.__Internal64.ctor(IntPtr __instance, Double _x, Double _y)
at DearImPlot.ImPlotPoint..ctor(Double _x, Double _y) in /_/DearImPlot/ImPlot.g.cs:line 1129
at SampleApplication.OpenTK.MyGameWindow.OnRenderFrame(FrameEventArgs args) in W:\test\DearImGui\SampleApplication.OpenTK\MyGameWindow.cs:line 67
at OpenTK.Windowing.Desktop.GameWindow.DispatchRenderFrame()
at OpenTK.Windowing.Desktop.GameWindow.Run()
at SampleApplication.OpenTK.Program.Main(String[] args) in W:\test\DearImGui\SampleApplication.OpenTK\Program.cs:line 38
I don't have any issues getting an ImPlotPoint instance in C# if I call a function that returns one - like ImPlot.PixelsToPlot - so I'm at a loss for how to help dig further.
I had this issue in my own project, so I tired it inside the sample project and got the same exception.
I pulled the v1.89.3 branch, ran the build script, ran the sample app to make sure it worked, and then added the line
ImPlotPoint test = new ImPlotPoint(0, 0);to the top of the MyGameWindow::OnRenderFrame function. I get the same exception if I try to use the constructor that wants a Vector2 instead.The sample app then gets the EntryPointNotFoundException every time.
Here's the full exception:
I don't have any issues getting an ImPlotPoint instance in C# if I call a function that returns one - like ImPlot.PixelsToPlot - so I'm at a loss for how to help dig further.