Measure the size of the opening for which you are building the doors. Divide the width of the opening by two to get the width of your sliding doors. Make their height 1 inch longer than the opening.
Build the doors out of a lightweight frame covered by a veneer of masonite. Nail together 2-inch by 2-inch pieces of wood to create a rectangle the size of the door you want, then cover it with masonite by gluing and nailing the masonite to both sides of the frame. Don't use solid wood; it will be so heavy that it won't slide very easily, and it would require heavy-duty hardware.
Screw two wheels onto the bottom of each door, positioned so the door will roll sideways.
Screw two metal loops onto the top of each door. The loops need to be large enough to slide a 3/4-inch diameter metal pipe through them.
Attach a pipe over the opening in the wall. Cut the pipe so that it's 6 inches longer than the width of the opening. Slide the loops that are attached to the doors over the pipes. Position the doors in front of the opening with the pipe on top of them. Attach 90-degree corners with flanges on their faces to each end of the pipe. Screw the flanges to the wall so that the pipe passes through the loops on the doors with the wheels of the doors resting on the floor. Check the level of the pipe with a 4-foot level.