epezent / implot

Immediate Mode Plotting
MIT License
4.64k stars 516 forks source link

Linker error for ImPlotContext struct #440

Closed FlavioFS closed 1 year ago

FlavioFS commented 1 year ago

When I include implot.h, the CreateContext and DestroyContext functions cannot find the definition for ImPlotContext*, which is defined within implot_internal.h

So implot.h depends on implot_internal.h, but implot.h must be included before implot_internal.h as of line 41 in implot_internal.h

Am I doing something wrong?

FlavioFS commented 1 year ago

image

FlavioFS commented 1 year ago

Nevermind, my fault. Visual Studio didn't automatically detect the new files in folder, I had to add them manually. image