rokups / ImNodes

Node graph implementation for Dear ImGui. Used in https://github.com/rokups/rbfx
MIT License
656 stars 57 forks source link

Cmake report error on Windows platform #8

Closed ychding11 closed 4 years ago

ychding11 commented 4 years ago
CMake Error at C:/Program Files/CMake/share/cmake-3.11/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
  Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
Call Stack (most recent call first):
  C:/Program Files/CMake/share/cmake-3.11/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
  C:/Program Files/CMake/share/cmake-3.11/Modules/FindPkgConfig.cmake:39 (find_package_handle_standard_args)
  CMakeLists.txt:28 (find_package)
rokups commented 4 years ago

Build on Windows is not supported yet. It's only for a sample though, if you included ImNodes source files into your project no reason it won't work.

On August 1, 2019 05:41:00 Yaochuang notifications@github.com wrote:

CMake Error at C:/Program Files/CMake/share/cmake-3.11/Modules/FindPackageHandleStandardArgs.cmake:137 (message): Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) Call Stack (most recent call first): C:/Program Files/CMake/share/cmake-3.11/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE) C:/Program Files/CMake/share/cmake-3.11/Modules/FindPkgConfig.cmake:39 (find_package_handle_standard_args) CMakeLists.txt:28 (find_package)

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

ychding11 commented 4 years ago

Thanks for reply. Have you test in on windows with D3D ? I found your sample is with OpenGL. Thanks!

rokups commented 4 years ago

I did not test it with D3D, but like i said there is no reason why it would not work. ImGui works with D3D and so will ImNodes :]

ychding11 commented 4 years ago

I just test it. it works on Windows 10 D3D11. great job.