cygwin

cygwin1.dll missing when compiling c++ with g++

I'm using cygwin and when I'm compiling hello world with gcc somehow the compiler doesn't understand about using std namespaces (some of them are missing), but when I compile with g++ yes they work. But when I click on the helloworld.exe it says that cygwin1.dll is missing. Is there anything can I do? ...

Add SSH Key to Heroku (Noob Question following railstutorial.org)

Beeing new to programming I'm trying to learn RoR using railstutorial.org and ran into a problem in chapter 1.4.1 (http://railstutorial.org/book#sec:1.4.1). Whentrying to add my SSH key the following happend: Basti@Basti-PC ~ $ heroku keys:add <internal:lib/rubygems/custom_require>:29:in `require': no such file to load -- readline (...

how to install llvm-gcc 4.2 on cygwin

hello,i donot know whether cygwin have installed llvm-gcc, if no,i want to know how install llvm-gcc on cygwin in windows.i want to some a lot of detailed steps ,I haven't a clue,my hair is becoming less and less.thank you ...

Find: Paramater format not correct

I keep hearing this is a path issue with cygwin. It is prevent emacs from working within my cygwin. When I execute find on the cli (not bash/cygwin) I get the same error not matter what I type. I've read this is a problem with path creation within cygwin and that it should be prepending itself to the path. As you can see it is doing ...

How do compile a simple program using boost::thread in cygwin?

I installed the boost package from cygwin and have a directory /usr/include/boost that includes a bunch of *.hpp files, including thread.hpp, which I need to include in the c++ file, via #include <boost/thread.hpp> Also, several *.a files seem to be related to boost::thread. $ ls /usr/lib/libboost_thread* -1 /usr/lib/libboost_thread-...

Spaces in Cygwin/bash aliases?

I am attempting to set up aliases for my Cygwin bash shells, to run programs contained in the standard Windows C:\Program Files subdirectories. Unfortunately, the alias command really doesn't like spaces in a directory name, and nothing I've tried seems to work. I'm trying to get the following running: alias npp='/cygdrive/c/Program F...

Can't Build wxWidgets on Cygwin with OpenGL Support

I am trying to build wxWidgets 2.8.11 under Cygwin, but the wxWidgets configure step is not generating OpenGL support. Specifically, the build is not generating a library called libwx_mswd_gl-2.8.a. I suspect that I am missing a Cygwin OpenGL package, but am not sure. I already have the following OpenGL-related packages: libglut-deve...

Difficulty executing shell script with directory reference

Hey Guys, I have a simple script ... dir=`pwd` echo $dir cd ./selenium-grid-1.0.8/ CMD="ant -Dport=$1 -Dhost=$2 -DhubURL=http://172.16.1.137:4444 -Denvironment="$3"-DseleniumArgs="-firefoxProfileTemplate C:/software/rc_user_ffprofile -multiWindow" launch-remote-control" echo $CMD $CMD 2>&1 #End Whenever i run this command, i get: ...

Eclipse CDT Debugging (An External Process) and Finding Its Source Code

When I attempt to debug a external process with Eclipse CDT, I'm able to attach to it, but I cannot get the debug configuration to find the original C source. When I launch the debugger with the process running within Eclipse, I can get the debugger to find the source code. It is only when attaching to an external process that CDT doesn...

Is there any POSIX compatibility layer for Windows x64?

I'm trying to compile Redis for Windows x64 with no luck. I tried different things Cygwin works perfectly but GCC produces only 32 bit executables Compling with Mingw-w64 will not work without a lot of code changes (My understanding is that MinGw does not provide POSIX compatibility for Windows) Microsoft Services for Unix has an outd...

Can Cygwin access Windows Hidden Shares?

Is there any way to access a Windows "hidden share" from Cygwin? I've tried: cd //server/c$ cd //server/c'$' cd //server/'c$' cd //server/c\$ Cygwin doesn't like the '$'. EDIT: I have also tried mounting a drive to the network share and accessing that from Cygwin (as djondal suggests below), but no joy. For a drive mapped to Z:, /c...

Need Cygwin DLL

I need the cygidn-11.dll Cygwin library file. How do I find it and/or get it? ...

Where do writes to stdout go when launched from a cygwin shell, no redirection

I have an application, let's call it myapp.exe, which is dual-mode console/GUI, built as /SUBSYSTEM:WINDOWS (There's a tiny 3KB shim myapp.com to cause cmd.exe to wait to display the new prompt.) If I launch from a command prompt: myapp -> cmd.exe runs myapp.com which runs myapp.exe. stdout is initially a detached console, by using A...

GIT - getting 'early eof' error on pull....

I think I'm about fed up with GIT - I keep getting these obscure errors with no indication as to where or why. This last is on a pull on a cygwin side with GIT version 1.7.2.3 - I get an 'early eof' message and then it won't go any more. The repository scenario is: MAC - working repository MAC - bare repository serving as a central ...

Unable to run fastri on cygwin: uninitialized constant Gem::Version (NameError)

I'm trying to setup fastri (http://eigenclass.org/hiki/fastri) on emacs running on cygwin in windows. The ruby install is also from cygwin, not the windows version of ruby. After downloading, unpacking the tarball and running setup.rb, when I attempt to run qri or fri, I get the following error message: [/cygdrive/g]$qri /usr/lib/r...

Does cygwin understand NTFS junction points?

Does cygwin (1.7.x) understand Windows NTFS junction points (as created by mklink in Win7/2008 or sysinternals' junction.exe)? How do they differ from a symbolic link as created by "ln -s "? ...

How to get Qt-Creator to build using cygwin make?

Does anyone know how to configure Qt-Creator to use cygwin's make to build a project? Maybe this is a simple cygwin-mangled Windows path problem, but I can't get Qt-Creator to find/run cygwin's make. My make lives in /usr/bin, which is actually c:\cygwin\c\usr\bin on my system. Either way, Qt can't seem to find it using all the obviou...

How to convert cygwin socket handle to WinSock handle?

Under cygwin 1.7.* , how to convert cygwin socket handle to WinSock handle? ...

Creating multiple threads and invoking other exectuables in Cygwin through system()?

I am working on a project in Cygwin. In an attempt to create multiple threads in C, and each thread calls another executable through the command line using the system() function, it turns out things are not working properly. Specifically, the code I have is like this: #include <pthread.h> #include <stdio.h> #define NUM_THREADS 5 vo...