H
H
holywalley2016-10-26 17:07:00
C++ / C#
holywalley, 2016-10-26 17:07:00

How to add a shape to an OpenGL project?

Hello. I have an OpenGL project ( empty c++ project in visual studio 2015 (13) ). You can’t connect a form to it, at least I didn’t find how.
2ba4d202ca5b400ba4c7375e00b920c2.png
If I create a project with a form, I can’t connect code to it, it says that the opengl library is not available, although I connect library files to the linker in the same way.
The form is needed in order to change the values ​​of variables in the code by pulling the sliders on it, and this should directly affect the rendering of the OpenGL window.
If there is a way to create a form and components directly through the code, it would be very cool, but I didn’t find it either. There was one example where opengl was added directly to the form, but the project itself did not start for me, apparently due to the difference in versions, or I xs.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
RedHairOnMyHead, 2016-10-26
@ThePyzhov

If you want forms on pluses, put Qt. They are not in the studio.
UPD: in the comments, the issue of the lack of forms is clarified.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question