<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:p="urn:schemas-microsoft-com:office:powerpoint" xmlns:a="urn:schemas-microsoft-com:office:access" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema" xmlns:b="urn:schemas-microsoft-com:office:publisher" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:c="urn:schemas-microsoft-com:office:component:spreadsheet" xmlns:odc="urn:schemas-microsoft-com:office:odc" xmlns:oa="urn:schemas-microsoft-com:office:activation" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:q="http://schemas.xmlsoap.org/soap/envelope/" xmlns:rtc="http://microsoft.com/officenet/conferencing" xmlns:D="DAV:" xmlns:Repl="http://schemas.microsoft.com/repl/" xmlns:mt="http://schemas.microsoft.com/sharepoint/soap/meetings/" xmlns:x2="http://schemas.microsoft.com/office/excel/2003/xml" xmlns:ppda="http://www.passport.com/NameSpace.xsd" xmlns:ois="http://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir="http://schemas.microsoft.com/sharepoint/soap/directory/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:dsp="http://schemas.microsoft.com/sharepoint/dsp" xmlns:udc="http://schemas.microsoft.com/data/udc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sub="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/" xmlns:ec="http://www.w3.org/2001/04/xmlenc#" xmlns:sp="http://schemas.microsoft.com/sharepoint/" xmlns:sps="http://schemas.microsoft.com/sharepoint/soap/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:udcs="http://schemas.microsoft.com/data/udc/soap" xmlns:udcxf="http://schemas.microsoft.com/data/udc/xmlfile" xmlns:udcp2p="http://schemas.microsoft.com/data/udc/parttopart" xmlns:wf="http://schemas.microsoft.com/sharepoint/soap/workflow/" xmlns:dsss="http://schemas.microsoft.com/office/2006/digsig-setup" xmlns:dssi="http://schemas.microsoft.com/office/2006/digsig" xmlns:mdssi="http://schemas.openxmlformats.org/package/2006/digital-signature" xmlns:mver="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns:mrels="http://schemas.openxmlformats.org/package/2006/relationships" xmlns:spwp="http://microsoft.com/sharepoint/webpartpages" xmlns:ex12t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:ex12m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:pptsl="http://schemas.microsoft.com/sharepoint/soap/SlideLibrary/" xmlns:spsl="http://microsoft.com/webservices/SharePointPortalServer/PublishedLinksService" xmlns:Z="urn:schemas-microsoft-com:" xmlns:st="" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"MS 明朝";
        panose-1:2 2 6 9 4 2 5 8 3 4;}
