How load DXF or other vector formats to OpenGl object?

I have 1000 2D objects in DXF file. Need draw in OpenGl window.

There isn’t a standard way to do it, so you’re going to have to work out how to do it yourself.