From: Kai T. <kti...@go...> - 2009-07-07 06:55:33
|
2009/7/7 John Martin <gia...@gm...>: > I extracted mingw-w64-bin_i686-cygwin-1.5.25-15_20080908.tar.bz2 and > placed it in the folder mingw64. However when trying to run > C:\mingw64\bin\x86_64-pc-mingw32-g++.exe, I get the error: > > "x86_64-pc-mingw32-g++.exe - Unable to Locate Component > "This application has failed to start because cygwin1.dll was not > found. Re-installing the application may fix this problem." > > Note that I do have cygwin installed, and cygwin1.dll is located in > the cygwin\bin folder, but I don't know how that's related to > mingw-w64. I tried copying cygwin1.dll to \bin, but that only resulted > in another missing .dll error. > > I'm not sure if this is related, but also after the extraction of the > archive, WinRAR gives me a bunch of errors: > > [Start WinRAR errors] > ! C:\Users\John\Desktop\mingw-w64-bin_i686-cygwin-1.5.25-15_20080908.tar.bz2: > Cannot create in\x86_64-pc-mingw32-ar.exe > ! C:\Users\John\Desktop\mingw-w64-bin_i686-cygwin-1.5.25-15_20080908.tar.bz2: > Cannot open x86_64-pc-mingw32\bin\ar.exe (bin\x86_64-pc-mingw32-as.exe > --> x86_64-pc-mingw32\bin\ar.exe) > ! C:\Users\John\Desktop\mingw-w64-bin_i686-cygwin-1.5.25-15_20080908.tar.bz2: > Symbolic link points to missing file > ! C:\Users\John\Desktop\mingw-w64-bin_i686-cygwin-1.5.25-15_20080908.tar.bz2: > Cannot open x86_64-pc-mingw32\bin\as.exe > (bin\x86_64-pc-mingw32-dlltool.exe --> x86_64-pc-mingw32\bin\as.exe) > ! C:\Users\John\Desktop\mingw-w64-bin_i686-cygwin-1.5.25-15_20080908.tar.bz2: > Symbolic link points to missing file > ! C:\Users\John\Desktop\mingw-w64-bin_i686-cygwin-1.5.25-15_20080908.tar.bz2: > Cannot open x86_64-pc-mingw32\bin\dlltool.exe > (x86_64-pc-mingw32\bin\c++.exe --> x86_64-pc-mingw32\bin\dlltool.exe) > ! C:\Users\John\Desktop\mingw-w64-bin_i686-cygwin-1.5.25-15_20080908.tar.bz2: > Symbolic link points to missing file > ! C:\Users\John\Desktop\mingw-w64-bin_i686-cygwin-1.5.25-15_20080908.tar.bz2: > Cannot open x86_64-pc-mingw32\bin\g++.exe > (bin\x86_64-pc-mingw32-ld.exe --> x86_64-pc-mingw32\bin\g++.exe) > ! C:\Users\John\Desktop\mingw-w64-bin_i686-cygwin-1.5.25-15_20080908.tar.bz2: > Symbolic link points to missing file > ! C:\Users\John\Desktop\mingw-w64-bin_i686-cygwin-1.5.25-15_20080908.tar.bz2: > Cannot open x86_64-pc-mingw32\bin\ld.exe (bin\x86_64-pc-mingw32-nm.exe > --> x86_64-pc-mingw32\bin\ld.exe) > ! C:\Users\John\Desktop\mingw-w64-bin_i686-cygwin-1.5.25-15_20080908.tar.bz2: > Symbolic link points to missing file > ! C:\Users\John\Desktop\mingw-w64-bin_i686-cygwin-1.5.25-15_20080908.tar.bz2: > Cannot open x86_64-pc-mingw32\bin\nm.exe > (bin\x86_64-pc-mingw32-objcopy.exe --> x86_64-pc-mingw32\bin\nm.exe) > ! C:\Users\John\Desktop\mingw-w64-bin_i686-cygwin-1.5.25-15_20080908.tar.bz2: > Symbolic link points to missing file > ! C:\Users\John\Desktop\mingw-w64-bin_i686-cygwin-1.5.25-15_20080908.tar.bz2: > Cannot open x86_64-pc-mingw32\bin\objcopy.exe > (bin\x86_64-pc-mingw32-objdump.exe --> > x86_64-pc-mingw32\bin\objcopy.exe) > ! C:\Users\John\Desktop\mingw-w64-bin_i686-cygwin-1.5.25-15_20080908.tar.bz2: > Symbolic link points to missing file > ! C:\Users\John\Desktop\mingw-w64-bin_i686-cygwin-1.5.25-15_20080908.tar.bz2: > Cannot open x86_64-pc-mingw32\bin\objdump.exe > (bin\x86_64-pc-mingw32-ranlib.exe --> > x86_64-pc-mingw32\bin\objdump.exe) > ! C:\Users\John\Desktop\mingw-w64-bin_i686-cygwin-1.5.25-15_20080908.tar.bz2: > Symbolic link points to missing file > ! C:\Users\John\Desktop\mingw-w64-bin_i686-cygwin-1.5.25-15_20080908.tar.bz2: > Cannot open x86_64-pc-mingw32\bin\ranlib.exe > (bin\x86_64-pc-mingw32-strip.exe --> x86_64-pc-mingw32\bin\ranlib.exe) > ! C:\Users\John\Desktop\mingw-w64-bin_i686-cygwin-1.5.25-15_20080908.tar.bz2: > Symbolic link points to missing file > ! C:\Users\John\Desktop\mingw-w64-bin_i686-cygwin-1.5.25-15_20080908.tar.bz2: > Cannot open x86_64-pc-mingw32\bin\strip.exe ( --> > x86_64-pc-mingw32\bin\strip.exe) > ! C:\Users\John\Desktop\mingw-w64-bin_i686-cygwin-1.5.25-15_20080908.tar.bz2: > Symbolic link points to missing file > [End WinRAR errors] > > Re-downloading the archive doesn't fix the errors. What are these > errors, and how do I get rid of the cygwin1.dll error message? Hello Martin, which cygwin version you are using. Our pre-compiled package is build for 1.5.x. Could it be that you are using already the new 1.7 version? Otherwise, how are you adding the cross-compiler bin directory to your path? By 'export PATH=<your-cygwin-path-to-mingw-w64-folder>/bin:$PATH' ? Cheers, Kai -- | (\_/) This is Bunny. Copy and paste | (='.'=) Bunny into your signature to help | (")_(") him gain world domination |