cygwin

Error “Unlinking directory not permitted” when I'm doing hg update with cygwin

陌路散爱 提交于 2020-01-17 05:21:10
问题 When I'm trying to change the branch where I am , I'm getting this error everytime: # Just check in which branch I am $ hg branch django1.6 $ hg update --clean default abandon: Unlinking directory not permitted: 'D:\Projects\abc\abc' ( abc is the project name, replace for simplicity here). Since it's a Django project, named abc , I have a subfolder abc that I have created in the django1.6 branch. This folder doesn't exist yet in the default branch , so if I'm changing the branch, the folder

Error “Unlinking directory not permitted” when I'm doing hg update with cygwin

本秂侑毒 提交于 2020-01-17 05:21:10
问题 When I'm trying to change the branch where I am , I'm getting this error everytime: # Just check in which branch I am $ hg branch django1.6 $ hg update --clean default abandon: Unlinking directory not permitted: 'D:\Projects\abc\abc' ( abc is the project name, replace for simplicity here). Since it's a Django project, named abc , I have a subfolder abc that I have created in the django1.6 branch. This folder doesn't exist yet in the default branch , so if I'm changing the branch, the folder

Cygwin Download Site empty with K9 filter installed

一笑奈何 提交于 2020-01-17 04:23:06
问题 I have the same problem as listed in this question, briefly, when I try to install Cygwin I have empty list of sites. (BTW the Cygwin mirrors site works fine from my browser!) The problem I know is due to the K9 filter I have installed. I tired whatever K9 advises to disable the filter per this link but I can only install Cygwin when K9 is completely uninstalled. Any suggestions how to have K9 and install Cygwin ? Thanks! 回答1: I found a simple workaround, un-install K9 :) I can do subsequent

Running Cygwin commands from batch file

徘徊边缘 提交于 2020-01-16 19:19:09
问题 My project is an AndroidNDK project and requires some build commands to run from Cygwin (or a Unix environment). Is there a way to do this using TeamCity? I tried using the commandline build step and passing in a batch file which first launches cygwin, and then performs the build commands I need. However this does not work, all it does is launch cygwin, but my unix commands do not get executed after this. 回答1: How are you launching and running commands from cygwin? You will have to do bash -c

Codeblocks' Cygwin compiler isn't working

﹥>﹥吖頭↗ 提交于 2020-01-16 04:46:06
问题 Using the default setup for Cygwin with codeblocks, I get the following error. "NameScanner - Debug" uses an invalid compiler. Probably the toolchain path within the compiler options is not setup correctly?! Skipping... Nothing to be done. I tried their custom installation instructions and that gave me this error on cstdlib , a default file C:\Dev-Cpp\bin\..\lib\gcc\mingw32\3.4.2\..\..\..\..\include\c++\3.4.2\cwchar|249|error: `::wcstold' has not been declared| C:\Dev-Cpp\bin\..\lib\gcc

undefined reference to 'WinMain' with SDL compiling in a native enviroment

拟墨画扇 提交于 2020-01-16 00:43:12
问题 I'm struggeling with my first steps in SDL. I wanted to compile a simple test class, just including the SDL2 header, nothing special for startup: main.cpp: #include <SDL.h> int main() { return 0; } main.cpp itself compiles fine: g++ -c main.cpp -ISDL/include but as soon as i want to link it with the SDL2.dll either with the machinecode main.o or directly, i'm getting this error: g++ main.cpp -o sdl_test -I SDL/include -L SDL/lib/x64 -l SDL2 -mwindows g++ -o test main.o -L SDL/lib/x64 -l SDL2

cygwin winsymlinks:native doesn't work

点点圈 提交于 2020-01-15 23:08:52
问题 I'm battling with cygwin for quite a while now. I searched far and wide on how to make cygwin create Windows-style symbolic links. I tried the following: export CYGWIN="winsymlinks:native" export CYGWIN="winsymlinks:nativestrict" export CYGWIN="winsymlinks:lnk" I also tried exporting w/o the quotes. I also tried from both cygwin/x86 and cygwin/x64 For the life of me - I can't get the Windows native symlinks to work. I'm working on Windows7/64bit; cygwin version 1.7.25. I'd love to get a

Cygwin diff won't exclude files if a directory is included in the pattern

做~自己de王妃 提交于 2020-01-15 15:36:06
问题 I need to do a recursive diff using cygwin that needs do exclude all .xml files from certain directories, but not from other directories. According to the --help option I should be able to do this with with the --exclude=PAT option where PAT is a pattern describing the files I want to exclude from the diff. If I do this: diff -rw --exclude="classes/Services.xml" the diff does not ignore the Services.xml file in the classes directory. If I do this diff -rw --exclude="Services.xml" the diff

Schedule `at` jobs with cygwin

青春壹個敷衍的年華 提交于 2020-01-15 08:45:12
问题 I am running a bunch of simulations on several (non-equivalent) client machines. In order to ensure that each simulation is run only once, the clients connect to and schedule a task on a linux server. The linux server runs the scheduled task, which ssh 's back into the client and schedules a run of the next simulation to be run. Since some of the clients run windows XP (running cygwin), part of the scheduling script on the client side checks if the client is running linux or cygwin and

How do I turn on RTTI with Cygwin?

柔情痞子 提交于 2020-01-14 12:37:27
问题 When my Android NDK C++ native code is compiled, the following error appears: error: 'dynamic_cast' not permitted with -fno-rtti Someone told me to turn on RTTI, but I didn't know how to do. Do I need to modify Application.mk or what? my Application.mk : # it is needed for ndk-r5 APP_STL := stlport_static APP_ABI := armeabi armeabi-v7a APP_MODULES := cocos2d cocosdenshion chipmunk box2d tempestkeep When I add APP_CPPFLAGS += -frtti in some .o file appears another error: undefined reference to