![]() ![]() ![]() Make sure the headers are available in those search paths by copying them or reinstalling by changing the install location (CMAKE_INSTALL_PREFIX flag) You can check where the g tool is searching for header files by running with “ -v” option as follows: g -v triangle.cpp -o triangle -lopengl32 -lglew32 -lfreeglut -lglu32 > If you get errors such as “No such file or directory” for an imported Header file, it means that header file is not in the search paths of g /gcc. You can compile and install GLFW similar to the way we installed FreeGLUT and GLEW. Its a game-centric alternative to FreeGLUT. > GLFW is a lightweight utility library for use with OpenGL. > Go to the freeglut folder (it should contain CMakeLists.txt file) and open the Command Prompt at this location to execute the following command:įinally our White Triangle!! Additional Info
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |