Coder Social home page Coder Social logo

opencodewin / imgui Goto Github PK

View Code? Open in Web Editor NEW
161.0 7.0 26.0 231.47 MB

Fork from imgui(docking/viewport) with vulkan image rendering support. many widgets and addons.

License: MIT License

CMake 0.26% C++ 93.57% C 5.94% Shell 0.01% Objective-C 0.01% Objective-C++ 0.20% GLSL 0.01% GDB 0.01% HTML 0.01%
imgui vulkan opengl widget glslang gui kalman application chinese fonts

imgui's People

Contributors

codewinadmin avatar dickyqi avatar jjyy-debear avatar sizeofbeer avatar wyvernzhao avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

imgui's Issues

Errors building on Windows...

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.

Which IDE / Platform did you use

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.