link options added and initial cpp opengl