Wine --version: 1.7.34
OS: Ubuntu 14.04 LTS
winecfg executes with no errors or warnings
Previously I had wine 1.6.2 on the system, doing an upgrade to the latest beta build to test if a problem still persisted in the beta build. I've ran winemaker -> make -> run program with no issues on 1.6.2.
I have attempted to install wine both from using the terminal and using the ubuntu software manager.
http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu trusty main
and http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu trusty main (Source Code) are both listed under Ubuntu Software Centre -> software sources -> Other Software. The main is checked while the Source Code is not.
Microsoft Windows Compatibility Layer (Binary Emulator and Library) wine1.7 shows as installed with all optional add-ons when linked from apt://wine1.7
Wine installs with no errors, no i386 prompts, no gnome-keyring-pkcs11 prompts or any of the other common issues I've seen.
.wine folder exists, default 64 bit.
When running the exact same order of commands in a folder that used to work with Wine 1.6.2, this error occurs:
fatal error: windows.h: No such file or directory
#include <windows.h>
^
compilatoin terminated.
winegcc: gcc failed
I'm very confused as to what could be causing this problem as this computer ran 1.6.2 fine. I've tried purging, removing the root folder .wine, removing the ppa repository, reinstalling, to no avail.
windows.h: No such file or directory?
- olivierfrdierick
- Level 5
- Posts: 258
- Joined: Thu Sep 13, 2012 12:09 pm
Re: windows.h: No such file or directory?
Please, tell us what you're trying to achieve, so that we can tell you if there are any other way to do it than using Winelib.
Link: WineHQ Forums - View topic - Winelib and windows.h
Link: WineHQ Forums - View topic - Winelib and windows.h
Re: windows.h: No such file or directory?
Solved my own problem building the packages from source usingolivierfrdierick wrote:Please, tell us what you're trying to achieve, so that we can tell you if there are any other way to do it than using Winelib.
Link: WineHQ Forums - View topic - Winelib and windows.h
you can close this thread.apt-get --build source wine1.7
sudo dpkg -i wine*.deb
Thank you.