当前位置:网站首页>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
边栏推荐
- 3 strings, containers, and arrays
- 集合判断存在交集
- Redis distributed lock
- Error mcrypt in php7 version of official encryption and decryption library of enterprise wechat_ module_ Open has no method defined and is discarded by PHP. The solution is to use OpenSSL
- An error occurred while downloading the remote file The errormessage
- When SQL server2019 is installed, the next step cannot be performed. How to solve this problem?
- Solution: content type 'application/x-www-form-urlencoded; charset=UTF-8‘ not supported
- SQL injection based on error reporting
- leetcode:890. Find and replace mode [two dict records set]
- Set [list] to find out the subscript of repeated elements in the list (display the position of the subscript)
猜你喜欢

It only takes 10 minutes to understand the underlying principle of NiO

A journey of database full SQL analysis and audit system performance optimization

8 IO Library

CL210OpenStack操作的故障排除--章節實驗

VSCode常用插件

Curry carries the fourth game of the warriors against the Celtics
![[image detection] SAR image change detection based on depth difference and pcanet with matlab code](/img/c7/05bfa88ef1a4a38394b81755966e46.png)
[image detection] SAR image change detection based on depth difference and pcanet with matlab code

esp32 hosted

descheduler 二次调度让 Kubernetes 负载更均衡

CL210OpenStack操作的故障排除--章节实验
随机推荐
platform driver
Tomato learning notes -seq2seq
美团获得小样本学习榜单FewCLUE第一!Prompt Learning+自训练实战
六月集训 第六日——滑动窗口
(14)Blender源码分析之闪屏窗口显示软件版本号
C language pointer
SQL injection - Union query
【图像去噪】基于非局部欧几里德中值 (NLEM) 实现图像去噪附matlab代码
The second revolution of reporting tools
Jackson XML is directly converted to JSON without writing entity classes manually
Tomato learning notes dvector and other basics
Throw away the ugly toast. The movable toast is more interesting
6 functions
Idea common shortcut keys
最近面了15个人,发现这个测试基础题都答不上来...
leetcode. 39 --- combined sum
Android studio uses database to realize login and registration interface function
SQL Server 2019 installation error. How to solve it
丢掉丑陋的 toast,会动的 toast 更有趣
Descscheduler secondary scheduling makes kubernetes load more balanced
https://www.bilibili.com/video/BV1cS4y1778o