Hi Stephen,<div><br></div><div>That's OK. :-)</div><div>Thanks for your reply.</div><div><br></div><div>Regards,<br><br><div class="gmail_quote">2013/3/14 Stephen Woodbridge <span dir="ltr"><<a href="mailto:woodbri@swoodbridge.com" target="_blank">woodbri@swoodbridge.com</a>></span><br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Sanak,<br>
<br>
Awesome! that works now just fine and dandy. Thank you for sorting that out as it saved me a lot of time that I would rather put toward moving the other changes along.<br>
<br>
Thanks again,<br>
  -Steve<div><br>
<br>
On 3/13/2013 10:44 AM, sanak wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Stephen,<div><br>
I have updated the MinGW32/64 build instruction,<br>
so, could you retry from boost build?<br>
(Sorry, gcc PATH settings is not necessary, because msys.bat path<br>
settings seems to be inherited by command prompt.)<br>
<a href="https://github.com/sanak/pgrouting4w/commit/e5ae697b3cb545b002702eda62c2909382ae4521" target="_blank">https://github.com/sanak/<u></u>pgrouting4w/commit/<u></u>e5ae697b3cb545b002702eda62c290<u></u>9382ae4521</a><br>


Regards,<br>
<br></div>
2013/3/13 sanak <<a href="mailto:geosanak@gmail.com" target="_blank">geosanak@gmail.com</a> <mailto:<a href="mailto:geosanak@gmail.com" target="_blank">geosanak@gmail.com</a>>><div><br>
<br>
    Hi Stephen,<br>
    Oops, sorry, my boost_1_46_1/tools/build/bjam.<u></u>log shows "msvc10"<br>
    which I have installed...<br>
<br>
    I will check after returning from work. (about 12 hour later)<br>
    Regards,<br>
    2013/3/13 Stephen Woodbridge <<a href="mailto:woodbri@swoodbridge.com" target="_blank">woodbri@swoodbridge.com</a><br></div>
    <mailto:<a href="mailto:woodbri@swoodbridge.com" target="_blank">woodbri@swoodbridge.<u></u>com</a>>><div><br>
<br>
        OK, it looks like I have solved ISSUE 2, I think this was caused<br>
        because I built boost with the 32 bit model in the 64 bit<br>
        environment. I still can not not get ISSUE 1 to resolve and I<br>
        had to rebuild it using the bjam I built under 1_51.<br>
<br>
        To fix ISSUE to:<br>
<br>
        1. rebuilt boost_1_46_1 as 64 bit model using bjam from 1_51<br>
        2. rebuild CGAL<br>
        3. rebuild pgrouting<br>
<br>
        So I have at least on cuild of pgRouting<br>
<br>
        So making progress in small steps :)<br>
<br>
        If you have any additional thoughts on getting boost to build<br>
        they would be appreciated.<br>
<br>
        In my msys.bat shell, I have:<br>
<br></div>
        PATH=/c/ming64/mingw64/bin/:/_<u></u>_home/woodbri/bin:.:/usr/<u></u>local/__bin:/mingw/bin:/bin:/<u></u>c/oracle/__product/10.2.0/db_<u></u>1/bin:/c/__Windows/system32:/<u></u>c/Windows:/__c/Windows/<u></u>System32/Wbem:/c/__Windows/<u></u>System32/__WindowsPowerShell/<u></u>v1.0/:/c/__Program<div>

<br>
        Files (x86)/QuickTime/QTSystem/<br>
<br>
        Thanks,<br>
           -Steve<br>
<br>
<br>
        On 3/12/2013 11:34 AM, Stephen Woodbridge wrote:<br>
<br>
            Hi Sanak,<br>
<br>
            I'm still have an issue with this. Hopefully I followed your<br>
            changes<br>
            correctly:<br>
<br>
            In my msys.bat shell I added the to the path:<br>
            /c/ming64/mingw64/bin/, I<br>
            have /c/ming64/ and /c/ming32/ trees setup so I can build on<br>
            either.<br>
<br>
            start cmd<br>
            gcc -v               # is found and run<br>
            bootstrap.bat gcc    # fails<br>
            bootstrap.bat mingw  # fails<br>
<br>
            exit<br>
