Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Environment configuration of OpenGL 4 under Windows7+VS2012

2025-01-20 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

1) determine the OpenGL version supported by the system

GPU Caps Viewer checks the maximum supported OpenGL and GLSL versions of the machine

Download source: http://www.geeks3d.com/20161107/gpu-caps-viewer-1-32-0-released/

2) download the necessary source code and environment

Various extension libraries used by GLEW to manage and load OpenGL

Download source: https://sourceforge.net/projects/glew/files/glew/1.12.0/glew-1.12.0.zip/download

GLFW is used to create windows and control mouse and keyboard interactions

Download source: https://github.com/glfw/glfw

Install CMAKE. Used to assist in compiling GLFW

Download source: http://www.cmake.org

1 cmake execution exception

Could NOT find Vulkan (missing: VULKAN_LIBRARY VULKAN_INCLUDE_DIR)

Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)

Using Win32 for window creation

Configuring done

Generating done

Install vulkan and Doxygen

Https://vulkan .lunarg.com / sdk/download/1.0.33.0/windows/VulkanSDK-1.0.33.0-Installer.exe

Http://www.stack.nl/~dimitri/doxygen/download.html

2 Source code modification

Change snprintf to _ snprintf

Change fmin to min

Change fmax to max

3 header file missing

Stdbool.h

Stdint.h

This header file is mainly the standard header file of C99. These two header files are not found in the VS header file, so they can be copied from other machines (such as Android NDK or cywin copy installed).

4 GLFW3 uninstalls the vulkan project in the Tests folder, which currently cannot be compiled through

5 Why does glew32.dll need to be placed in the directory C:\ Windows\ SysWOW64, which is actually a 32-bit dll

Reference: http://www.cnblogs.com/rainbow70626/p/5557636.html

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report