<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: C++ Development Environment on Windows using Eclipse Ganymede and Nuwen MinGW</title>
	<atom:link href="http://beans.seartipy.com/2008/08/06/c-development-environment-on-windows-using-eclipse-ganymede-and-nuwen-mingw/feed/" rel="self" type="application/rss+xml" />
	<link>http://beans.seartipy.com/2008/08/06/c-development-environment-on-windows-using-eclipse-ganymede-and-nuwen-mingw/</link>
	<description>"The time has come...to talk of many [technologies]." --Lewis Carroll('The Walrus and the Carpenter')</description>
	<pubDate>Wed, 07 Jan 2009 02:00:19 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.5</generator>
		<item>
		<title>By: Iain</title>
		<link>http://beans.seartipy.com/2008/08/06/c-development-environment-on-windows-using-eclipse-ganymede-and-nuwen-mingw/#comment-137442</link>
		<dc:creator>Iain</dc:creator>
		<pubDate>Wed, 26 Nov 2008 18:44:30 +0000</pubDate>
		<guid isPermaLink="false">http://beans.seartipy.com/?p=373#comment-137442</guid>
		<description>Can anyone get the example boost::regex code to compile using Nuwen's build?

i.e:

#include 
#include 
#include 

int main()
{
    std::string line;
    boost::regex pat( "^Subject: (Re: &#124;Aw: )*(.*)" );

    while (std::cin)
    {
        std::getline(std::cin, line);
        boost::smatch matches;
        if (boost::regex_match(line, matches, pat))
            std::cout &#60;&#60; matches[2] &#60;&#60; std::endl;
    }
}

When attempting to compile I get:

**** Build of configuration Debug for project boost test ****