<br>
            $ cat tools/build/bjam.log<br>
            ###<br>
            ### Using 'msvc' toolset.<br>
            ###<br>
<br></div>
            c:\ming64\projects\boost_1_46_<u></u>__1\tools\build\v2\engine\src><u></u>if<div><br>
            exist<br>
            bootstrap rd /S /Q bootstrap<br>
<br></div>
            c:\ming64\projects\boost_1_46_<u></u>__1\tools\build\v2\engine\src><u></u>md<br>
            bootstrap<br>
<br>
            c:\ming64\projects\boost_1_46_<u></u>__1\tools\build\v2\engine\src><u></u>cl<div><br>
            /nologo /GZ<br>
            /Zi /MLd /Fobootstrap/ /Fdbootstrap/ -DNT -DYYDEBUG kernel32.lib<br>
            advapi32.lib user32.lib /Febootstrap\jam0  command.c<br>
            compile.c debug.c<br>
            execnt.c expand.c filent.c glob.c hash.c hdrmacro.c<br>
            headers.c jam.c<br>
            jambase.c jamgram.c lists.c make.c make1.c newstr.c option.c<br>
            output.c<br>
            parse.c pathunix.c regexp.c rules.c scan.c search.c subst.c<br>
            timestamp.c<br>
            variable.c modules.c strings.c filesys.c builtins.c md5.c<br>
            pwd.c class.c<br>
            w32_getreg.c native.c modules/set.c modules/path.c<br>
            modules/regex.c<br>
            modules/property-set.c modules/sequence.c modules/order.c<br>
<br></div>
            I looked at tools/build/v2/engine/src/__<u></u>build.bat but I'm<div><br>
            not very<br>
            familiar with windows bat files.<br>
<br>
            -Steve<br>
<br>
            On 3/12/2013 9:15 AM, sanak wrote:<br>
<br>
                Hi Stephen,<br>
                I updated MinGW32/64 build instruction to my "mingw" branch,<br>
                and checked that MinGW64-bit build successed. (but not<br>
                tested)<br></div>
                <a href="https://github.com/sanak/__pgrouting4w/commit/__2a660524b53bcd80005e52917af5b3__2b31749559" target="_blank">https://github.com/sanak/__<u></u>pgrouting4w/commit/__<u></u>2a660524b53bcd80005e52917af5b3<u></u>__2b31749559</a><div>

<br>
                <<a href="https://github.com/sanak/pgrouting4w/commit/2a660524b53bcd80005e52917af5b32b31749559" target="_blank">https://github.com/sanak/<u></u>pgrouting4w/commit/<u></u>2a660524b53bcd80005e52917af5b3<u></u>2b31749559</a>><br>


<br>
                so, retry from boost build about ISSUE1. (Thanks Pieter!)<br>
                Regards,<br>
                2013/3/12 Stephen Woodbridge <<a href="mailto:woodbri@swoodbridge.com" target="_blank">woodbri@swoodbridge.com</a><br>
                <mailto:<a href="mailto:woodbri@swoodbridge.com" target="_blank">woodbri@swoodbridge.<u></u>com</a>><br></div>
                <mailto:<a href="mailto:woodbri@swoodbridge." target="_blank">woodbri@swoodbridge.</a>__<u></u>com<div><br>
                <mailto:<a href="mailto:woodbri@swoodbridge.com" target="_blank">woodbri@swoodbridge.<u></u>com</a>>>><br>
<br>
                     Hi all,<br>
<br>
                     I'm stuck at the moment trying to link the<br>
                pgrouting driving<br>
                     directions module using mingw 64 bit. See the<br>
                issues below. So if<br>
                     anyone has any thoughts on this it would be<br>
                appreciated. I will<br>
                     check the current state of the files into my branch<br>
                in the morning<br>
                     here (GMT-5) if you are setup to reproduce this. It<br>
                is too late to<br>
                     do it with a clear head tonight. I'll also move it<br>
                back to Linux and<br>
                     try again there as I have changed a lot of files.<br>
<br>
                     Thanks,<br>
                        -Steve<br>
