Windows installation issues
Hi all, after having switched from OSX and Linux to Windows 10 I have issues compiling boost (1.61)with the MinGW compiler. The very first step fails: bootstrap.bat mingw results in not finding a right path, denying access and aborting the installation. So far I only found this article: https://andres.jaimes.net/698/use-c-with-mingw-and-netbeans-in-windows/ but it does not contain further info how (and where) to add additional info (I added c:\MinGW\bin to my PATH but it didn’t help). Any help appreciated, thanks in advance Alex --
Hi Alex, Am Dienstag, 26. Juli 2016, 16:45:35 CEST schrieb Alexander Carôt:
Hi all, after having switched from OSX and Linux to Windows 10
Yes, Windows is harder than the other two.
I have issues compiling boost (1.61)with the MinGW compiler.
Well, with which MinWG actually? There are several versions out there.
The very first step fails:
bootstrap.bat mingw results in not finding a right path, denying access and aborting the installation.
Which error messages?
So far I only found this article: https://andres.jaimes.net/698/use-c-with-mingw-and-netbeans-in-windows/
I usually advise to use MinGW-w64 and/or MSys2.
but it does not contain further info how (and where) to add additional info (I added c:\MinGW\bin to my PATH but it didn’t help).
Please provide error messages, commandline invocations and the generated project-config.jam Yours, Jürgen -- * Dipl.-Math. Jürgen Hunold ! * voice: ++49 4257 300 ! Fährstraße 1 * fax : ++49 4257 300 ! 31609 Balge/Sebbenhausen * jhunold@gmx.eu ! Germany
Hi Jürger,
Yes, Windows is harder than the other two.
As usual ;-)
Well, with which MinWG actually? There are several versions out there.
The MinGW-Installtion-Manager tells: MinGW32-gcc – Version 4.9.3-1 (the latest one I could get)
Which error messages?
When using the DOS shell I get this: C:\MinGW\msys\1.0\home\jazzalex\boost_1_61_0>bootstrap.bat mingw Building Boost.Build engine Das System kann den angegebenen Pfad nicht finden. Der Befehl ".\build.bat" ist entweder falsch geschrieben oder konnte nicht gefunden werden. Failed to build Boost.Build engine. Please consult bootstrap.log for further diagnostics.
I usually advise to use MinGW-w64 and/or MSys2.
If possible I would like to stick tot he current setup and change in case we won’t success.
but it does not contain further info how (and where) to add additional info (I added c:\MinGW\bin to my PATH but it didn’t help).
Please provide error messages, commandline invocations and the generated project-config.jam
The bootstrap.log contains this: ./bootstrap.sh: line 226: cd: ./tools/build/src/engine: No such file or directory Does this give a better impression of what’s going on ? Thanks a lot in advance (1000 Dank ;-) ), regards Alex
Hi Jürgen, it eventually turned out that the sources were corrupted. However, after a new download the DOS console still complained with different errors so I followed your advice to compile it with msys and this worked out fine (in fact it is not the first time that msys does the best job with ported projects). Thanks for your hint, best Alex P.S.: I might encounter further WIN-related issues (because I so far consciously avoided this world ☺ ) so I might get back here and there ;-) -- >>Yes, Windows is harder than the other two. As usual ;-) >> Well, with which MinWG actually? There are several versions out there. The MinGW-Installtion-Manager tells: MinGW32-gcc – Version 4.9.3-1 (the latest one I could get) >>Which error messages? When using the DOS shell I get this: C:\MinGW\msys\1.0\home\jazzalex\boost_1_61_0>bootstrap.bat mingw Building Boost.Build engine Das System kann den angegebenen Pfad nicht finden. Der Befehl ".\build.bat" ist entweder falsch geschrieben oder konnte nicht gefunden werden. Failed to build Boost.Build engine. Please consult bootstrap.log for further diagnostics. >>I usually advise to use MinGW-w64 and/or MSys2. If possible I would like to stick tot he current setup and change in case we won’t success. > but it does not contain further info how (and where) to add additional info > (I added c:\MinGW\bin to my PATH but it didn’t help). >>Please provide error messages, commandline invocations and the generated >>project-config.jam The bootstrap.log contains this: ./bootstrap.sh: line 226: cd: ./tools/build/src/engine: No such file or directory Does this give a better impression of what’s going on ? Thanks a lot in advance (1000 Dank ;-) ), regards Alex
I wouldn't call MinGW issues windows-related... Am 28.07.2016 um 00:41 schrieb Alexander Carôt:
Hi Jürgen,
it eventually turned out that the sources were corrupted.
However, after a new download the DOS console still complained with different errors so I followed your advice to compile it with msys and this worked out fine (in fact it is not the first time that msys does the best job with ported projects).
Thanks for your hint, best
Alex
P.S.: I might encounter further WIN-related issues (because I so far consciously avoided this world ☺ ) so I might get back here and there ;-)
2016-07-27 15:02 GMT+03:00 Alexander Carôt
Hi Jürger,
Yes, Windows is harder than the other two.
As usual ;-)
Hello Alex, Not sure, that it harder, if you already know how to work from OS console (cmd, far manager or whatever). For MinGW-w64 you should run mingw-w64.bat provided with installation. After that, all should work like a charm. HTH. -- Best Regards, Sergei Nikulov
Thanks, degski and Sergei for additional info and help - sure I am familiar with the console (my first machine was a PC/XT ;-)) - so everything's fine now. Best Alex -- http://www.carot.de Email : Alexander@Carot.de Tel.: +49 (0)177 5719797
Gesendet: Freitag, 29. Juli 2016 um 10:21 Uhr Von: "Sergei Nikulov"
An: boost-users@lists.boost.org Betreff: Re: [Boost-users] Windows installation issues 2016-07-27 15:02 GMT+03:00 Alexander Carôt
: Hi Jürger,
Yes, Windows is harder than the other two.
As usual ;-)
Hello Alex,
Not sure, that it harder, if you already know how to work from OS console (cmd, far manager or whatever). For MinGW-w64 you should run mingw-w64.bat provided with installation. After that, all should work like a charm.
HTH.
-- Best Regards, Sergei Nikulov _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
In my view the best MinGW64 distro out there is the one provided by Stephan
T. Lavavej, a.k.a. STL, Senior Software Development Engineer at Microsoft,
maintaining Visual Studio's C++ Standard Library implementation.
The distribution includes a.o. GCC 6.1.0, Boost 1.61.0 and a great many
other libraries and utilities (git a.o.). He also includes his (msys) build
scripts, so you can rebuild yourself, while at the same time learning how a
pro does it.
Msys needs to be used for the moment, you need bash (forget about the
cmd.exe for nix-stuff). The upcoming Windows 10 Anniversary Update (2nd
August if I'm not mistaking) will include a bash shell out of the box and
other tools that will help you dealing with nix stuff.
STL equally provides clear and unambiguous instructions how to work with
MinGW64. Remember he works for Microsoft, so his tools are guaranteed (by
an MS-engineer) to work on Windows!!! Follow them to the t and you'll be a
happy chappy.
The distro is updated regularly (each boost and gcc version at least).
The distro can be found on STL's web-site: https://nuwen.net/mingw.html
degski
On 26 July 2016 at 17:45, Alexander Carôt
Hi all,
after having switched from OSX and Linux to Windows 10 I have issues compiling boost (1.61)with the MinGW compiler.
The very first step fails:
bootstrap.bat mingw
results in not finding a right path, denying access and aborting the installation.
So far I only found this article:
https://andres.jaimes.net/698/use-c-with-mingw-and-netbeans-in-windows/
but it does not contain further info how (and where) to add additional info (I added c:\MinGW\bin to my PATH but it didn’t help).
Any help appreciated,
thanks in advance
Alex
--
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
-- (\___/) (+'.'+) (")_(") This is Bunny. Copy and paste Bunny into your signature to help him gain world domination!
In case you would like to use fortran (STL does not provide that, so you
could not build LPACK f.e.), there is another distro, provided by a company
called equation.com (which does include gfortran). Several releases are
available and equation.com also provide weekly snapshot builds of GCC. Both
32 and 64 bit builds are ready for download. I have test-driven this one as
well, just for your info.
I quote: "This web page provides Fortran, C and C++ for Windows for
download. Equation Solution build the compilers from GCC. gFortran, gcc and
g++ are high performance compilers, and absolutely free under General
Public License. Binaries distributed at this site are a variant of GCC.
Distributions of Equation Solution have indepentent settings. The major
change is the library to support parallel processing has been replaced."
The equation-distro can be found here:
http://www.equation.com/servlet/equation.cmd?fa=fortran
degski
On 26 July 2016 at 17:45, Alexander Carôt
Hi all,
after having switched from OSX and Linux to Windows 10 I have issues compiling boost (1.61)with the MinGW compiler.
The very first step fails:
bootstrap.bat mingw
results in not finding a right path, denying access and aborting the installation.
So far I only found this article:
https://andres.jaimes.net/698/use-c-with-mingw-and-netbeans-in-windows/
but it does not contain further info how (and where) to add additional info (I added c:\MinGW\bin to my PATH but it didn’t help).
Any help appreciated,
thanks in advance
Alex
--
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
-- (\___/) (+'.'+) (")_(") This is Bunny. Copy and paste Bunny into your signature to help him gain world domination!
participants (6)
-
"Alexander Carôt"
-
Alexander Carôt
-
degski
-
Jürgen Hunold
-
Michael Steinberg
-
Sergei Nikulov