Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Collision with tiles position and sprite not aligning correctly
#5
(09-04-2023, 03:44 PM)megamarc Wrote: Hi,

I've updated my install of mingw to mingw64 to last one available (13.2.0) but I when building I get many instances of this error:

Code:
src/Include/tweeny.h: In member function 'tweeny::tween<T>& tweeny::tween<T>::via(const int&, Fs ...)':
src/Include/tweeny.h:2315:20: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
2315 |        if (easing == "stepped") return via(easing::stepped, vs...);
     |            ~~~~~~~^~~~~~~~~~~~

It makes sense, the code is trying to compare an enumerated type with a string using the equal operator. So I cannot build it. What version of mingw are you using?

Take out the include for tweeny. It's not being used anyways. Hopefully that fixes it for you. I'm using mingw64 1.4.0.0
Reply


Messages In This Thread
RE: Collision with tiles position and sprite not aligning correctly - by RootBeerKing - 09-05-2023, 05:40 AM

Forum Jump:


Users browsing this thread: 3 Guest(s)