Closed sigonasr2 closed 5 months ago
Describe the bug When attempting to use Draw functions with olcUTIL_Geometry2D.h included, programs no longer compile.
olcUTIL_Geometry2D.h
To Reproduce Steps to reproduce the behavior:
#include "olcUTIL_Geometry2D.h"
#include "olcPixelGameEngine.h"
wasm-ld: error: pgetinker.o: undefined symbol: olc::PixelGameEngine::FillCircle(olc::v_2d const&, int, olc::Pixel) wasm-ld: error: pgetinker.o: undefined symbol: olc::PixelGameEngine::Draw(olc::v_2d const&, olc::Pixel)
Expected behavior The program would run and compile as normal, showing the standard PGEtinker application.
Ahhh, this is a sneaky little bug. I did a little investigating and I know how to fix it, should be up along with the next screenshot/thumbnail release..
Describe the bug When attempting to use Draw functions with
olcUTIL_Geometry2D.h
included, programs no longer compile.To Reproduce Steps to reproduce the behavior:
#include "olcUTIL_Geometry2D.h"
before#include "olcPixelGameEngine.h"
Expected behavior The program would run and compile as normal, showing the standard PGEtinker application.