ecs_nbody icon indicating copy to clipboard operation
ecs_nbody copied to clipboard

struct ecs_world_stats_t

Open HelixTP opened this issue 6 years ago • 1 comments
trafficstars

hello, I do not know if I do it wrong or if it's a bug. But as well under mac os x as under windows.

In several examples, I have this error:

bake/src/flecs-systems-admin/src/admin.c:240:36: error: no member named 'on_demand_systems' in 'struct ecs_world_stats_t'

AddSystemsToJson(&body, stats->on_demand_systems, "on_demand", measurements);

I looked a little in the sources, the struct is well defined in some file header. maybe the example is referance to a bad include file

HelixTP avatar Oct 18 '19 13:10 HelixTP

@HelixTP there was a breaking change in one of the stats structs, thanks for catching it! I fixed it. hopefully it works now.

SanderMertens avatar Oct 20 '19 00:10 SanderMertens