Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 625362

Summary: dev-games/mygui-3.2.2 will not build with USE tools: #include <windows.h>
Product: Gentoo Linux Reporter: deference
Component: Current packagesAssignee: Gentoo Games <games>
Severity: normal CC: deference, jstein
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Package list:
Runtime testing required: ---
Attachments: build.log
emerge --info

Description deference 2017-07-17 03:18:38 UTC
This bug is seriously funny, my gui thinks Linux is windows!

[ 34%] Building CXX object Common/CMakeFiles/Common.dir/Base/OpenGL/BaseManager.cpp.o
cd /var/tmp/portage/dev-games/mygui-3.2.2/work/mygui-3.2.2_build/Common && /usr/bin/x86_64-pc-linux-gnu-g++  -DMYGUI_OPENGL_PLATFORM -DMYGUI_SAMPLES_INPUT_OIS -I/var/tmp/portage/dev-games/mygui-3.2.2/work/mygui-MyGUI3.2.2/MyGUIEngine/include -I/var/tmp/portage/dev-games/mygui-3.2.2/work/mygui-MyGUI3.2.2/Common/. -I/var/tmp/portage/dev-games/mygui-3.2.2/work/mygui-MyGUI3.2.2/Common -I/var/tmp/portage/dev-games/mygui-3.2.2/work/mygui-MyGUI3.2.2/Common/Base/OpenGL -I/var/tmp/portage/dev-games/mygui-3.2.2/work/mygui-MyGUI3.2.2/Platforms/OpenGL/OpenGLPlatform/include -I/usr/include/OIS -I/var/tmp/portage/dev-games/mygui-3.2.2/work/mygui-MyGUI3.2.2/Common/Input/OIS   -DNDEBUG -pipe -O2 -w   -fPIC -o CMakeFiles/Common.dir/Base/OpenGL/BaseManager.cpp.o -c /var/tmp/portage/dev-games/mygui-3.2.2/work/mygui-MyGUI3.2.2/Common/Base/OpenGL/BaseManager.cpp
/var/tmp/portage/dev-games/mygui-3.2.2/work/mygui-MyGUI3.2.2/Common/Base/OpenGL/BaseManager.cpp:9:21: fatal error: windows.h: No such file or directory
 #include <windows.h>
compilation terminated.

[ebuild   R   ] dev-games/mygui-3.2.2  USE="doc opengl plugins samples static-libs tools* -debug -ogre {-test}" LINGUAS="-ru"
Comment 1 deference 2017-07-17 03:18:58 UTC
Created attachment 485234 [details]
Comment 2 deference 2017-07-17 03:19:07 UTC
Created attachment 485236 [details]
emerge --info
Comment 3 Andreas Sturmlechner gentoo-dev 2018-10-13 15:18:06 UTC
The upstream commit fixing this bug is much too big to be backported, imo the only hope there is a snapshot, considering upstream has not made a release in ages...
Comment 4 Larry the Git Cow gentoo-dev 2022-03-02 05:04:14 UTC
The bug has been closed via the following commit(s):

commit 7d97869582c5d3310410c146f3cc5f793987438a
Author:     Sam James <>
AuthorDate: 2022-03-02 05:03:23 +0000
Commit:     Sam James <>
CommitDate: 2022-03-02 05:03:36 +0000

    dev-games/mygui: drop 3.2.2
    Signed-off-by: Sam James <>

 dev-games/mygui/Manifest                           |   1 -
 dev-games/mygui/files/mygui-3.2.2-FHS.patch        |  44 -------
 dev-games/mygui/files/mygui-3.2.2-build.patch      |  61 ---------
 dev-games/mygui/files/mygui-3.2.2-c++17.patch      |  27 ----
 .../mygui/files/mygui-3.2.2-underlinking.patch     |  20 ---
 dev-games/mygui/mygui-3.2.2.ebuild                 | 144 ---------------------
 6 files changed, 297 deletions(-)