tweeny-3.2.0.h(1906,25): error C2589: '(': illegal token on right side of '::'
I just found about this header file(sounds great). but when i'm trying to use it on my visual studio 2022 project i get this error by just adding this two lines
#include <tweeny-3.2.0.h>
auto test = tweeny::from
not sure if it's a template thing, a namespace thing or a compatibility of the compiler. has anybody else face this?
Regards
oooh no win support. that's too bad, it looks to be a really desirable library to have in my project
thanks!
Hey, it should work on windows! Can you post the complete error log and also the command that VS is using? Also, what is your toolchain?
Microsoft Visual Studio Community 2022 (64-bit) - Current Version 17.11.5
i put tweeny-3.2.0.h in the root of my project
I included #include "tweeny-3.2.0.h"
and called this line tweeny::from(0.0f).to(1.0f).during(100).via(tweeny::easing::enumerated::linear);
I'm using Platform toolset: visual studio 2022 (v143) c++ lang standard: std:c++20
hope this help
Thanks, I'll try to reproduce it.
uploading basic vs2022 project with the issue tweeny-bug.zip