<br>
                     I have followed Sanak's directions from:<br></div>
                <a href="https://github.com/sanak/____pgrouting4w/blob/master/BUILD.____mingw64" target="_blank">https://github.com/sanak/____<u></u>pgrouting4w/blob/master/BUILD.<u></u>____mingw64</a><br>
                <<a href="https://github.com/sanak/__pgrouting4w/blob/master/BUILD.__mingw64" target="_blank">https://github.com/sanak/__<u></u>pgrouting4w/blob/master/BUILD.<u></u>__mingw64</a>><div><br>

<br>
                <<a href="https://github.com/sanak/__pgrouting4w/blob/master/BUILD.__mingw64" target="_blank">https://github.com/sanak/__<u></u>pgrouting4w/blob/master/BUILD.<u></u>__mingw64</a><br>
                <<a href="https://github.com/sanak/pgrouting4w/blob/master/BUILD.mingw64" target="_blank">https://github.com/sanak/<u></u>pgrouting4w/blob/master/BUILD.<u></u>mingw64</a>>><br>
<br>
                     ISSUE 1:<br>
<br>
                     I first installed boost_1_51.zip but ran into<br>
                problems compiling so<br>
                     installed boost_1_46_1.zip as he suggested. I was<br>
                able to bootstrap<br>
                     1_51 and get a bjam.exe without a problem. But I<br>
                could not get<br>
                     1_46_1 to bootstrap :(<br>
<br>
                     Microsoft Windows [Version 6.1.7601]<br>
                     Copyright (c) 2009 Microsoft Corporation.  All<br>
                rights reserved.<br>
<br></div>
                     c:\ming64\projects\boost_1_46_<u></u>____1>bootstrap.bat mingw<div><br>
                     Building Boost.Jam build engine<br>
                     'cl' is not recognized as an internal or external<br>
                command,<br>
                     operable program or batch file.<br>
<br>
                     Failed to build Boost.Jam build engine.<br>
                     Please consult bjam.log for furter diagnostics.<br>
<br>
                     You can try to obtain a prebuilt binary from<br>
<br>
<br></div>
                <a href="http://sf.net/project/____showfiles.php?group_id=7586&____package_id=72941" target="_blank">http://sf.net/project/____<u></u>showfiles.php?group_id=7586&__<u></u>__package_id=72941</a><br>


                <<a href="http://sf.net/project/__showfiles.php?group_id=7586&__package_id=72941" target="_blank">http://sf.net/project/__<u></u>showfiles.php?group_id=7586&__<u></u>package_id=72941</a>><div>

<br>
<br>
                <<a href="http://sf.net/project/__showfiles.php?group_id=7586&__package_id=72941" target="_blank">http://sf.net/project/__<u></u>showfiles.php?group_id=7586&__<u></u>package_id=72941</a><br>
                <<a href="http://sf.net/project/showfiles.php?group_id=7586&package_id=72941" target="_blank">http://sf.net/project/<u></u>showfiles.php?group_id=7586&<u></u>package_id=72941</a>>><br>
<br>
                     Also, you can file an issue at <a href="http://svn.boost.org" target="_blank">http://svn.boost.org</a><br>
                     Please attach bjam.log in that case.<br>
<br></div>
                     c:\ming64\projects\boost_1_46_<u></u>____1><div><br>
<br>
                     So I built 1_46_1 using the bjam.exe that I built<br>
                in 1_51 and it<br>
                     seems to have worked ok, but maybe that is part of<br>
                the problem.<br>
<br>
                     ISSUE 2:<br>
<br>
                     Is the follow mess from the linker<br>
<br>
                     Scanning dependencies of target routing_dd<br>
                     [ 80%] Building C object<br>
<br></div>
                core/driving_distance/src/____<u></u>CMakeFiles/routing_dd.dir/____<u></u>alpha.c.obj<br>
                     [ 86%] Building CXX object<br>
<br>
                core/driving_distance/src/____<u></u>CMakeFiles/routing_dd.dir/____<u></u>alpha_drivedist.cpp.obj<br>
<br>
                     In file included from<br>
<br>
                c:/ming64/projects/pgx64/pg92/<u></u>____include/postgresql/server/<u></u>__pg___config_os.h:37:0,<br>
<br>
                                       from<br>
<br>
                c:/ming64/projects/pgx64/pg92/<u></u>____include/postgresql/server/<u></u>c.__h:__87,<br>
                                       from<br>
<br>
                c:/ming64/projects/pgx64/pg92/<u></u>____include/postgresql/server/<u></u>____postgres.h:47,<br>
<br>
                                       from<br>
<br>
                c:/ming64/projects/pgrouting/_<u></u>___core/driving_distance/src/_<u></u>___alpha.h:27,<br>
                                       from<br>
<br>
                c:/ming64/projects/pgrouting/_<u></u>___core/driving_distance/src/_<u></u>___alpha_drivedist.cpp:46:<br>
<br>
<br>
                c:\ming64\mingw64\bin\../lib/_<u></u>___gcc/x86_64-w64-mingw32/4.5.<u></u>4/__.__./../../../x86_64-w64-_<u></u>_mingw32/__include/winsock2.h:<u></u>__13:2:<div><br>
<br>
                     warning: #warning Please include winsock2.h before<br>
                windows.h<br>
                     [ 93%] Building CXX object<br>
<br></div>
                core/driving_distance/src/____<u></u>CMakeFiles/routing_dd.dir/____<u></u>boost_drivedist.cpp.obj<br>
<br>
                     [100%] Building C object<br>
<br>
                core/driving_distance/src/____<u></u>CMakeFiles/routing_dd.dir/____<u></u>drivedist.c.obj<div><br>
                     Linking CXX shared library<br>
                ../../../lib/librouting_dd.dll<br>
                     Creating library file:<br></div>
                ../../../lib/librouting_dd.___<u></u>_dll.a<br>
<br>
                c:/ming64/msys/local/lib/____<u></u>libboost_thread-mgw45-mt-1_46_<u></u>____1.a(thread.o):<br>
                     duplicate section<br>
<br>
                `.data$_ZTVN5boost16exception_<u></u>____detail10clone_implINS0____<u></u>_19error_info_injectorISt9bad_<u></u>____allocEEEE[vtable<br>
<br>
                     for<br>
<br>
                boost::exception_detail::____<u></u>clone_impl<boost::exception___<u></u>__detail::error_info_injector<<u></u>____std::bad_alloc><br>
<br>
                      >]' has different size<br>
<br>
                c:/ming64/msys/local/lib/____<u></u>libCGAL.a(all_files.cpp.obj):_<u></u>___all_files.cpp:(.text+<u></u>0xf898):<br>
<br>
                     undefined reference to<br>
                  `boost::system::generic_____<u></u>category()'<br>
<br>
                c:/ming64/msys/local/lib/____<u></u>libCGAL.a(all_files.cpp.obj):_<u></u>___all_files.cpp:(.text+<u></u>0xf8a4):<br>
<br>
                     undefined reference to<br>
                `boost::system::generic_____<u></u>category()'<br>
<br>
                c:/ming64/msys/local/lib/____<u></u>libCGAL.a(all_files.cpp.obj):_<u></u>___all_files.cpp:(.text+<u></u>0xf8b0):<br>
<br>
                     undefined reference to<br>
                `boost::system::system_____<u></u>category()'<div><br>
                     collect2: ld returned 1 exit status<br>
                     make[2]: *** [lib/librouting_dd.dll] Error 1<br>
                     make[1]: ***<br>
<br></div>
                [core/driving_distance/src/___<u></u>_CMakeFiles/routing_dd.dir/<u></u>all]<div><br>
                Error 2<br>
                     make: *** [all] Error 2<br></div>
                     ______________________________<u></u>_____________________<div><br>
                     pgrouting-dev mailing list<br>
                <a href="mailto:pgrouting-dev@lists.osgeo.org" target="_blank">pgrouting-dev@lists.osgeo.org</a><br>
                <mailto:<a href="mailto:pgrouting-dev@lists.osgeo.org" target="_blank">pgrouting-dev@lists.<u></u>osgeo.org</a>><br></div>
                <mailto:<a href="mailto:pgrouting-dev@lists." target="_blank">pgrouting-dev@lists.</a>__<a href="http://osgeo.org" target="_blank"><u></u>osgeo.org</a><br>
                <mailto:<a href="mailto:pgrouting-dev@lists.osgeo.org" target="_blank">pgrouting-dev@lists.<u></u>osgeo.org</a>>><br>
                <a href="http://lists.osgeo.org/____mailman/listinfo/pgrouting-dev" target="_blank">http://lists.osgeo.org/____<u></u>mailman/listinfo/pgrouting-dev</a> <<a href="http://lists.osgeo.org/__mailman/listinfo/pgrouting-dev" target="_blank">http://lists.osgeo.org/__<u></u>mailman/listinfo/pgrouting-dev</a><u></u>><br>


<br>
                <<a href="http://lists.osgeo.org/__mailman/listinfo/pgrouting-dev" target="_blank">http://lists.osgeo.org/__<u></u>mailman/listinfo/pgrouting-dev</a><br>
                <<a href="http://lists.osgeo.org/mailman/listinfo/pgrouting-dev" target="_blank">http://lists.osgeo.org/<u></u>mailman/listinfo/pgrouting-dev</a><u></u>>__><div><div><br>
<br>
<br>
<br>
<br>
                ______________________________<u></u>___________________<br>
                pgrouting-dev mailing list<br>
                <a href="mailto:pgrouting-dev@lists.osgeo.org" target="_blank">pgrouting-dev@lists.osgeo.org</a><br>
                <mailto:<a href="mailto:pgrouting-dev@lists.osgeo.org" target="_blank">pgrouting-dev@lists.<u></u>osgeo.org</a>><br>
                <a href="http://lists.osgeo.org/__mailman/listinfo/pgrouting-dev" target="_blank">http://lists.osgeo.org/__<u></u>mailman/listinfo/pgrouting-dev</a><br>
                <<a href="http://lists.osgeo.org/mailman/listinfo/pgrouting-dev" target="_blank">http://lists.osgeo.org/<u></u>mailman/listinfo/pgrouting-dev</a><u></u>><br>
<br>
<br>
            ______________________________<u></u>___________________<br>
            pgrouting-dev mailing list<br>
            <a href="mailto:pgrouting-dev@lists.osgeo.org" target="_blank">pgrouting-dev@lists.osgeo.org</a><br>
            <mailto:<a href="mailto:pgrouting-dev@lists.osgeo.org" target="_blank">pgrouting-dev@lists.<u></u>osgeo.org</a>><br>
            <a href="http://lists.osgeo.org/__mailman/listinfo/pgrouting-dev" target="_blank">http://lists.osgeo.org/__<u></u>mailman/listinfo/pgrouting-dev</a><br>
            <<a href="http://lists.osgeo.org/mailman/listinfo/pgrouting-dev" target="_blank">http://lists.osgeo.org/<u></u>mailman/listinfo/pgrouting-dev</a><u></u>><br>
<br>
<br>
        ______________________________<u></u>___________________<br>
        pgrouting-dev mailing list<br>
        <a href="mailto:pgrouting-dev@lists.osgeo.org" target="_blank">pgrouting-dev@lists.osgeo.org</a> <mailto:<a href="mailto:pgrouting-dev@lists.osgeo.org" target="_blank">pgrouting-dev@lists.<u></u>osgeo.org</a>><br>


        <a href="http://lists.osgeo.org/__mailman/listinfo/pgrouting-dev" target="_blank">http://lists.osgeo.org/__<u></u>mailman/listinfo/pgrouting-dev</a><br>
        <<a href="http://lists.osgeo.org/mailman/listinfo/pgrouting-dev" target="_blank">http://lists.osgeo.org/<u></u>mailman/listinfo/pgrouting-dev</a><u></u>><br>
<br>
<br>
<br>
<br>
<br>
______________________________<u></u>_________________<br>
pgrouting-dev mailing list<br>
<a href="mailto:pgrouting-dev@lists.osgeo.org" target="_blank">pgrouting-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/pgrouting-dev" target="_blank">http://lists.osgeo.org/<u></u>mailman/listinfo/pgrouting-dev</a><br>
<br>
</div></div></blockquote><div><div>
<br>
______________________________<u></u>_________________<br>
pgrouting-dev mailing list<br>
<a href="mailto:pgrouting-dev@lists.osgeo.org" target="_blank">pgrouting-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/pgrouting-dev" target="_blank">http://lists.osgeo.org/<u></u>mailman/listinfo/pgrouting-dev</a><br>
</div></div></blockquote></div><br></div>