当前位置:网站首页>Scons compiling imgui
Scons compiling imgui
2022-06-12 06:56:00 【Ke AI's eyes】
1、 install python
2、 adopt pip install scons
python -m pip install scons3、 install Cmake
Note that the environment variable is checked during installation , I won't go into more details here
4、 download GLFW Source version and compilation
Download | GLFW
https://www.glfw.org/download.html
Use cmake I compiled it myself , The official version compiled by itself scons If you can't use it, you will report an error
Unresolved external symbols __imp_realloc And so on.

compile glfw Refer to this article for the process of
solve glfw3.lib(input.obj) : error LNK2019: Unresolved external symbols __imp_strspn, function glfwUpdateGamepadMappings The symbol is quoted in _ppdyhappy The blog of -CSDN Blog _glfw3.lib Environmental Science :vs2019 communityglfw3.3.2 Problem description : Because I want to use only lib Library compilation code , I don't want to bring a bunch of... To the final output dll file , So in vs The settings shown in the figure below are made : A similar error occurred during recompilation , Looking for information here, I thought it might also be the initial establishment glfw3.3.2 Configure when compiling the project cmake What's wrong with , So for glfw3.3.2 Of cmake The configuration is modified as shown in the following figure : Tick off USE_MSVC_RUNTIME_LIBRARY_DLL the , Generate the project again ---> compile , Get new lib file , Use this file , Problem solving https://blog.csdn.net/ppdyhappy/article/details/108010297cmake If you can't use it, you can use Baidu by yourself , The core is to tick off USE_MSVC_RUNTIME_LIBRARY_DLL
otherwise scons The above error will appear when compiling
5、 download IMGUI
Release v1.87 · ocornut/imgui (github.com)
https://github.com/ocornut/imgui/releases/tag/v1.87 Reference video :
Then the video can be compiled vs Version of , Here I recommend that you try it first , If it's OK, let's start compiling scons Of .
6、 establish scons The file of

among Global.h Follow ImGuiDemo.cpp and SConstruct I wrote it myself , You can see what I use 64 position
The rest are just downloaded imgui Pasted

ImGuiDemo.cpp I am an official example of direct reproduction , There are no screenshots here
7、 It also needs to be installed vulkan
And configure the path in my way
Note that the header file path follows lib route , Plus the relevant lib name
边栏推荐
- 【图像去噪】基于高斯滤波、均值滤波、中值滤波、双边滤波四种滤波实现椒盐噪声图像去噪附matlab代码
- Use ms17-010 Eternal Blue vulnerability to infiltrate win7 and establish a permanent back door
- 【图像去噪】基于非局部欧几里德中值 (NLEM) 实现图像去噪附matlab代码
- How to update kubernetes certificates
- 六月集训 第九日——位运算
- MySQL multiple SQL batch operations (crud) in JDBC
- Noi openjudge computes the n-th power of 2
- 2021 RoboCom 世界机器人开发者大赛-本科组(初赛)
- Recommend 17 "wheels" to improve development efficiency
- d的自动无垃集代码.
猜你喜欢

Postman splice replacement parameter loop call interface

(14) The software version number is displayed in the flash window of blender source code analysis

PHP read / write cookie

VSCode常用插件

8. 表单标签

Jackson XML is directly converted to JSON without writing entity classes manually

Are you still using like+% for MySQL fuzzy query?

Reentrantlock underlying AQS source code analysis

1. Foundation of MySQL database (1- installation and basic operation)

SQL injection based on error reporting
随机推荐
Category 7
Recommend 17 "wheels" to improve development efficiency
leetcode:剑指 Offer 63. 股票的最大利润【记录前缀最小和 or 无脑线段树】
Scons编译IMGUI
如何更新 Kubernetes 证书
Unable to load bean of class marked with @configuration
数据库语法相关问题,求解一个正确语法
Noi openjudge computes the n-th power of 2
descheduler 二次调度让 Kubernetes 负载更均衡
Drawing grid navigation by opencv map reading
3 strings, containers, and arrays
d的扩大@nogc
SQL injection based on error reporting
Codeforces Round #793 (Div. 2) A B C
Troubleshooting of cl210openstack operation -- Chapter experiment
The difference between get and post and the code implementation of message board
Descscheduler secondary scheduling makes kubernetes load more balanced
C language pointer
Leetcode: Sword finger offer 63 Maximum profit of stock [record prefix minimum and or no brain segment tree]
esp32 hosted
https://www.bilibili.com/video/BV1cS4y1778o