opencodewin / imgui Goto Github PK
View Code? Open in Web Editor NEWFork from imgui(docking/viewport) with vulkan image rendering support. many widgets and addons.
License: MIT License
Fork from imgui(docking/viewport) with vulkan image rendering support. many widgets and addons.
License: MIT License
用vs2022编译期间,font的超大字符串字面量数组编译不过
Hello ,
thanks for sharing!
I just want to test some of the compiled widgets to see if they can be useful to my projects.
How can I build the demo app to test it?
Any tips?
I made the typical cmake ..
but I am getting some errors related to VkShader
:
PS D:\_CODE\_C\imgui> mkdir build
Directory: D:\_CODE\_C\imgui
Mode LastWriteTime Length Name
---- ------------- ------ ----
d----- 9/18/2022 8:29 PM build
PS D:\_CODE\_C\imgui> cd build
PS D:\_CODE\_C\imgui\build> cmake ..
-- Building for: Visual Studio 17 2022
-- Selecting Windows SDK version 10.0.22000.0 to target Windows 10.0.19044.
-- The C compiler identification is MSVC 19.33.31630.0
-- The CXX compiler identification is MSVC 19.33.31630.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.33.31629/bin/H
ostx64/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.33.31629/bin
/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PkgConfig: C:/msys64/mingw64/bin/pkg-config.exe (found version "1.8.0")
-- Target arch: x86
-- Found OpenGL: opengl32
-- Found Vulkan: C:/VulkanSDK/1.3.216.0/Lib/vulkan-1.lib (found version "1.3.216")
-- Checking for one of the modules 'zlib'
zlib found
-- Checking for one of the modules 'glew'
-- Checking for one of the modules 'glfw3'
-- Checking for one of the modules 'freetype2'
freetype found
-- Checking for one of the modules 'sdl2'
sdl2 found
-- [ImGui with OpenGL support]
-- [ImGui with GLEW support]
-- [ImGui with SDL2 support]
-- [ImGui backend rendering with Vulkan]
-- [ImGui backend platform with SDL2]
-- [ImGui backend platform with GLFW]
-- [ImGui backend platform with Win32]
-- [ImGui Internal UTF-8 Font] WeiHei
-- [ImGui Internal Latin Font] MonoNarrow
-- Target arch: x86
-- Found OpenMP_C: -openmp (found version "2.0")
-- Found OpenMP_CXX: -openmp (found version "2.0")
-- Found OpenMP: TRUE (found version "2.0")
-- VkShader(Windows) Use OpenMP
-- Could NOT find Glslang (missing: Glslang_LIBRARY Glslang_SPIRV_LIBRARY Glslang_INCLUDE_DIR)
-- Could NOT find SpirvTools (missing: SpirvTools_LIBRARY SpirvTools_INCLUDE_DIR)
-- VkShader Found system glslang library
-- VkShader Found system SPRIV-Tools library
-- [ImGui application platform with SDL2]
-- [ImGui application rendering with Vulkan]
-- Configuring done
CMake Error in CMakeLists.txt:
Target "VkShader" contains relative path in its
INTERFACE_INCLUDE_DIRECTORIES:
"Glslang_INCLUDE_DIR-NOTFOUND"
CMake Error in CMakeLists.txt:
Target "VkShader" contains relative path in its
INTERFACE_INCLUDE_DIRECTORIES:
"Glslang_INCLUDE_DIR-NOTFOUND"
CMake Error in CMakeLists.txt:
Target "VkShader" contains relative path in its
INTERFACE_INCLUDE_DIRECTORIES:
"Glslang_INCLUDE_DIR-NOTFOUND"
CMake Error in CMakeLists.txt:
Target "VkShader" contains relative path in its
INTERFACE_INCLUDE_DIRECTORIES:
"Glslang_INCLUDE_DIR-NOTFOUND"
CMake Error in CMakeLists.txt:
Target "VkShader" contains relative path in its
INTERFACE_INCLUDE_DIRECTORIES:
"Glslang_INCLUDE_DIR-NOTFOUND"
CMake Error in CMakeLists.txt:
Target "VkShader" contains relative path in its
INTERFACE_INCLUDE_DIRECTORIES:
"Glslang_INCLUDE_DIR-NOTFOUND"
CMake Error in CMakeLists.txt:
Target "VkShader" contains relative path in its
INTERFACE_INCLUDE_DIRECTORIES:
"Glslang_INCLUDE_DIR-NOTFOUND"
CMake Error in CMakeLists.txt:
Target "VkShader" contains relative path in its
INTERFACE_INCLUDE_DIRECTORIES:
"Glslang_INCLUDE_DIR-NOTFOUND"
CMake Error in addon/ImVulkanShader/CMakeLists.txt:
IMPORTED_LOCATION not set for imported target "Glslang::Glslang"
configuration "Debug".
CMake Error in addon/ImVulkanShader/CMakeLists.txt:
IMPORTED_LOCATION not set for imported target "Glslang::Glslang"
configuration "Release".
CMake Error in addon/ImVulkanShader/CMakeLists.txt:
IMPORTED_LOCATION not set for imported target "Glslang::Glslang"
configuration "MinSizeRel".
CMake Error in addon/ImVulkanShader/CMakeLists.txt:
IMPORTED_LOCATION not set for imported target "Glslang::Glslang"
configuration "RelWithDebInfo".
CMake Error in CMakeLists.txt:
Target "VkShader" contains relative path in its
INTERFACE_INCLUDE_DIRECTORIES:
"Glslang_INCLUDE_DIR-NOTFOUND"
CMake Error in CMakeLists.txt:
Target "VkShader" contains relative path in its
INTERFACE_INCLUDE_DIRECTORIES:
"Glslang_INCLUDE_DIR-NOTFOUND"
CMake Error in CMakeLists.txt:
Target "VkShader" contains relative path in its
INTERFACE_INCLUDE_DIRECTORIES:
"Glslang_INCLUDE_DIR-NOTFOUND"
CMake Error in CMakeLists.txt:
Target "VkShader" contains relative path in its
INTERFACE_INCLUDE_DIRECTORIES:
"Glslang_INCLUDE_DIR-NOTFOUND"
CMake Error in addon/ImVulkanShader/CMakeLists.txt:
Imported target "Glslang::Glslang" includes non-existent path
"Glslang_INCLUDE_DIR-NOTFOUND"
in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:
* The path was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and references files it does not
provide.
CMake Error in addon/ImVulkanShader/CMakeLists.txt:
Imported target "Glslang::Glslang" includes non-existent path
"Glslang_INCLUDE_DIR-NOTFOUND"
in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:
* The path was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and references files it does not
provide.
CMake Error in addon/ImVulkanShader/CMakeLists.txt:
Imported target "Glslang::Glslang" includes non-existent path
"Glslang_INCLUDE_DIR-NOTFOUND"
in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:
* The path was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and references files it does not
provide.
CMake Error in addon/ImVulkanShader/CMakeLists.txt:
Imported target "Glslang::Glslang" includes non-existent path
"Glslang_INCLUDE_DIR-NOTFOUND"
in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:
* The path was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and references files it does not
provide.
CMake Error in addon/ImVulkanShader/CMakeLists.txt:
Imported target "Glslang::Glslang" includes non-existent path
"Glslang_INCLUDE_DIR-NOTFOUND"
in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:
* The path was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and references files it does not
provide.
CMake Error in addon/ImVulkanShader/CMakeLists.txt:
Imported target "Glslang::Glslang" includes non-existent path
"Glslang_INCLUDE_DIR-NOTFOUND"
in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:
* The path was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and references files it does not
provide.
CMake Error in addon/ImVulkanShader/CMakeLists.txt:
Imported target "Glslang::Glslang" includes non-existent path
"Glslang_INCLUDE_DIR-NOTFOUND"
in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:
* The path was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and references files it does not
provide.
CMake Error in addon/ImVulkanShader/CMakeLists.txt:
Imported target "Glslang::Glslang" includes non-existent path
"Glslang_INCLUDE_DIR-NOTFOUND"
in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:
* The path was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and references files it does not
provide.
CMake Error in addon/ImVulkanShader/CMakeLists.txt:
IMPORTED_LOCATION not set for imported target "Glslang::Glslang"
configuration "Debug".
CMake Error in addon/ImVulkanShader/CMakeLists.txt:
IMPORTED_LOCATION not set for imported target "Glslang::Glslang"
configuration "Release".
CMake Error in addon/ImVulkanShader/CMakeLists.txt:
IMPORTED_LOCATION not set for imported target "Glslang::Glslang"
configuration "MinSizeRel".
CMake Error in addon/ImVulkanShader/CMakeLists.txt:
IMPORTED_LOCATION not set for imported target "Glslang::Glslang"
configuration "RelWithDebInfo".
CMake Error in addon/ImVulkanShader/CMakeLists.txt:
Imported target "Glslang::Glslang" includes non-existent path
"Glslang_INCLUDE_DIR-NOTFOUND"
in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:
* The path was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and references files it does not
provide.
CMake Error in addon/ImVulkanShader/CMakeLists.txt:
Imported target "Glslang::Glslang" includes non-existent path
"Glslang_INCLUDE_DIR-NOTFOUND"
in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:
* The path was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and references files it does not
provide.
CMake Error in addon/ImVulkanShader/CMakeLists.txt:
Imported target "Glslang::Glslang" includes non-existent path
"Glslang_INCLUDE_DIR-NOTFOUND"
in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:
* The path was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and references files it does not
provide.
CMake Error in addon/ImVulkanShader/CMakeLists.txt:
Imported target "Glslang::Glslang" includes non-existent path
"Glslang_INCLUDE_DIR-NOTFOUND"
in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:
* The path was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and references files it does not
provide.
-- Generating done
CMake Generate step failed. Build files cannot be regenerated correctly.
Hi tanluteam,
short:
Which platform / IDE do you use / recommend for this project?
long:
up to now I used "Dear imgui" wiht OpenGL on MS Visual Studio 2017.
Adding the addon "implot" was quite easy and I love to use it.
Now I wanted to add "imgui-node-editor" and I was not sure what is the best approach to melt it into "imgui".
(Because it is base on Vanilla ImGui 1.72+)
Recently I found your branch, which looks awesome. (Because you have many interesting extensions already included)
Problem: The Visual Studio Project created with Cmake has many dependancy errors.
So I wanted to ask you which platform / IDE do you use / recommend for this project?
您好:
我尝试编译你的代码demo,但不能通过编译(官方的imgui demo可以通过编译,但无法显示中文) ,似乎是因为参数 const char8_t[] 类型无法 转换成 const char* 类型. 不知你怎么解决这个问题?我使用的是vs 2022编译器.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.