问题标签 [wine]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
6 回答
4413 浏览

c++ - winelib 的优势?

使用 winelib 为 Linux 用户编译我的 Windows 应用程序有什么好处吗?为什么不直接给他们 .exe 并让他们用 Wine 运行它呢?看起来就像额外的工作没有收获。

0 投票
3 回答
2121 浏览

delphi - 在 Wine 上调试 Delphi 应用程序

我有一个 Delphi Windows 应用程序在 Wine 下死得很惨——甚至没有创建主窗体。由于各种原因,移植到 Free Pascal 不是一种选择。

我可以在 Wine 下使用 Delphi 的原生方式进行调试吗?如果没有,我可以在 Wine 下使用 gdb 进行调试吗?如果可以,如何将 Delphi 格式的调试信息(可能是 Turbo 调试器)提供给 gdb?

最后,如何从程序中检测 Wine?Wine 常见问题解答说我不应该,但我不认为修复我的应用程序在 Wine 人的优先级列表中居高不下,所以我宁愿自己动手。

我没有编写应用程序,但我有源代码和 Delphi 的副本。

0 投票
1 回答
1443 浏览

gcc - Using DirectX headers from Wine to compile under MingW

I have been attempting to build HLSL shader support into VLC player. I have hit a brick wall due to lack of utility methods in d3d9.h in MingW to load a .fx file and compile the shader. So under advise from VLC developers I borrowed the DX9 headers from Wine.

Now with the d3dx9.h include enabled I have lots of compiler errors in the form:

Description Resource Path Location Type /mingw/lib/gcc/mingw32/3.4.5/../../../../include/d3dx9core.h declaration for parameter "D3DXCheckVersion" but no such parameter ShadedDXPlugin line 475 C/C++ Problem

Can any body familiar with MingW, GCC, DirectX and Wine shed some light on getting HLSL shaders working via GCC ?

0 投票
3 回答
2003 浏览

windows - 创建一个葡萄酒静态可执行文件?

我有一些经常使用的二进制形式的 Windows 命令行应用程序(我没有源代码)。有时我需要在 Linux 机器上运行它们,它在 wine 下完美运行(wine 不是模拟器)。我现在面临的问题是我需要在一个没有安装 wine 的集群上工作。我想知道是否可以在另一个类似的 linux 机器上创建一个静态可执行文件,所以我可以在集群上运行这个 windows 程序

谢谢

0 投票
3 回答
4158 浏览

.net - P/Invoke 和 Mono:EntryPointNotFoundException

我正在尝试访问 Kubuntu Linux 上某些 user32 函数的 Wine 实现。我安装了 Wine 1.1.31 软件包。当尝试在 MonoDevelop 中运行这个简单的测试程序时,我得到一个System.EntryPointNotFoundException.

这是输出:

未处理的异常:System.EntryPointNotFoundException:GetKeyState at (wrapper managed-to-native) PinvokeTesting.MainClass:GetKeyState (int) at PinvokeTesting.MainClass.Main (System.String[] args) [0x00000] in .../Main.cs :11

该功能应该在那里,但它没有找到它。有任何想法吗?我做了很多搜索,没有找到任何有用的东西。关于这些问题的文档似乎相当稀疏​​(或者我正在寻找错误的东西)。

编辑:我没有尝试将 P/Invoke 与 Winforms 结合使用,Wine 中还有一些其他功能需要 P/Invoke 来使用。我只是想让 Mono P/Invoke to Wine 工作。

0 投票
1 回答
449 浏览

perl - 如何通过后台运行的 Perl 脚本触发的 apache 用户在 Linux 中启动 XServer?

我正在尝试使用 apache 托管的 Perl 脚本通过 WINE 启动 MS Office

并由其他应用程序触发。我收到以下错误消息

日志文件“应用程序试图创建一个窗口但无法加载驱动程序。确保您的 X 服务器正在运行并且 $DISPLAY 设置正确”

如果我使用 root 用户直接在 shell 提示符下运行脚本,则 WINE 启动

XServer 正确并执行 MS MSoffice 如果我在 shell 提示符上设置 xhost +local:apache 那么它也可以正常工作。

如何从 apache 用户启动 XServer?

0 投票
2 回答
795 浏览

wine - 我怎样才能让葡萄酒更安全(或白痴证明)

我想知道是否有可能“确保”葡萄酒;就像用户无法删除“explorer.exe”或弄乱 dll 一样。

我听说过 apparmor(我正在运行 ubuntu)和 chroot。

最好的方法是什么?

0 投票
1 回答
5578 浏览

c++ - 有什么方法可以将我的程序与 Wine 编译的部分链接起来吗?

我正在尝试在 Linux 中使用 windows dll 功能。我目前的解决方案是编译一个单独的 wine 应用程序,它使用 dll 并通过 IPC 在 dll 和主应用程序之间传输请求/响应。

这可行,但与简单的 dll 调用相比,这是一个真正的开销。

我看到 wine 编译的程序通常是一个引导脚本和一些 .so,它(根据文件实用程序)是普通的 linux 动态链接库。

有什么方法可以将 .so 直接链接到我的应用程序?有说明书吗?

0 投票
1 回答
1057 浏览

wine - Linux下通过SSH安装avisynth

我有一台 Linux 服务器(Ubuntu 操作系统),我可以通过 SSH 访问它并希望在其上安装 avisynth。我知道可以在 Wine 的帮助下安装 Windows 应用程序,但问题是我如何设法通过 SSH 安装应用程序(avisynth),也就是说,没有图形界面?Wine 可以以某种方式配置来管理这种情况吗?我应该怎么做才能通过 SSH 安装 avisynth?(我对其他应用程序不感兴趣。)

0 投票
4 回答
21155 浏览

.net - 我可以以某种方式在 Linux 上运行原始的 MS.Net Framework 4(也许使用 Wine)吗?

我曾经听说有人设法在 Linux 上安装了原始的 Microsoft .Net Framework,并使用前沿的 MS C# 功能成功地运行了与 Mono 不兼容的 .Net 应用程序。知道他怎么能做到吗?