Questions tagged [wine]

Wine is a software emulator used to run Windows software on UNIX-like operating systems. Use this tag for questions about developing software that interoperates with Wine, or developing Wine itself. Questions about *using* Wine belong elsewhere, possibly on Super User.

Wine lets you run Windows software on other operating systems. With Wine, you can install and run these applications just like you would in Windows.

Questions about using Wine to run Windows software are not appropriate for Stack Overflow. They should be posted on Super User, or possibly on a site specific to your operating system (e.g, AskUbuntu for Ubuntu users).

613 questions
2
votes
0 answers

Using Inno Setup Compiler Command + SH + PHP, compile manually, but not compiles via PHP

I have this script that works correctly (if run via terminal manually) #!/bin/sh unset DISPLAY scriptname=$1 [ -f "$scriptname" ] && scriptname=$(winepath -w "$scriptname") wine "C:\Program Files (x86)\Inno Setup 5\ISCC.exe" "$scriptname"…
D3F4ULT
  • 926
  • 1
  • 12
  • 20
2
votes
4 answers

WINE error when running windows application

A user reports that one of our applications doesn't work under WINE. It runs until he proceeds past a certain form, and then freezes. WINE gives the following output: ~/.wine/drive_c/HeroLab$ wine HeroLab.exe fixme:wininet:InternetSetOptionW Option…
Colen
  • 13,428
  • 21
  • 78
  • 107
2
votes
0 answers

Sending keystrokes or text to a program running with wine

I'm starting a windows-program with wine in a shell script. Now I would like to pass keystrokes and texts to it. I've tried xvkbd as mentioned in this question, but the program just outputs the letter/text into the terminal and exits after that.…
Stuffy
  • 302
  • 3
  • 15
2
votes
0 answers

mxe cross compiling for windows ... where are stdout messages?

I'm cross compiling a basic C++ Windows XP console application from my Debian host system using MXE (i686-pc-mingw32-g++). When running it on my Debian system (thanks to Wine), I can see the stdout output on the console. But if I run the same…
ramone
  • 266
  • 1
  • 2
  • 10
2
votes
2 answers

Using P/Invokes in Mono through Wine

Is it possible to use native Win API functions in Mono through Wine? Are there some additional libraries for interactions between Mono and Wine?
macropas
  • 3,100
  • 3
  • 22
  • 25
2
votes
1 answer

Python to Windows Executable under Wine

Has anyone successfully created a Windows executable file using py2exe, cx_Freeze or Pyinstaller under Wine from a Linux machine? My goal is to be able to just push the code to a gitolite repository Ubuntu server then a git-hook will build the exe…
Tristian
  • 3,406
  • 6
  • 29
  • 47
2
votes
1 answer

Giving R under Linux access to a DLL

I have an R script which was developed in Windows, and which requires a particular DLL to be in the path because it uses some functions contained therein (via the dyn.load function). Is it possible to make the script work under Linux? Perhaps using…
mitchus
  • 4,677
  • 3
  • 35
  • 70
1
vote
1 answer

Why does exec'ing a wine program produce ansi escape sequences in stdout?

I've built a win32 executable with MinGW. Running it from the console correctly invokes Wine, and outputs normal text. However, if I load that executable programmatically with "exec" functions, every character output by the child-process is prefaced…
user41010
  • 91
  • 8
1
vote
0 answers

strange behaviour with wine emulator, multithreading and C stdio

I've the following code: #include #include #include int main() { /* DWORD WINAPI */void input(/* LPVOID */void* lpParam) { Sleep(1000); printf("hello mingw!\n"); // return 0; } …
francesc
  • 343
  • 3
  • 12
1
vote
0 answers

Run an exe file on a Mac with Wineskin (VseeFace Application)

I really hope that someone could help me out with my problem. I want to start an exe File (VSeeFace - see https://www.vseeface.icu for more information) on my Mac with wineskin. VseeFace is an application for Vtubing. The application starts normally…
Lightning
  • 11
  • 1
1
vote
0 answers

How can i install python exe using wine in docker without opening the installation window

I'm writing a dockerfile that executes python-3.8.0.exe using wine on ubuntu 18.04. After installing everything that's needed to run wine I run RUN set -x \ && winetricks win10 && wget -nv…
user19050918
1
vote
2 answers

How to resolve the gstreamer dependencies in arch linux

Today I tried to install wine to be able to install roblox for my child, the problem is that after I unchecked multilib from /etc/pacman.conf , I keep getting the following error: failed to prepare transaction (could not satisfy dependencies) ::…
1
vote
2 answers

Sending a keypress to an application

Is there an easy way to make an application think the user has pressed a key? Here's why I am trying to do this: I am trying to track down a regression in a Wine application. The bug only seems to show itself when the user presses a specific key…
Jack Edmonds
  • 31,931
  • 18
  • 65
  • 77
1
vote
0 answers

PyInstaller fails on wine

I am trying to cross compile python-programs to windows executables. I am running debian 11 on a VM, because all threads regarding this topic used a debian/ubuntu based system. After a lot of trial and error, I got python and pip to work on wine and…
ductTapeIsMagic
  • 113
  • 1
  • 8
1
vote
1 answer

Why does Wine 7.10+ hang when C++ program links statically with sqlite3?

Consider a C++ program: #include int main(int argc, char**argv) { return 0; } void not_called() { sqlite3_initialize(); } Compile, link, and run it: $ x86_64-w64-mingw32-g++ -c -g -o augh.o augh.cpp $ x86_64-w64-mingw32-g++…
uckelman
  • 25,298
  • 8
  • 64
  • 82