Closed elect86 closed 6 years ago
I think it's because of spaces in the project path, i reproduced it, but not resolving it yet.
FIxed in 0616a65bb58ff4b129c495e2d1dff3d376b781a9, say me if it's ok for you.
And the build script is only for generate the Visual Studio solution. After you need to open it from the folder .project
Ok, I successfully run build 2017.bat
Opened the solution, changed the sdk, 32 or 64 bits doesn't mind, I always get the following:
1>------ Build started: Project: ImWindow, Configuration: Debug Win32 ------
1>ImwContainer.cpp
1>ImwMenu.cpp
1>ImwPlatformWindow.cpp
1>ImwStatusBar.cpp
1>c:\users\elect\documents\visual studio 2017\projects\imwindow\imwindow\imwconfig.h(50): fatal error C1083: Cannot open include file: 'imgui.h': No such file or directory (compiling source file ..\..\ImWindow\ImwPlatformWindow.cpp)
1>c:\users\elect\documents\visual studio 2017\projects\imwindow\imwindow\imwconfig.h(50): fatal error C1083: Cannot open include file: 'imgui.h': No such file or directory (compiling source file ..\..\ImWindow\ImwContainer.cpp)
1>c:\users\elect\documents\visual studio 2017\projects\imwindow\imwindow\imwconfig.h(50): fatal error C1083: Cannot open include file: 'imgui.h': No such file or directory (compiling source file ..\..\ImWindow\ImwStatusBar.cpp)
1>c:\users\elect\documents\visual studio 2017\projects\imwindow\imwindow\imwconfig.h(50): fatal error C1083: Cannot open include file: 'imgui.h': No such file or directory (compiling source file ..\..\ImWindow\ImwMenu.cpp)
1>ImwToolBar.cpp
1>ImwWindow.cpp
1>ImwWindowManager.cpp
1>JsonValue.cpp
1>c:\users\elect\documents\visual studio 2017\projects\imwindow\imwindow\imwconfig.h(50): fatal error C1083: Cannot open include file: 'imgui.h': No such file or directory (compiling source file ..\..\ImWindow\JsonValue.cpp)
1>c:\users\elect\documents\visual studio 2017\projects\imwindow\imwindow\imwconfig.h(50): fatal error C1083: Cannot open include file: 'imgui.h': No such file or directory (compiling source file ..\..\ImWindow\ImwWindow.cpp)
1>c:\users\elect\documents\visual studio 2017\projects\imwindow\imwindow\imwconfig.h(50): fatal error C1083: Cannot open include file: 'imgui.h': No such file or directory (compiling source file ..\..\ImWindow\ImwToolBar.cpp)
1>c:\users\elect\documents\visual studio 2017\projects\imwindow\imwindow\imwconfig.h(50): fatal error C1083: Cannot open include file: 'imgui.h': No such file or directory (compiling source file ..\..\ImWindow\ImwWindowManager.cpp)
1>Done building project "ImWindow.vcxproj" -- FAILED.
2>------ Build started: Project: ImWindowDX11, Configuration: Debug Win32 ------
2>ImwPlatformWindowDX11.cpp
2>ImwWindowManagerDX11.cpp
2>main.cpp
2>NodeWindow.cpp
2>c:\users\elect\documents\visual studio 2017\projects\imwindow\imwindow\imwconfig.h(50): fatal error C1083: Cannot open include file: 'imgui.h': No such file or directory (compiling source file ..\..\ImWindowDX11\main.cpp)
2>c:\users\elect\documents\visual studio 2017\projects\imwindow\imwindow\imwconfig.h(50): fatal error C1083: Cannot open include file: 'imgui.h': No such file or directory (compiling source file ..\..\ImWindowDX11\ImwWindowManagerDX11.cpp)
2>c:\users\elect\documents\visual studio 2017\projects\imwindow\imwindow\imwconfig.h(50): fatal error C1083: Cannot open include file: 'imgui.h': No such file or directory (compiling source file ..\..\ImWindowDX11\ImwPlatformWindowDX11.cpp)
2>c:\users\elect\documents\visual studio 2017\projects\imwindow\imwindow\imwconfig.h(50): fatal error C1083: Cannot open include file: 'imgui.h': No such file or directory (compiling source file ..\..\ImWindowDX11\NodeWindow.cpp)
2>Win32MessageHelper.cpp
2>Done building project "ImWindowDX11.vcxproj" -- FAILED.
========== Build: 0 succeeded, 2 failed, 0 up-to-date, 0 skipped ==========
You probably don't initialize imgui submodule.
and how am I suppose to do that?
Search on Google how to initialize submodule of git repository.
thanks, fixed, I created a pull request for adding a little howto in the readme :)
Hi,
I'm not experienced with C/C++ environments.. however whenever I tried to execute a build script, I get always the following:
Any idea?