问题标签 [msys]

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 投票
2 回答
7921 浏览

windows - 如何在 Windows 上使用 msys 编译 reaver-wps?

我正在尝试使用 MSYS 在 Windows 7 上编译 reaver-wps ( https://code.google.com/p/reaver-wps/ )。我知道只支持 linux 构建,但我只是想尝试一下。到目前为止我做了什么:安装和编译http://www.winpcap.org/devel.htm,编译 sqlite3

在 reaver-wps 的 src forlder 中运行 $ ./configure

跑了$ make

失败了:

有人设法在win上编译它吗?如果是,请告诉我如何。感谢您提供的任何提示/提示!

0 投票
1 回答
1680 浏览

git - Using msysGit with MinGW

I have strange behavior using these stuff in Windows.

At first I've installed MinGW with MSYS. I added all necessary parts into %PATH%, having where ssh output as in MSYS istall directory. All compilers and unix-commands as ssh, ssh-keygen work just fine.

Then I donwloaded git for Windows (without MSYS), installed it using second option (to run git from command line). where git works fine, targeting at git install dir. Empty repos can be created, files can be added, local branches can be made.

Then I configured git as it said in official tutorial, setting keys in my home directory through windows command line, so on so forth.

And now - the juice. I can connect via ssh to github using windows command line. I can connect to github via ssh to github using git bash. In both cases it greets me telling about successful login. I cannot perform any push via command line neither via git bash - it rejects my public key in both cases.

What am I doing wrong?

UPD. Somehow it all started working. I have no idea, what happened. I just pressed random buttons and input random commands (just kidding). I am trying to reproduce this problem on virgin system to understand what gone wrong. But, that a pity for me, I suppose that problem was in misspell on one of git-configuration steps. =\

0 投票
0 回答
157 浏览

msysgit - MSysGit 控制台和非拉丁文件名

我已经安装了 msysgit。但是当我运行 Git Bash 控制台时,我无法输入非拉丁字符,非拉丁文件名显示为问号。有没有办法让控制台理解非拉丁字符。

先感谢您。

0 投票
0 回答
1403 浏览

python - SCons,MSys,“不被识别为内部或外部命令”错误

我正在尝试使用 SCons 在 Windows 7 上设置用于编译的项目。在 MSys shell 中,我 cd 到相应的文件夹并运行:

...我得到以下输出:

目录中SConscript文件的开头是:

在我看来,最后一行是错误的根源。为什么我会收到错误,我该如何解决?

0 投票
1 回答
3335 浏览

mingw - MinGW system() 系统调用和 %PATH% 行为

我正在尝试用 MinGW 编译 ATLAS。我开始解决问题,但现在我遇到了一个简单的问题:ATLAS 的 Makefile 尝试使用 MinGW 提供的 uname.exe 来探测操作系统。

如果我运行 MinGW shell (sh.exe),我可以调用 uname。如果我打开 Windows 命令提示符,我可以调用 uname(因此 %PATH% 变量和 $PATH 变量设置正确)。

代码在内部调用类似 system("uname -s >\tempfilneame &2>1") 的东西。主要问题是(正如我分析 FileMon 的输出)应用程序(sh.exe)创建了一个 cmd.exe 进程,然后执行我的命令,但未找到 uname。如果我将 system("d:/.../bin/uname -s >\tempfilename &2>1") 添加到代码中,一切正常。所以应该是PATH变量的问题。如果没有必要,我不会修改代码中的每一个调用。问题是:cmd.exe进程启动有什么特别之处,所以它无法识别uname,我该如何解决这个问题。

0 投票
1 回答
961 浏览

regex - bash 完成不适用于 MSYS bash。正则表达式语法错误

我尝试为 MSYS bash 安装 bash-completion,但它似乎包含一些语法错误。它失败并显示以下消息

这是失败的代码

0 投票
1 回答
876 浏览

qt - NetBeans do not compile openGL project

I am programming in Netbeans, using MSYS, Qt, mingw and openGL and want to know how to solve linker problems.

myWindow.h

myWindow.cpp

main.cpp

NetBeans output:

Environment variable PATH = C:\mingw\bin;C:\Qt\4.8.0\bin;

0 投票
2 回答
858 浏览

android-ndk - Android NDK 和 Msys

有人可以告诉我如何使用 android NDK 和 Msys。在我开始之前是否需要完成任何设置?我应该从哪里开始?提前致谢

0 投票
1 回答
2127 浏览

qt - c++ 在带有 Qt 的 Windows 中使用 PortAudio

我已经设法使用 MSYS 在 Windows 上编译 PortAudio。此过程创建了 2 个文件:libportaudio-2.dll 和 libportaudio.dll.a

现在我想链接 QtCreator 中的库,但我不能,因为它需要一个 .lib 文件。

如果有人有在 Windows 下使用 MSYS 编译和使用库的经验,我们将不胜感激。

(注意:它们是使用 MindGW 编译器编译的。我不想用 Microsoft Visual Studio 编译它,从那时起我将不得不编译 QT)

0 投票
2 回答
9124 浏览

c++ - 从 MinGW .a 转换为 VC++ .lib

我有一个旧库(在 C++ 中),我只能在 Windows 上的 MinGW+MSYS32 上构建。从中我可以生成一个从 GNU libtool 生成的 .a 静态库文件。我的主要开发是在 Visual Studio 2008 中完成的。如果我尝试使用 MinGW 生成的库并将其链接到 Visual Studio,它会抱怨缺少外部。这很可能是由于已完成 C++ 符号修改,并且它与 .a 文件中的内容不匹配。有什么方法可以将静态 .a 文件转换为 VC++ 库格式吗?