cygwin

winsound not found in Python

梦想与她 提交于 2020-01-24 13:50:07
问题 I have this error. Can anyone advise? Python 2.7.10 (default, Jun 1 2015, 18:05:38) [GCC 4.9.2] on cygwin Type "help", "copyright", "credits" or "license" for more information. >>> import winsound Traceback (most recent call last): File "", line 1, in ImportError: No module named winsound >>> 回答1: I do not have enough points to comment hence writing in ANSWER section I've two python version on my windows laptop. 3.x and 2.7.x There will not be any issue as long as , a) You install two version

Cygwin's bash can't run 'net use /user' command?

狂风中的少年 提交于 2020-01-24 06:21:11
问题 I run 'net use /user:"Someone" \somewhere', and it works well with cmd.exe. With the same cmd.exe, run 'bash --login -i' to use the cygwin/bash, and run the same command but I get the error message as follows. System error 67 has occurred. The network name cannot be found. Why can't I run 'net use /user' command with cygwin/bash? 回答1: In cygwin's bash, you need to escape any of those forward back slashes, as those are interpreted as escape characters. try this net use /user:"Someone" \\\

How to install gcc-4.4 on cygwin?

狂风中的少年 提交于 2020-01-23 01:12:08
问题 I've installed cygwin environment on Windows. There is gcc 4.3. How to install gcc 4.4 in this environment? 回答1: The alternative is to build one yourself, but it will be extremely slow on cygwin. If you are a Linux user, you can build a native compiler (which runs in cmd.exe on windows, and produces native win32 binaries) on Linux. It is much faster (order of magnitude faster in my experience). Otherwise, mingw is a good solution, although in my experience, the binary from equation.com work

Is there a way to tell maven where to place the artifacts?

时间秒杀一切 提交于 2020-01-22 15:05:30
问题 I am running both maven inside the m2eclipse plugin, windows command line and my cygwin command line. cygwin's bash shell dumps artifacts into the cygwin /home/me/.m2 directory but m2eclipse & windows shell (on vista) uses /Users/me/Documents/.m2 Is it possible to tell the mvn command to use one central .m2 directory ? Thanks 回答1: For Cygwin, create a file called ~/.mavenrc and put the following text inside: MAVEN_OPTS="-Dmaven.repo.local=c:\documents and settings\user\.m2\repository" export

Is there a way to tell maven where to place the artifacts?

房东的猫 提交于 2020-01-22 15:05:25
问题 I am running both maven inside the m2eclipse plugin, windows command line and my cygwin command line. cygwin's bash shell dumps artifacts into the cygwin /home/me/.m2 directory but m2eclipse & windows shell (on vista) uses /Users/me/Documents/.m2 Is it possible to tell the mvn command to use one central .m2 directory ? Thanks 回答1: For Cygwin, create a file called ~/.mavenrc and put the following text inside: MAVEN_OPTS="-Dmaven.repo.local=c:\documents and settings\user\.m2\repository" export

Best way to setup a Windows build environment for C/C++

耗尽温柔 提交于 2020-01-22 14:04:10
问题 Basically I want to compile C/C++ using the GCC on Windows. The two competing platforms, as i see it, are MinGW and Cygwin. Each have their own benifits and limitations. MinGW compiles for Windows, whereas Cygwin needs the cygwin .dll. However installing libraries on MinGW is difficult, whereas on cygwin it's easier, using the setup.exe as a 'package manager'. My question is what's the best way to compile on Windows. Would it be better to use MinGW and struggle with libraries (in which case

Best way to setup a Windows build environment for C/C++

*爱你&永不变心* 提交于 2020-01-22 14:03:26
问题 Basically I want to compile C/C++ using the GCC on Windows. The two competing platforms, as i see it, are MinGW and Cygwin. Each have their own benifits and limitations. MinGW compiles for Windows, whereas Cygwin needs the cygwin .dll. However installing libraries on MinGW is difficult, whereas on cygwin it's easier, using the setup.exe as a 'package manager'. My question is what's the best way to compile on Windows. Would it be better to use MinGW and struggle with libraries (in which case

Cygwin Bash.exe vs. mintty.exe [closed]

拟墨画扇 提交于 2020-01-22 05:19:29
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 5 years ago . I am trying to run Unix commands on both the bash.exe and mintty.exe , found in Cygwin64/bin (e.g., usr/bin/bash.exe). When I try to run the Unix commmand ls , I get bash: ls: command not found . However, when I click on the desktop icon for the Cygwin terminal, and enter ls into the resulting Cygwin terminal,

Installing additional packages for Cygwin

不打扰是莪最后的温柔 提交于 2020-01-22 05:00:06
问题 To install additional packages for Cygwin, do I just need to run the setup.exe again and choose from the packages list? Also, doing this won't harm my computer in terms of 2 Cygwin instances being installed or problems of that kind (I'm kind of a noobie with these things). Last, there is no package manager in Cygwin which you can run in the command line? Something similar to Pip in Python. 回答1: No, it doesn't hurt the current setup. The install program knows what's installed already. Having

Cygwin compiling program using libwebrtc-audio-processing-devel

元气小坏坏 提交于 2020-01-17 06:44:47
问题 I want to use the VAD module of webrtc, compiling on Cygwin. Cygwin has some packages for this: packages I installed the selected packages and want to work out how to get things compiling. I've included what I've tried so far below. Am I taking the right approach to this? Or should I continue in a different way? I'm an amateur when it comes to c code. main.cpp int main() { AudioProcessing* apm; } Compiling $ g++ main.cpp main.cpp: In function ‘int main()’: main.cpp:3:2: error: