You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All the b2Rot functions seem to be missing from the native binary except for b2Rot_IsValid for the box2d.dll files.
It's also missing from the released .so files.
EDIT: I see the problem all header only functions are missing.
Change this bit in base.h
// C++ macros// clang-format off#ifdef__cplusplus#defineB2_API extern "C" BOX2D_EXPORT
#ifndefB2_INLINE#defineB2_INLINE inline
#endif#defineB2_LITERAL(T) T
#defineB2_ZERO_INIT {}
#else#defineB2_API BOX2D_EXPORT
#ifndefB2_INLINE#defineB2_INLINE inline static
#endif/// Used for C literals like (b2Vec2){1.0f, 2.0f} where C++ requires b2Vec2{1.0f, 2.0f}#defineB2_LITERAL(T) (T)
#defineB2_ZERO_INIT {0}
#endif// clang-format on
And then add a single file math_functions.c to compile:
#defineB2_INLINE#include<box2d/math_functions.h>
Or find a way to have zig export the inline and static functions
The text was updated successfully, but these errors were encountered:
All the b2Rot functions seem to be missing from the native binary except for
b2Rot_IsValid
for the box2d.dll files.It's also missing from the released .so files.
EDIT: I see the problem all header only functions are missing.
Change this bit in base.h
And then add a single file
math_functions.c
to compile:Or find a way to have zig export the inline and static functions
The text was updated successfully, but these errors were encountered: