Setup for MinGW/EasyEclipse
I know this is rather menial to be asking for assistance on, but I'm stuck and don't want to proceed and make a mistake. I'm rather sick of messing up with simple library setup things, and want to get down and dirty with some code soon! So if you could be so kind as to help me understand what to do I'd really appreciate it. I've got to make Boost work on Microsoft Windows XP SP2, using the MinGW libraries that came with EasyEclipse C/C++. However, the getting started documentation on Boost.org only discusses how to make Boost work for MSVC, which doesn't help me all too much. If some kind person could help this tired programmer, I'd really appreciate it! I used Google, but I didn't find anything terribly definitive. If only Windows could be more like Linux, and all I'd have to do is something cool like wgm install boost-dev... but then it wouldn't be Windows, would it? Anyways, thanks in advance for any help anyone can render me!
on www.nuwen.net u can find boost-libraries precompiled ofr mingw.
On Nov 19, 2007 8:34 AM, Chris Miller
I know this is rather menial to be asking for assistance on, but I'm stuck and don't want to proceed and make a mistake. I'm rather sick of messing up with simple library setup things, and want to get down and dirty with some code soon! So if you could be so kind as to help me understand what to do I'd really appreciate it.
I've got to make Boost work on Microsoft Windows XP SP2, using the MinGW libraries that came with EasyEclipse C/C++. However, the getting started documentation on Boost.org only discusses how to make Boost work for MSVC, which doesn't help me all too much.
If some kind person could help this tired programmer, I'd really appreciate it! I used Google, but I didn't find anything terribly definitive. If only Windows could be more like Linux, and all I'd have to do is something cool like wgm install boost-dev... but then it wouldn't be Windows, would it?
Anyways, thanks in advance for any help anyone can render me! _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
Oliver Kania wrote:
on www.nuwen.net http://www.nuwen.net u can find boost-libraries precompiled ofr mingw.
Gee, wow! That's a lot simpler!!! Hit the nail on the head! Thanks a billion for that, all I have to do is merge the Allegro dev files onto that and replace my old c:\MinGW\ directory with the new one and... Totally wickedly righteously awesome! I'm trying to keep my game set up so that the code assumes all libraries are put in default include directories. If you want a laugh, I loosely documented my attempt to get all this rot working on MSVC8 and MSVC9 at fsdev.net and dev.fsdev.net/index.php?go=taskView&tsk=45 Thanks a million, that made my job so much easier!
Chris Miller wrote:
I've got to make Boost work on Microsoft Windows XP SP2, using the MinGW libraries that came with EasyEclipse C/C++. However, the getting started documentation on Boost.org only discusses how to make Boost work for MSVC, which doesn't help me all too much.
The getting started has a section for compiling from sources that does list GCC in the toolset table http://boost.org/more/getting_started/windows.html#or-build-binaries-from-so.... For MinGW building with bjam works from either the Windows CMD or MSYS. -- -- Grafik - Don't Assume Anything -- Redshift Software, Inc. - http://redshift-software.com -- rrivera/acm.org - grafik/redshift-software.com -- 102708583/icq - grafikrobot/aim - grafikrobot/yahoo
Am Montag 19 November 2007 08:34:46 schrieb Chris Miller:
I've got to make Boost work on Microsoft Windows XP SP2, using the MinGW libraries that came with EasyEclipse C/C++.
If some kind person could help this tired programmer, I'd really appreciate it!
Hello Chris, Can you compile an application at command line? If the answer is ... ...yes, download the bjam binary from http://sourceforge.net/projects/boost/ unpack it, copy bjam.exe into the boost directory and do at command line $ cd path\to\boost $ bjam -d+2 variant=release --toolset=gcc stage This builds ALL non header only boost libs. This will take some time. If you just want to build certain libs you can do this by using --with-LIBNAME, i.e. $ bjam -d+2 \ variant=release --toolset=gcc --with-filesystem --with-program_options stage ...no, you have to add the bin folder of mingw (I assume somewhere at the EasyEclipse folder) to your PATH environment variable. Please use a web search engine to find out how to do this. Don't try building boost if you cannot build a simple app from command line! A more advanced solution, if you know what a CDT Makefiles project is: Create a new Makefile project (i.e. named boost) and import the content of a freshly unpacked boost(-1.34.1) into this project. Create a Makefile like I posted here: - http://thread.gmane.org/gmane.comp.lib.boost.user/31563 Change the build command from make to mingw32-make at the project preferences! Now just hit BUILD to build boost. This enables the CDT, if you configured your other projects at the same workspace to use this boost folder, to visualize errors which involve boost headers. By clicking on an error you will jump into the boost tree. Regards, Maik Beckmann
participants (4)
-
Chris Miller
-
Maik Beckmann
-
Oliver Kania
-
Rene Rivera