**** Internal Builder is used for build               ****
g++ -oboosttest.exe src\boosttest.o
src\boosttest.o:c:/mingw/bin/../lib/gcc/i686-pc-mingw32/4.2.1-dw2/../../../../include/boost/regex/v4/basic_regex.hpp:262: undefined reference to `boost::basic_regex&#60;char, boost::regex_traits&#60;char, boost::cpp_regex_traits &#62; &#62;::do_assign(char const*, char const*, unsigned int)'
src\boosttest.o: In function `perl_matcher':
c:/mingw/bin/../lib/gcc/i686-pc-mingw32/4.2.1-dw2/../../../../include/boost/regex/v4/perl_matcher.hpp:347: undefined reference to `boost::re_detail::perl_matcher&#60;__gnu_cxx::__normal_iterator, std::allocator&#60;boost::sub_match&#60;__gnu_cxx::__normal_iterator &#62; &#62;, boost::regex_traits&#60;char, boost::cpp_regex_traits &#62; &#62;::construct_init(boost::basic_regex&#60;char, boost::regex_traits&#60;char, boost::cpp_regex_traits &#62; &#62; const&#38;, boost::regex_constants::_match_flags)'
src\boosttest.o:c:/mingw/bin/../lib/gcc/i686-pc-mingw32/4.2.1-dw2/../../../../include/boost/regex/v4/regex_match.hpp:50: undefined reference to `boost::re_detail::perl_matcher&#60;__gnu_cxx::__normal_iterator, std::allocator&#60;boost::sub_match&#60;__gnu_cxx::__normal_iterator &#62; &#62;, boost::regex_traits&#60;char, boost::cpp_regex_traits &#62; &#62;::match()'
src\boosttest.o:c:/mingw/bin/../lib/gcc/i686-pc-mingw32/4.2.1-dw2/../../../../include/boost/regex/v4/cpp_regex_traits.hpp:888: undefined reference to `boost::re_detail::cpp_regex_traits_implementation::transform(char const*, char const*) const'
src\boosttest.o:c:/mingw/bin/../lib/gcc/i686-pc-mingw32/4.2.1-dw2/../../../../include/boost/regex/v4/cpp_regex_traits.hpp:892: undefined reference to `boost::re_detail::cpp_regex_traits_implementation::transform_primary(char const*, char const*) const'
src\boosttest.o:c:/mingw/bin/../lib/gcc/i686-pc-mingw32/4.2.1-dw2/../../../../include/boost/regex/v4/perl_matcher_common.hpp:479: undefined reference to `boost::match_results&#60;__gnu_cxx::__normal_iterator, std::allocator&#60;boost::sub_match&#60;__gnu_cxx::__normal_iterator &#62; &#62; &#62;::maybe_assign(boost::match_results&#60;__gnu_cxx::__normal_iterator, std::allocator&#60;boost::sub_match&#60;__gnu_cxx::__normal_iterator &#62; &#62; &#62; const&#38;)'
src\boosttest.o:c:/mingw/bin/../lib/gcc/i686-pc-mingw32/4.2.1-dw2/../../../../include/boost/regex/v4/cpp_regex_traits.hpp:436: undefined reference to `boost::re_detail::get_default_error_string(boost::regex_constants::error_type)'
src\boosttest.o:c:/mingw/bin/../lib/gcc/i686-pc-mingw32/4.2.1-dw2/../../../../include/boost/regex/v4/cpp_regex_traits.hpp:438: undefined reference to `boost::re_detail::get_default_error_string(boost::regex_constants::error_type)'
src\boosttest.o:c:/mingw/bin/../lib/gcc/i686-pc-mingw32/4.2.1-dw2/../../../../include/boost/regex/pattern_except.hpp:75: undefined reference to `boost::re_detail::raise_runtime_error(std::runtime_error const&#38;)'
src\boosttest.o:c:/mingw/bin/../lib/gcc/i686-pc-mingw32/4.2.1-dw2/../../../../include/boost/regex/v4/perl_matcher_non_recursive.hpp:197: undefined reference to `boost::re_detail::get_mem_block()'
src\boosttest.o:c:/mingw/bin/../lib/gcc/i686-pc-mingw32/4.2.1-dw2/../../../../include/boost/regex/v4/perl_matcher_non_recursive.hpp:978: undefined reference to `boost::re_detail::put_mem_block(void*)'
collect2: ld returned 1 exit status
Build error occurred, build is stopped
Time consumed: 484  ms.</description>
		<content:encoded><![CDATA[<p>Can anyone get the example boost::regex code to compile using Nuwen&#8217;s build?</p>
<p>i.e:</p>
<p>#include<br />
#include<br />
#include </p>
<p>int main()<br />
{<br />
    std::string line;<br />
    boost::regex pat( &#8220;^Subject: (Re: |Aw: )*(.*)&#8221; );</p>
<p>    while (std::cin)<br />
    {<br />
        std::getline(std::cin, line);<br />
        boost::smatch matches;<br />
        if (boost::regex_match(line, matches, pat))<br />
            std::cout &lt;&lt; matches[2] &lt;&lt; std::endl;<br />
    }<br />
}</p>
<p>When attempting to compile I get:</p>
<p>**** Build of configuration Debug for project boost test ****</p>
<p>**** Internal Builder is used for build               ****<br />
g++ -oboosttest.exe src\boosttest.o<br />
src\boosttest.o:c:/mingw/bin/../lib/gcc/i686-pc-mingw32/4.2.1-dw2/../../../../include/boost/regex/v4/basic_regex.hpp:262: undefined reference to `boost::basic_regex&lt;char, boost::regex_traits&lt;char, boost::cpp_regex_traits &gt; &gt;::do_assign(char const*, char const*, unsigned int)&#8217;<br />
src\boosttest.o: In function `perl_matcher&#8217;:<br />
c:/mingw/bin/../lib/gcc/i686-pc-mingw32/4.2.1-dw2/../../../../include/boost/regex/v4/perl_matcher.hpp:347: undefined reference to `boost::re_detail::perl_matcher&lt;__gnu_cxx::__normal_iterator, std::allocator&lt;boost::sub_match&lt;__gnu_cxx::__normal_iterator &gt; &gt;, boost::regex_traits&lt;char, boost::cpp_regex_traits &gt; &gt;::construct_init(boost::basic_regex&lt;char, boost::regex_traits&lt;char, boost::cpp_regex_traits &gt; &gt; const&amp;, boost::regex_constants::_match_flags)&#8217;<br />
src\boosttest.o:c:/mingw/bin/../lib/gcc/i686-pc-mingw32/4.2.1-dw2/../../../../include/boost/regex/v4/regex_match.hpp:50: undefined reference to `boost::re_detail::perl_matcher&lt;__gnu_cxx::__normal_iterator, std::allocator&lt;boost::sub_match&lt;__gnu_cxx::__normal_iterator &gt; &gt;, boost::regex_traits&lt;char, boost::cpp_regex_traits &gt; &gt;::match()&#8217;<br />
src\boosttest.o:c:/mingw/bin/../lib/gcc/i686-pc-mingw32/4.2.1-dw2/../../../../include/boost/regex/v4/cpp_regex_traits.hpp:888: undefined reference to `boost::re_detail::cpp_regex_traits_implementation::transform(char const*, char const*) const&#8217;<br />
src\boosttest.o:c:/mingw/bin/../lib/gcc/i686-pc-mingw32/4.2.1-dw2/../../../../include/boost/regex/v4/cpp_regex_traits.hpp:892: undefined reference to `boost::re_detail::cpp_regex_traits_implementation::transform_primary(char const*, char const*) const&#8217;<br />
src\boosttest.o:c:/mingw/bin/../lib/gcc/i686-pc-mingw32/4.2.1-dw2/../../../../include/boost/regex/v4/perl_matcher_common.hpp:479: undefined reference to `boost::match_results&lt;__gnu_cxx::__normal_iterator, std::allocator&lt;boost::sub_match&lt;__gnu_cxx::__normal_iterator &gt; &gt; &gt;::maybe_assign(boost::match_results&lt;__gnu_cxx::__normal_iterator, std::allocator&lt;boost::sub_match&lt;__gnu_cxx::__normal_iterator &gt; &gt; &gt; const&amp;)&#8217;<br />
src\boosttest.o:c:/mingw/bin/../lib/gcc/i686-pc-mingw32/4.2.1-dw2/../../../../include/boost/regex/v4/cpp_regex_traits.hpp:436: undefined reference to `boost::re_detail::get_default_error_string(boost::regex_constants::error_type)&#8217;<br />
src\boosttest.o:c:/mingw/bin/../lib/gcc/i686-pc-mingw32/4.2.1-dw2/../../../../include/boost/regex/v4/cpp_regex_traits.hpp:438: undefined reference to `boost::re_detail::get_default_error_string(boost::regex_constants::error_type)&#8217;<br />
src\boosttest.o:c:/mingw/bin/../lib/gcc/i686-pc-mingw32/4.2.1-dw2/../../../../include/boost/regex/pattern_except.hpp:75: undefined reference to `boost::re_detail::raise_runtime_error(std::runtime_error const&amp;)&#8217;<br />
src\boosttest.o:c:/mingw/bin/../lib/gcc/i686-pc-mingw32/4.2.1-dw2/../../../../include/boost/regex/v4/perl_matcher_non_recursive.hpp:197: undefined reference to `boost::re_detail::get_mem_block()&#8217;<br />
src\boosttest.o:c:/mingw/bin/../lib/gcc/i686-pc-mingw32/4.2.1-dw2/../../../../include/boost/regex/v4/perl_matcher_non_recursive.hpp:978: undefined reference to `boost::re_detail::put_mem_block(void*)&#8217;<br />
collect2: ld returned 1 exit status<br />
Build error occurred, build is stopped<br />
Time consumed: 484  ms.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tiff</title>
		<link>http://beans.seartipy.com/2008/08/06/c-development-environment-on-windows-using-eclipse-ganymede-and-nuwen-mingw/#comment-137361</link>
		<dc:creator>Tiff</dc:creator>
		<pubDate>Mon, 06 Oct 2008 17:50:15 +0000</pubDate>
		<guid isPermaLink="false">http://beans.seartipy.com/?p=373#comment-137361</guid>
		<description>@Andre It would appear that you can't use gdb with it as distibuted....  QUOTE:

"If you want a debugger, instead of building gdb, I suggest using MSVC's excellent debugger. Look at libnuwen for an example of how to build programs with GNU Make and debug them with MSVC (hint: after running $(BATCH_FILE) , type devenv program.exe program.cc to open it up in the debugger). "</description>
		<content:encoded><![CDATA[<p>@Andre It would appear that you can&#8217;t use gdb with it as distibuted&#8230;.  QUOTE:</p>
<p>&#8220;If you want a debugger, instead of building gdb, I suggest using MSVC&#8217;s excellent debugger. Look at libnuwen for an example of how to build programs with GNU Make and debug them with MSVC (hint: after running $(BATCH_FILE) , type devenv program.exe program.cc to open it up in the debugger). &#8220;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andre</title>
		<link>http://beans.seartipy.com/2008/08/06/c-development-environment-on-windows-using-eclipse-ganymede-and-nuwen-mingw/#comment-137256</link>
		<dc:creator>Andre</dc:creator>
		<pubDate>Wed, 27 Aug 2008 17:26:54 +0000</pubDate>
		<guid isPermaLink="false">http://beans.seartipy.com/?p=373#comment-137256</guid>
		<description>Tk´s! This is what I was looking for. A modern version of GCC.

I have only one doubt. Can I use GDB with this version of MinGW?</description>
		<content:encoded><![CDATA[<p>Tk´s! This is what I was looking for. A modern version of GCC.</p>
<p>I have only one doubt. Can I use GDB with this version of MinGW?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