@font-face
        {font-family:"MS 明朝";
        panose-1:2 2 6 9 4 2 5 8 3 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
        {font-family:"\@MS 明朝";
        panose-1:2 2 6 9 4 2 5 8 3 4;}
@font-face
        {font-family:"Lucida Console";
        panose-1:2 11 6 9 4 5 4 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
p.yiv1595475348msonormal, li.yiv1595475348msonormal, div.yiv1595475348msonormal
        {mso-style-name:yiv1595475348msonormal;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.yiv1595475348msochpdefault, li.yiv1595475348msochpdefault, div.yiv1595475348msochpdefault
        {mso-style-name:yiv1595475348msochpdefault;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.yiv1595475348msohyperlink
        {mso-style-name:yiv1595475348msohyperlink;}
span.yiv1595475348msohyperlinkfollowed
        {mso-style-name:yiv1595475348msohyperlinkfollowed;}
span.yiv1595475348emailstyle19
        {mso-style-name:yiv1595475348emailstyle19;}
p.yiv1595475348msonormal1, li.yiv1595475348msonormal1, div.yiv1595475348msonormal1
        {mso-style-name:yiv1595475348msonormal1;
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.yiv1595475348msohyperlink1
        {mso-style-name:yiv1595475348msohyperlink1;
        color:blue;
        text-decoration:underline;}
span.yiv1595475348msohyperlinkfollowed1
        {mso-style-name:yiv1595475348msohyperlinkfollowed1;
        color:purple;
        text-decoration:underline;}
span.yiv1595475348emailstyle191
        {mso-style-name:yiv1595475348emailstyle191;
        font-family:"Arial","sans-serif";
        color:#1F497D;}
p.yiv1595475348msochpdefault1, li.yiv1595475348msochpdefault1, div.yiv1595475348msochpdefault1
        {mso-style-name:yiv1595475348msochpdefault1;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:10.0pt;
        font-family:"Times New Roman","serif";}
span.yiv1595475348tab
        {mso-style-name:yiv1595475348tab;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;}
span.EmailStyle31
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:99.25pt 3.0cm 3.0cm 3.0cm;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Hi,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>I need the 64bit version of Gmsh for basically the same reason, lack of memory. I have some pretty large meshes and 32bit is just not enough. <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>I don’t have documentation  … I just tried step by step until finally it compiled. <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>I’ll try to explain what I did and maybe in the process we can spot some problems … maybe I can actually get my build working correctly as well.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Step 1: 64bit OCC -------------------------------------<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>So, the 1<sup>st</sup> step was getting a 64bit OCC build. I built one myself from the OCC sources, but for some reason, although the build was successful, Gmsh crashed. So I finally downloaded OCE 0.3.0 already built from here: https://github.com/tpaviot/oce/wiki/Download<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Step 2: 64bit BLAS  -------------------------------------<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>I don’t have a Fortran compiler for Windows, so I got CLapack 3.2.1 from here <a href="http://www.netlib.org/clapack/clapack-3.2.1-CMAKE.tgz">http://www.netlib.org/clapack/clapack-3.2.1-CMAKE.tgz</a> and built it with VS2010. Had no problems.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Step 3: Hacking a bit the CMake script<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>So Gmsh kept looking for MKL and the Intel Fortran compiler, so I just hard-coded CLAPACK in the CMakeLists.txt you find in the root Gmsh directory.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>So, my BLAS detection section now looks like the following (starting at line 189 in CMakeLists.txt):<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console";color:#BFBF00'>if</span><span style='font-size:9.0pt;font-family:"Lucida Console";color:#00BFBF'>(ENABLE_BLAS_LAPACK)<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console"'>  <span style='color:#BFBF00'>if</span><span style='color:#00BFBF'>(</span>MSVC<span style='color:#00BFBF'>)<o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console"'>    <span style='color:#0000BF'># on Windows with Visual C++ try really hard to find blas/lapack<o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console"'>    <span style='color:#0000BF'># *without* requiring a Fortran compiler: 1) try to find the Intel<o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console"'>    <span style='color:#0000BF'># MKL libs using the standard search path; if not found 2) try to<o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console"'>    <span style='color:#0000BF'># get the reference blas/lapack libs (useful for users with no<o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console"'>    <span style='color:#0000BF'># Fortran compiler and no MKL license, who can just download our<o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console"'>    <span style='color:#0000BF'># precompiled "gmsh-dep" package)<o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console"'>    <span style='color:#BFBF00'>if</span><span style='color:#00BFBF'>(HAVE_64BIT_SIZE_T)<o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console"'>      <span style='color:#BFBF00'>set</span><span style='color:#00BFBF'>(MKL_PATH em64t/lib)<o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console"'>    <span style='color:#BFBF00'>else</span><span style='color:#00BFBF'>(HAVE_64BIT_SIZE_T)<o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console"'>      <span style='color:#BFBF00'>set</span><span style='color:#00BFBF'>(MKL_PATH ia32/lib)<o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console"'>    <span style='color:#BFBF00'>endif</span><span style='color:#00BFBF'>(HAVE_64BIT_SIZE_T)<o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console"'>        <span style='color:#BFBF00'>set</span><span style='color:#00BFBF'>(MKL_PATH </span><span style='color:#BF0000'>"C:\</span><span style='color:#BFBF00'>Program</span><span style='color:#BF0000'> Files</span><span style='color:#00BFBF'> (x86)</span><span style='color:#BF0000'>\Intel\ComposerXE-2011\mkl\lib\intel64"</span><span style='color:#00BFBF'>)<o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console"'>    <span style='color:#BFBF00'>set</span><span style='color:#00BFBF'>(MKL_LIBS_REQUIRED libguide40 mkl_intel_c mkl_intel_thread mkl_core)<o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console"'>        <span style='color:#BFBF00'>MESSAGE</span><span style='color:#00BFBF'>(</span><span style='color:#00BF00'>${MKL_PATH}</span><span style='color:#00BFBF'>)<o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console"'>    find_all_libraries<span style='color:#00BFBF'>(LAPACK_LIBRARIES MKL_LIBS_REQUIRED </span><span style='color:#BF0000'>""</span><span style='color:#00BFBF'> </span><span style='color:#00BF00'>${MKL_PATH}</span><span style='color:#00BFBF'>)<o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console"'>    <span style='color:#BFBF00'>if</span><span style='color:#00BFBF'>(LAPACK_LIBRARIES)<o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console"'>      set_config_option<span style='color:#00BFBF'>(HAVE_BLAS </span><span style='color:#BF0000'>"Blas</span><span style='color:#00BFBF'>(IntelMKL)</span><span style='color:#BF0000'>"</span><span style='color:#00BFBF'>)<o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console"'>      set_config_option<span style='color:#00BFBF'>(HAVE_LAPACK </span><span style='color:#BF0000'>"Lapack</span><span style='color:#00BFBF'>(IntelMKL)</span><span style='color:#BF0000'>"</span><span style='color:#00BFBF'>)<o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console"'>    <span style='color:#BFBF00'>else</span><span style='color:#00BFBF'>(LAPACK_LIBRARIES)<o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console"'>      <span style='color:#0000BF'>#set(REFLAPACK_LIBS_REQUIRED lapack blas g2c gcc)<o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console"'>      <span style='color:#0000BF'>#find_all_libraries(LAPACK_LIBRARIES REFLAPACK_LIBS_REQUIRED "" "")<o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console"'>      <span style='color:#0000BF'>#if(REFLAPACK_LIBS_REQUIRED)<o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console"'>      <span style='color:#0000BF'>#  set_config_option(HAVE_BLAS "Blas(Ref)")<o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console"'>      <span style='color:#0000BF'>#  set_config_option(HAVE_LAPACK "Lapack(Ref)")<o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console";color:#0000BF'><o:p> </o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console";color:#BF0000'>          </span><span style='font-size:9.0pt;font-family:"Lucida Console";color:#BFBF00'>SET</span><span style='font-size:9.0pt;font-family:"Lucida Console";color:#00BFBF'>(LAPACK_LIBRARIES </span><span style='font-size:9.0pt;font-family:"Lucida Console";color:#BF0000'>"C:\\Users\\SGeorgescu\\Programs\\clapack-3.2.1-CMAKE\\build64\\SRC\\Release\\lapack.lib"</span><span style='font-size:9.0pt;font-family:"Lucida Console";color:#00BFBF'>                                   <o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console";color:#00BFBF'>                               </span><span style='font-size:9.0pt;font-family:"Lucida Console";color:#BF0000'>"C:\\Users\\SGeorgescu\\Programs\\clapack-3.2.1-CMAKE\\build64\\BLAS\\SRC\\Release\\blas.lib"<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console";color:#00BFBF'>                               </span><span style='font-size:9.0pt;font-family:"Lucida Console";color:#BF0000'>"C:\\Users\\SGeorgescu\\Programs\\clapack-3.2.1-CMAKE\\build64\\F2CLIBS\\libf2c\\Release\\libf2c.lib"</span><span style='font-size:9.0pt;font-family:"Lucida Console";color:#00BFBF'>)</span><span style='font-size:9.0pt;font-family:"Lucida Console";color:#BF0000'>  <o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console";color:#BF0000'>          </span><span style='font-size:9.0pt;font-family:"Lucida Console";color:#BFBF00'>if</span><span style='font-size:9.0pt;font-family:"Lucida Console";color:#00BFBF'>(CLAPACK_LIBS_REQUIRED)<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console";color:#BF0000'>              set_config_option</span><span style='font-size:9.0pt;font-family:"Lucida Console";color:#00BFBF'>(HAVE_BLAS </span><span style='font-size:9.0pt;font-family:"Lucida Console";color:#BF0000'>"Blas</span><span style='font-size:9.0pt;font-family:"Lucida Console";color:#00BFBF'>(cblas)</span><span style='font-size:9.0pt;font-family:"Lucida Console";color:#BF0000'>"</span><span style='font-size:9.0pt;font-family:"Lucida Console";color:#00BFBF'>)<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console";color:#BF0000'>              set_config_option</span><span style='font-size:9.0pt;font-family:"Lucida Console";color:#00BFBF'>(HAVE_LAPACK </span><span style='font-size:9.0pt;font-family:"Lucida Console";color:#BF0000'>"Lapack</span><span style='font-size:9.0pt;font-family:"Lucida Console";color:#00BFBF'>(clapack)</span><span style='font-size:9.0pt;font-family:"Lucida Console";color:#BF0000'>"</span><span style='font-size:9.0pt;font-family:"Lucida Console";color:#00BFBF'>)<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console";color:#BF0000'>          </span><span style='font-size:9.0pt;font-family:"Lucida Console";color:#BFBF00'>endif</span><span style='font-size:9.0pt;font-family:"Lucida Console";color:#00BFBF'>(CLAPACK_LIBS_REQUIRED)<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console";color:#BF0000'>    </span><span style='font-size:9.0pt;font-family:"Lucida Console";color:#BFBF00'>endif</span><span style='font-size:9.0pt;font-family:"Lucida Console";color:#00BFBF'>(LAPACK_LIBRARIES)<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console";color:#BF0000'>  elseif</span><span style='font-size:9.0pt;font-family:"Lucida Console";color:#00BFBF'>(</span><span style='font-size:9.0pt;font-family:"Lucida Console";color:#00BF00'>${CMAKE_SYSTEM_NAME}</span><span style='font-size:9.0pt;font-family:"Lucida Console";color:#00BFBF'> </span><span style='font-size:9.0pt;font-family:"Lucida Console";color:#BFBF00'>MATCHES</span><span style='font-size:9.0pt;font-family:"Lucida Console";color:#00BFBF'> </span><span style='font-size:9.0pt;font-family:"Lucida Console";color:#BF0000'>"Linux"</span><span style='font-size:9.0pt;font-family:"Lucida Console";color:#00BFBF'>)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>…………………………<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>where “</span><span style='font-size:9.0pt;font-family:"Lucida Console";color:#BF0000'>C:\\Users\\SGeorgescu\\Programs\\clapack-3.2.1-CMAKE\\build64”</span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> is the folder where I built CLAPACK.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>I had to do the same for OCC, since CMake kept detecting my 32bit installation of OCC instead of the 64bit one … <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>So, instead of the cmake code you get starting from line 715, which is<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console";color:#BFBF00'>  foreach</span><span style='font-size:9.0pt;font-family:"Lucida Console";color:#00BFBF'>(OCC </span><span style='font-size:9.0pt;font-family:"Lucida Console";color:#00BF00'>${OCC_LIBS_REQUIRED}</span><span style='font-size:9.0pt;font-family:"Lucida Console";color:#00BFBF'>)<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console"'>    <span style='color:#BFBF00'>find_library</span><span style='color:#00BFBF'>(OCC_LIB </span><span style='color:#00BF00'>${OCC}</span><span style='color:#00BFBF'> </span><span style='color:#BFBF00'>PATHS</span><span style='color:#00BFBF'> ENV CASROOT PATH_SUFFIXES lib<o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console";color:#00BFBF'>                 </span><span style='font-size:9.0pt;font-family:"Lucida Console";color:#00BF00'>${OCC_SYS_NAME}</span><span style='font-size:9.0pt;font-family:"Lucida Console";color:#00BFBF'>/lib </span><span style='font-size:9.0pt;font-family:"Lucida Console";color:#00BF00'>${OCC_SYS_NAME}</span><span style='font-size:9.0pt;font-family:"Lucida Console";color:#00BFBF'>/vc8/lib)<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console"'>    <span style='color:#BFBF00'>if</span><span style='color:#00BFBF'>(OCC_LIB)<o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console"'>      <span style='color:#BFBF00'>list</span><span style='color:#00BFBF'>(APPEND OCC_LIBS </span><span style='color:#00BF00'>${OCC_LIB}</span><span style='color:#00BFBF'>)<o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console"'>    <span style='color:#BFBF00'>else</span><span style='color:#00BFBF'>(OCC_LIB)<o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console"'>      <span style='color:#BFBF00'>message</span><span style='color:#00BFBF'>(STATUS </span><span style='color:#BF0000'>"OCC lib "</span><span style='color:#00BFBF'> </span><span style='color:#00BF00'>${OCC}</span><span style='color:#00BFBF'> </span><span style='color:#BF0000'>" </span><span style='color:#BFBF00'>not</span><span style='color:#BF0000'> Found"</span><span style='color:#00BFBF'>)<o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console"'>    <span style='color:#BFBF00'>endif</span><span style='color:#00BFBF'>(OCC_LIB)<o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console"'>    <span style='color:#BFBF00'>set</span><span style='color:#00BFBF'>(OCC_LIB OCC_LIB-NOTFOUND </span><span style='color:#BFBF00'>CACHE</span><span style='color:#00BFBF'> </span><span style='color:#BFBF00'>INTERNAL</span><span style='color:#00BFBF'> </span><span style='color:#BF0000'>""</span><span style='color:#00BFBF'>)<o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console"'>    <span style='color:#0000BF'># unset(OCC_LIB CACHE) # cleaner, but only available in cmake >= 2.6.4<o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console"'>  <span style='color:#BFBF00'>endforeach</span><span style='color:#00BFBF'>(OCC)<o:p></o:p></span></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>now I have:<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console"'>  <span style='color:#BFBF00'>foreach</span><span style='color:#00BFBF'>(OCC </span><span style='color:#00BF00'>${OCC_LIBS_REQUIRED}</span><span style='color:#00BFBF'>)<o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console"'>    <span style='color:#BFBF00'>find_library</span><span style='color:#00BFBF'>(OCC_LIB </span><span style='color:#00BF00'>${OCC}</span><span style='color:#00BFBF'> </span><span style='color:#BFBF00'>PATHS</span><span style='color:#00BFBF'> ENV CASROOT PATH_SUFFIXES lib<o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console";color:#00BFBF'>                 </span><span style='font-size:9.0pt;font-family:"Lucida Console";color:#00BF00'>${OCC_SYS_NAME}</span><span style='font-size:9.0pt;font-family:"Lucida Console";color:#00BFBF'>/lib </span><span style='font-size:9.0pt;font-family:"Lucida Console";color:#00BF00'>${OCC_SYS_NAME}</span><span style='font-size:9.0pt;font-family:"Lucida Console";color:#00BFBF'>/vc8/lib)<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console"'>    <span style='color:#BFBF00'>if</span><span style='color:#00BFBF'>(OCC_LIB)<o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console"'>           <span style='color:#BFBF00'>SET</span><span style='color:#00BFBF'>(OCC_LIB_W64 </span><span style='color:#BF0000'>"C:\\Users\\SGeorgescu\\Programs\\oce-0.3\\Win64\\lib/TKSTEP.lib"<o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console";color:#00BFBF'>            </span><span style='font-size:9.0pt;font-family:"Lucida Console";color:#BF0000'>"C:\\Users\\SGeorgescu\\Programs\\oce-0.3\\Win64\\lib/TKSTEP209.lib"<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console";color:#00BFBF'>                        </span><span style='font-size:9.0pt;font-family:"Lucida Console";color:#BF0000'>"C:\\Users\\SGeorgescu\\Programs\\oce-0.3\\Win64\\lib/TKSTEPAttr.lib"<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console";color:#00BFBF'>                        </span><span style='font-size:9.0pt;font-family:"Lucida Console";color:#BF0000'>"C:\\Users\\SGeorgescu\\Programs\\oce-0.3\\Win64\\lib/TKSTEPBase.lib"<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console";color:#00BFBF'>                        </span><span style='font-size:9.0pt;font-family:"Lucida Console";color:#BF0000'>"C:\\Users\\SGeorgescu\\Programs\\oce-0.3\\Win64\\lib/TKIGES.lib"<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console";color:#00BFBF'>                        </span><span style='font-size:9.0pt;font-family:"Lucida Console";color:#BF0000'>"C:\\Users\\SGeorgescu\\Programs\\oce-0.3\\Win64\\lib/TKXSBase.lib"<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console";color:#00BFBF'>                        </span><span style='font-size:9.0pt;font-family:"Lucida Console";color:#BF0000'>"C:\\Users\\SGeorgescu\\Programs\\oce-0.3\\Win64\\lib/TKOffset.lib"<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console";color:#00BFBF'>                        </span><span style='font-size:9.0pt;font-family:"Lucida Console";color:#BF0000'>"C:\\Users\\SGeorgescu\\Programs\\oce-0.3\\Win64\\lib/TKFeat.lib"<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console";color:#00BFBF'>                        </span><span style='font-size:9.0pt;font-family:"Lucida Console";color:#BF0000'>"C:\\Users\\SGeorgescu\\Programs\\oce-0.3\\Win64\\lib/TKFillet.lib"<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console";color:#00BFBF'>                        </span><span style='font-size:9.0pt;font-family:"Lucida Console";color:#BF0000'>"C:\\Users\\SGeorgescu\\Programs\\oce-0.3\\Win64\\lib/TKBool.lib"<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console";color:#00BFBF'>                        </span><span style='font-size:9.0pt;font-family:"Lucida Console";color:#BF0000'>"C:\\Users\\SGeorgescu\\Programs\\oce-0.3\\Win64\\lib/TKShHealing.lib"<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console";color:#00BFBF'>                        </span><span style='font-size:9.0pt;font-family:"Lucida Console";color:#BF0000'>"C:\\Users\\SGeorgescu\\Programs\\oce-0.3\\Win64\\lib/TKMesh.lib"<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console";color:#00BFBF'>                        </span><span style='font-size:9.0pt;font-family:"Lucida Console";color:#BF0000'>"C:\\Users\\SGeorgescu\\Programs\\oce-0.3\\Win64\\lib/TKHLR.lib"<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console";color:#00BFBF'>                        </span><span style='font-size:9.0pt;font-family:"Lucida Console";color:#BF0000'>"C:\\Users\\SGeorgescu\\Programs\\oce-0.3\\Win64\\lib/TKBO.lib"<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console";color:#00BFBF'>                        </span><span style='font-size:9.0pt;font-family:"Lucida Console";color:#BF0000'>"C:\\Users\\SGeorgescu\\Programs\\oce-0.3\\Win64\\lib/TKPrim.lib"<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console";color:#00BFBF'>                        </span><span style='font-size:9.0pt;font-family:"Lucida Console";color:#BF0000'>"C:\\Users\\SGeorgescu\\Programs\\oce-0.3\\Win64\\lib/TKTopAlgo.lib"<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console";color:#00BFBF'>                        </span><span style='font-size:9.0pt;font-family:"Lucida Console";color:#BF0000'>"C:\\Users\\SGeorgescu\\Programs\\oce-0.3\\Win64\\lib/TKGeomAlgo.lib"<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console";color:#00BFBF'>                        </span><span style='font-size:9.0pt;font-family:"Lucida Console";color:#BF0000'>"C:\\Users\\SGeorgescu\\Programs\\oce-0.3\\Win64\\lib/TKBRep.lib"<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console";color:#00BFBF'>                        </span><span style='font-size:9.0pt;font-family:"Lucida Console";color:#BF0000'>"C:\\Users\\SGeorgescu\\Programs\\oce-0.3\\Win64\\lib/TKGeomBase.lib"<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console";color:#00BFBF'>                        </span><span style='font-size:9.0pt;font-family:"Lucida Console";color:#BF0000'>"C:\\Users\\SGeorgescu\\Programs\\oce-0.3\\Win64\\lib/TKG3d.lib"<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console";color:#00BFBF'>                        </span><span style='font-size:9.0pt;font-family:"Lucida Console";color:#BF0000'>"C:\\Users\\SGeorgescu\\Programs\\oce-0.3\\Win64\\lib/TKG2d.lib"<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console";color:#00BFBF'>                        </span><span style='font-size:9.0pt;font-family:"Lucida Console";color:#BF0000'>"C:\\Users\\SGeorgescu\\Programs\\oce-0.3\\Win64\\lib/TKAdvTools.lib"<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console";color:#00BFBF'>                        </span><span style='font-size:9.0pt;font-family:"Lucida Console";color:#BF0000'>"C:\\Users\\SGeorgescu\\Programs\\oce-0.3\\Win64\\lib/TKMath.lib"<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console";color:#00BFBF'>                        </span><span style='font-size:9.0pt;font-family:"Lucida Console";color:#BF0000'>"C:\\Users\\SGeorgescu\\Programs\\oce-0.3\\Win64\\lib/TKernel.lib"</span><span style='font-size:9.0pt;font-family:"Lucida Console";color:#00BFBF'>)<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console"'>      <span style='color:#BFBF00'>list</span><span style='color:#00BFBF'>(APPEND OCC_LIBS </span><span style='color:#00BF00'>${OCC_LIB}</span><span style='color:#00BFBF'>)<o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console"'>    <span style='color:#BFBF00'>else</span><span style='color:#00BFBF'>(OCC_LIB)<o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console"'>      <span style='color:#BFBF00'>message</span><span style='color:#00BFBF'>(STATUS </span><span style='color:#BF0000'>"OCC lib "</span><span style='color:#00BFBF'> </span><span style='color:#00BF00'>${OCC}</span><span style='color:#00BFBF'> </span><span style='color:#BF0000'>" </span><span style='color:#BFBF00'>not</span><span style='color:#BF0000'> Found"</span><span style='color:#00BFBF'>)<o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console"'>    <span style='color:#BFBF00'>endif</span><span style='color:#00BFBF'>(OCC_LIB)<o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console"'>    <span style='color:#BFBF00'>set</span><span style='color:#00BFBF'>(OCC_LIB OCC_LIB-NOTFOUND </span><span style='color:#BFBF00'>CACHE</span><span style='color:#00BFBF'> </span><span style='color:#BFBF00'>INTERNAL</span><span style='color:#00BFBF'> </span><span style='color:#BF0000'>""</span><span style='color:#00BFBF'>)<o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console"'>    <span style='color:#0000BF'># unset(OCC_LIB CACHE) # cleaner, but only available in cmake >= 2.6.4<o:p></o:p></span></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console"'>  <span style='color:#BFBF00'>endforeach</span><span style='color:#00BFBF'>(OCC)<o:p></o:p></span></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Step 4: Building Gmsh ………………………………..<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>After generating the 64bit VS2010 solution using the CMake GUI and the hacked CMakeLists.txt, I opened the gmsh.sln project and built it.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>I think I did some small things here as well, but I don’t remember all of them know.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>I can try to help you as problems appear.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>I know the explanation is messy, still, hope it helps.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Cheers,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Serban<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Sina haeri [mailto:sina_haery@yahoo.com] <br><b>Sent:</b> Thursday, September 22, 2011 3:30 PM<br><b>To:</b> Serban Georgescu<br><b>Subject:</b> Re: [Gmsh] 64bit build under windows<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><div><div><p class=MsoNormal style='background:white'><span style='color:black'>Hi,<o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='color:black'> <o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='color:black'>I tried to use both cygwin and mingw both of which failed, <o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='color:black'>I thought this would be the easier way to do it but it would be great if I could build it using VS2010<o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='color:black'>Do you have any docs for building it using vs2010?<o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='color:black'> <o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='color:black'>What I need to do is to partition a large mesh which requires lots of memory, with 32 bit version the grid generation part has no problem, but when it gets to the partitioning the program crashes exactly when the memory usage reaches 2GB so I thought maybe a 64bit build might solve the problem. <o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='color:black'> <o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='color:black'>your help is greatly appreciated.<o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='color:black'> <o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='color:black'>Thank you<o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='color:black'> <o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='color:black'><o:p> </o:p></span></p></div><div><div><p class=MsoNormal style='background:white'><b><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:black'>From:</span></b><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:black'> "Serban.Georgescu@uk.fujitsu.com" <Serban.Georgescu@uk.fujitsu.com><br><b>To:</b> sina_haery@yahoo.com<br><b>Cc:</b> gmsh@geuz.org<br><b>Sent:</b> Thursday, 22 September 2011, 15:15<br><b>Subject:</b> RE: [Gmsh] 64bit build under windows<br><br></span><span style='color:black'><o:p></o:p></span></p><div id=yiv1595475348><div><div><p class=MsoNormal style='background:white'><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'>Hi Sina,</span><span style='color:black'><o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'> </span><span style='color:black'><o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'>I have successfully compiled a 64bit version of Gmsh for Windows, however it seems to have problems. </span><span style='color:black'><o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'>I found cases where the 64bit Windows version gives some meshing errors when the 32bit version or the 64bit Linux version do not. I did not do a thorough investigation for the cause though, just stuck to the Linux version.</span><span style='color:black'><o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'> </span><span style='color:black'><o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'>I see you are trying to build v2.5.0, my built is based on the SVN version.</span><span style='color:black'><o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'>I used VS2010 for compilation on Windows 7 – 64bit.</span><span style='color:black'><o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'> </span><span style='color:black'><o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'>May I ask you how are trying to build Gmsh? </span><span style='color:black'><o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'>(GCC toolchain? VS?)</span><span style='color:black'><o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'> </span><span style='color:black'><o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'>Cheers,</span><span style='color:black'><o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'>Serban</span><span style='color:black'><o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'> </span><span style='color:black'><o:p></o:p></span></p></div><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><div><p class=MsoNormal style='background:white'><b><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:black'>From:</span></b><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:black'> gmsh-bounces@ace20.montefiore.ulg.ac.be [mailto:gmsh-bounces@ace20.montefiore.ulg.ac.be] <b>On Behalf Of </b>Sina haeri<br><b>Sent:</b> Thursday, September 22, 2011 3:01 PM<br><b>To:</b> gmsh@geuz.org<br><b>Subject:</b> [Gmsh] 64bit build under windows</span><span style='color:black'><o:p></o:p></span></p></div></div></div><div><p class=MsoNormal style='background:white'><span style='color:black'> <o:p></o:p></span></p></div><div><div><div><p class=MsoNormal style='background:white'><span class=yiv1595475348tab><span style='color:black'>Dear developers,</span></span><span style='color:black'><o:p></o:p></span></p></div></div><div><div><p class=MsoNormal style='background:white'><span style='color:black'> <o:p></o:p></span></p></div></div><div><div><p class=MsoNormal style='background:white'><span class=yiv1595475348tab><span style='color:black'>Is there any document on building a 64 bit version of gmsh under windows?</span></span><span style='color:black'><o:p></o:p></span></p></div></div><div><div><p class=MsoNormal style='background:white'><span class=yiv1595475348tab><span style='color:black'>I tried to build using cygwin but when making I get these errors:</span></span><span style='color:black'><o:p></o:p></span></p></div></div><div><div><p class=MsoNormal style='background:white'><span style='color:black'> <o:p></o:p></span></p></div></div><div><div><p class=MsoNormal style='background:white'><span style='color:black'> <o:p></o:p></span></p></div></div><div><div><p class=MsoNormal style='background:white'><span class=yiv1595475348tab><span style='color:black'>Scanning dependencies of target gmsh</span></span><span style='color:black'><br><span class=yiv1595475348tab>[  0%] Building CXX object CMakeFiles/gmsh.dir/Common/Main.cpp.o</span><br><span class=yiv1595475348tab>[  0%] Building CXX object CMakeFiles/gmsh.dir/Common/Gmsh.cpp.o</span><br><span class=yiv1595475348tab>In file included from /C/Users/Administrator/Downloads/gmsh-2.5.0-source/Geo/GFa</span><br><span class=yiv1595475348tab>ceCompound.h:14:0,</span><br><span class=yiv1595475348tab>                 from /C/Users/Administrator/Downloads/gmsh-2.5.0-source/Mesh/me</span><br><span class=yiv1595475348tab>shPartition.h:11,</span><br><span class=yiv1595475348tab>                 from /C/Users/Administrator/Downloads/gmsh-2.5.0-source/Common/</span><br><span class=yiv1595475348tab>Gmsh.cpp:25:</span><br><span class=yiv1595475348tab>/C/Users/Administrator/Downloads/gmsh-2.5.0-source/Numeric/simpleFunction.h:33:1</span><br><span class=yiv1595475348tab>4: error: expected unqualified-id before numeric constant</span><br><span class=yiv1595475348tab>/C/Users/Administrator/Downloads/gmsh-2.5.0-source/Numeric/simpleFunction.h:33:1</span><br><span class=yiv1595475348tab>4: error: expected ‘;’ before numeric constant</span><br><span class=yiv1595475348tab>make[2]: *** [CMakeFiles/gmsh.dir/Common/Gmsh.cpp.o] Error 1</span><br><span class=yiv1595475348tab>make[1]: *** [CMakeFiles/gmsh.dir/all] Error 2</span><br><span class=yiv1595475348tab>make: *** [all] Error 2</span><o:p></o:p></span></p></div></div><div><div><p class=MsoNormal style='background:white'><span style='color:black'> <o:p></o:p></span></p></div></div><div><div><p class=MsoNormal style='background:white'><span class=yiv1595475348tab><span style='color:black'>Thank you</span></span><span style='color:black'><o:p></o:p></span></p></div></div><div><div><p class=MsoNormal style='background:white'><span style='color:black'> <o:p></o:p></span></p></div></div><div><div><p class=MsoNormal style='background:white'><span class=yiv1595475348tab><span style='color:black'>Sina</span></span><span style='color:black'><o:p></o:p></span></p></div></div></div></div><table class=MsoNormalTable border=0 cellpadding=0><tr><td style='background:white;padding:.75pt .75pt .75pt .75pt'><pre><span style='color:black'>______________________________________________________________________<o:p></o:p></span></pre><pre><span style='color:black'>                                        <o:p></o:p></span></pre><pre><span style='color:black'> Fujitsu Laboratories of Europe Limited<o:p></o:p></span></pre><pre><span style='color:black'> Hayes Park Central, Hayes End Road, Hayes, Middlesex, UB4 8FE<o:p></o:p></span></pre><pre><span style='color:black'> Registered No. 4153469<o:p></o:p></span></pre><pre><span style='color:black'> <o:p></o:p></span></pre><pre><span style='color:black'> This e-mail and any attachments are for the sole use of addressee(s) and<o:p></o:p></span></pre><pre><span style='color:black'> may contain information which is privileged and confidential. Unauthorised<o:p></o:p></span></pre><pre><span style='color:black'> use or copying for disclosure is strictly prohibited. The fact that this<o:p></o:p></span></pre><pre><span style='color:black'> e-mail has been scanned by Trendmicro Interscan does not guarantee that <o:p></o:p></span></pre><pre><span style='color:black'> it has not been intercepted or amended nor that it is virus-free.<o:p></o:p></span></pre></td></tr></table><p class=MsoNormal><o:p> </o:p></p></div></div></div></div></div></body></html>
<table><tr><td bgcolor=#ffffff><font color=#000000><pre>______________________________________________________________________
                                        
 Fujitsu Laboratories of Europe Limited
 Hayes Park Central, Hayes End Road, Hayes, Middlesex, UB4 8FE
 Registered No. 4153469
 
 This e-mail and any attachments are for the sole use of addressee(s) and
 may contain information which is privileged and confidential. Unauthorised
 use or copying for disclosure is strictly prohibited. The fact that this
 e-mail has been scanned by Trendmicro Interscan does not guarantee that 
 it has not been intercepted or amended nor that it is virus-free.</pre></font></td></tr></table>