Hello, I'm currently trying to install gallium nine, and it's first release.sh is not runnable by meson due to Wine lacking windows.h or as described "missing wine headers"
Build started at 2019-12-05T22:31:54.928436
Main binary: /usr/bin/python3
Python system: Linux
The Meson build system
Version: 0.51.2
Source dir: /home/bucket/wine-nine-standalone-master
Build dir: /tmp/tmp.OyLW9Nui3a/build64
Build type: cross build
Program tools/get_version.sh found: YES (/home/bucket/wine-nine-standalone-master/tools/get_version.sh)
Running command: /home/bucket/wine-nine-standalone-master/tools/get_version.sh
--- stdout ---
0.6.0.0-devel
--- stderr ---
Project name: Gallium Nine Standalone
Project version: 0.6.0.0-devel
No CFLAGS in the environment, not changing global flags.
No LDFLAGS in the environment, not changing global flags.
No CPPFLAGS in the environment, not changing global flags.
Sanity testing C compiler: cc
Is cross compiler: False.
Sanity check compiler command line: cc -pipe -D_FILE_OFFSET_BITS=64 /tmp/tmp.OyLW9Nui3a/build64/meson-private/sanitycheckc.c -o /tmp/tmp.OyLW9Nui3a/build64/meson-private/sanitycheckc.exe
Sanity check compile stdout:
-----
Sanity check compile stderr:
-----
Running test binary command: /tmp/tmp.OyLW9Nui3a/build64/meson-private/sanitycheckc.exe
C compiler for the build machine: cc (gcc 9.2.1 "cc (Ubuntu 9.2.1-9ubuntu2) 9.2.1 20191008")
Sanity testing C compiler: winegcc
Is cross compiler: True.
Sanity check compiler command line: winegcc -m64 -pipe -D_FILE_OFFSET_BITS=64 -c /tmp/tmp.OyLW9Nui3a/build64/meson-private/sanitycheckc.c -o /tmp/tmp.OyLW9Nui3a/build64/meson-private/sanitycheckc_cross.exe
Sanity check compile stdout:
-----
Sanity check compile stderr:
-----
C compiler for the host machine: winegcc (gcc 9.2.1 "gcc (Ubuntu 9.2.1-9ubuntu2) 9.2.1 20191008")
Build machine cpu family: x86_64
Build machine cpu: x86_64
Program winegcc found: YES (/usr/bin/winegcc)
Running compile:
Working directory: /tmp/tmpq51y18ai
Command line: winegcc /tmp/tmpq51y18ai/testfile.c -o /tmp/tmpq51y18ai/output.obj -pipe -c -m64 -D_FILE_OFFSET_BITS=64 -O0
Code:
#ifndef __WINE__
#error 1
#endif
Compiler stdout:
Compiler stderr:
Checking if "winelib check" compiles: YES
Running compile:
Working directory: /tmp/tmp774egra8
Command line: winegcc /tmp/tmp774egra8/testfile.c -o /tmp/tmp774egra8/output.exe -pipe -m64 -mwindows -D_FILE_OFFSET_BITS=64 -O0 -Wl,--start-group -lwine -Wl,--end-group -Wl,--allow-shlib-undefined
Code:
int main() { return 0; }
Compiler stdout:
Compiler stderr:
Library wine found: YES
Running compile:
Working directory: /tmp/tmpxb5jov7h
Command line: winegcc /tmp/tmpxb5jov7h/testfile.c -o /tmp/tmpxb5jov7h/output.obj -pipe -c -m64 -D_FILE_OFFSET_BITS=64 -O0
Code:
#include <windows.h>
int main () {
/* If it's not defined as a macro, try to use as a symbol */
#ifndef wine_get_unix_file_name
wine_get_unix_file_name;
#endif
return 0;
}
Compiler stdout:
Compiler stderr:
/tmp/tmpxb5jov7h/testfile.c:2:18: fatal error: windows.h: No such file or directory
2 | #include <windows.h>
| ^~~~~~~~~~~
compilation terminated.
winegcc: gcc failed
Header <windows.h> has symbol "wine_get_unix_file_name" : NO
meson.build:45:2: ERROR: Problem encountered: WINE headers not found
If anyone could explain this error that would be greatly appreciated.
windows.h didn't come with wine-staging 4.21 (Ubuntu 19.10)
Re: windows.h didn't come with wine-staging 4.21 (Ubuntu 19.10)
You didn't mention where you got Wine from, but if you're using the WineHQ packages, the headers are in the wine-staging-dev package, which is not installed by default.
Beyond that, gallium nine is not supported here; if you need further help, ask on their support channels.
Beyond that, gallium nine is not supported here; if you need further help, ask on their support channels.
Re: windows.h didn't come with wine-staging 4.21 (Ubuntu 19.10)
Just to clear-up things up. So only header.. There is no prebuild Wine package in WineHQ PPA that include the gallium nine patch? Is that correct?
Re: windows.h didn't come with wine-staging 4.21 (Ubuntu 19.10)
That is correct. The WineHQ packages do not include outside patches.
Re: windows.h didn't come with wine-staging 4.21 (Ubuntu 19.10)
@danger89
It's far easier to install Gallium Nine using the wine-nine-standalone project.
winetricks (up-to-date!!) has verbs for this projects pre-built binaries, e.g.:
Bob
It's far easier to install Gallium Nine using the wine-nine-standalone project.
winetricks (up-to-date!!) has verbs for this projects pre-built binaries, e.g.:
Code: Select all
winetricks galliumnine05