pers0na2dev / imgui-editor

No-code UI creating software for ImGui. Create an interface for your application with the convenience of Figma and the functionality of Photoshop.
MIT License
182 stars 26 forks source link

Can not compile editor project... #1

Closed moebiussurfing closed 1 year ago

moebiussurfing commented 1 year ago

Describe the bug Getting errors on compile in VS.

To Reproduce Steps to reproduce the behavior:

  1. F5

Screenshots image

Desktop (please complete the following information):

moebiussurfing commented 1 year ago

PS: i downloaded the release app. but now can't open it again. it crashes. where are the temp files or so to delete them and fix it?

pers0na2dev commented 1 year ago

https://www.microsoft.com/en-us/download/details.aspx?id=6812

moebiussurfing commented 1 year ago

fixed deleting c:/imgui.tech there were a no named .json file that made crash the app

pers0na2dev commented 1 year ago

fixed deleting c:/imgui.tech there were a no named .json file that made crash the app

Thanks for the information, I'll take a look and try to fix it soon.

moebiussurfing commented 1 year ago

https://www.microsoft.com/en-us/download/details.aspx?id=6812

ok. Sorry, I forget that DX step.

To fix some errors, I had to add #include <string> into imgui-editor\dependencies\modals\modals.hpp

But now I don't know how to fix that:

Error C1083 Cannot open include file: '../../dependencies/imgui/imgui.h': No such file or directory (compiling source file src\workspace\widgets\checkboxSettings.cpp) imgui-editor D:_CODE_C\imgui-editor\imgui-editor\src\workspace\widgets\checkboxSettings.hpp

imgui.h is there and relative path looks its well..

pers0na2dev commented 1 year ago

I just re-cloned the project, it compiled without any problems.

Thanks, fixed it.

#include <string> into imgui-editor\dependencies\modals\modals.hpp

moebiussurfing commented 1 year ago

ok. thanks. now it compiles. but required two modifications:

image image