When compiling with the cpp target I've got this error:
/src/stb/format/vorbis/VorbisTools.cpp:1852:6: error: lvalue required as left operand of assignment
M_PI= ((Float)3.14159265358979323846264);
It looks liked M_PI is defined twice, but as I'm new to Haxe I don't know how to handle this correctly. I worked around it just by renaming the occurrences to MATH_PI and now it's working perfectly.
When compiling with the cpp target I've got this error:
/src/stb/format/vorbis/VorbisTools.cpp:1852:6: error: lvalue required as left operand of assignment M_PI= ((Float)3.14159265358979323846264);
It looks liked M_PI is defined twice, but as I'm new to Haxe I don't know how to handle this correctly. I worked around it just by renaming the occurrences to MATH_PI and now it's working perfectly.