How to use a Tilemap as a physics body using Box2d

Hi,
I am new to game development.

What I’m trying to do is load the .tmx tilemap I’ve created from
Tiled to my game as a physics body(ies), I’m using C++ and Boxd2. My
tilemaps show only the tiles I want to be collideable, like the floor
and some platforms.

It’s important to notice that I’m programming for windows and all
documentation I found were about IOS or for an older version, some
functions doesn’t seem to work.
Please spare me of things like :“why don’t you use a mac or why don’t you do it for Iphone”.