Skip to content

EntryPointNotFoundException when creating a ImPlotPoint #24

Description

@Cidolfas

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions