Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't build mygui as Debug (Win10, Visual Studio 2019/2022) #63

Open
ohlidalp opened this issue Nov 20, 2022 · 2 comments
Open

Can't build mygui as Debug (Win10, Visual Studio 2019/2022) #63

ohlidalp opened this issue Nov 20, 2022 · 2 comments
Assignees

Comments

@ohlidalp
Copy link
Member

ohlidalp commented Nov 20, 2022

My steps:

  1. clone Git repo (latest commit dc9fcf0)
  2. run cmake:
cmake^
 -S "%USERPROFILE%\source\ror-dependencies"^
 -B "%USERPROFILE%\builds\ror-dependencies"^
 -G "Visual Studio 17 2022"^
 -A "x64"
  1. open generated .sln and do TopMenubar >> Build >> Build Solution

Result: Release builds fine, Debug gets stuck on mygui.

10>Performing configure step for 'mygui'
      ...
10>-- Configuring done
10>CUSTOMBUILD : CMake error : The following variables are used in this project, but they are set to NOTFOUND.
10>Please set them or make sure they are set and tested correctly in the CMake files:
10>ZLIB_LIBRARY
10>    linked by target "MyGUIEngine" in directory C:/Users/Petr/builds/ror-dependencies/Source/mygui/MyGUIEngine
10>
10>-- Generating done

rordependencies-Debug.zip

UPDATE: Just tried on my work laptop (VS 2019), same story.

@ohlidalp ohlidalp changed the title Can't build mygui as Debug (Win10, Visual Studio 2022) Can't build mygui as Debug (Win10, Visual Studio 2019/2022) Nov 21, 2022
@AnotherFoxGuy AnotherFoxGuy self-assigned this Nov 21, 2022
@AnotherFoxGuy
Copy link
Member

As a temporary fix you can build the deps in Release first, then Debug

@ohlidalp
Copy link
Member Author

ohlidalp commented Nov 22, 2022

@AnotherFoxGuy Building first Release and then Debug works around the error above but MyGUI Debug libs (MyGUIEngine, MyGUI.OgrePlatform) aren't generated, only Release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants