<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-family: Calibri, sans-serif;">
<div>
<div style="font-size: 14px; color: rgb(0, 0, 0); font-family: Calibri, sans-serif;">
Hi Matt,</div>
<div style="font-size: 14px; color: rgb(0, 0, 0); font-family: Calibri, sans-serif;">
Some initial feedback from someone who has *just* picked up CastXML.</div>
<div style="font-size: 14px; color: rgb(0, 0, 0); font-family: Calibri, sans-serif;">
<br>
</div>
<div>
<ul style="font-size: 14px; color: rgb(0, 0, 0); font-family: Calibri, sans-serif;">
<li>A C++ compiler supporting the <code>c++11</code> standard language level.</li></ul>
<div style="font-size: 14px; color: rgb(0, 0, 0); font-family: Calibri, sans-serif;">
Any one in particular? Any suggestions? I’ve been messing around with my environment recently and guidance on this would be very much appreciated rather than me going on a wild goose chase to find something which I later find out to be the incorrect choice. </div>
<ul style="font-size: 14px; color: rgb(0, 0, 0); font-family: Calibri, sans-serif;">
<li><a href="http://www.cmake.org/">CMake</a> cross-platform build system generator.</li></ul>
<div style="font-size: 14px; color: rgb(0, 0, 0); font-family: Calibri, sans-serif;">
I’ve got this installed. Will this work?</div>
<div style="font-size: 14px; color: rgb(0, 0, 0); font-family: Calibri, sans-serif;">
<div>lmcgibbn@LMC-032857 /usr/local/jpl/snow/trunk/tmscag/trunk(master) $ cmake --version</div>
<div>cmake version 3.2.2</div>
<div>CMake suite maintained and supported by Kitware (kitware.com/cmake).</div>
</div>
<div style="font-size: 14px; color: rgb(0, 0, 0); font-family: Calibri, sans-serif;">
<br>
</div>
<ul style="font-size: 14px; color: rgb(0, 0, 0); font-family: Calibri, sans-serif;">
<li><a href="http://clang.llvm.org/">LLVM/Clang</a> compiler SDK install tree built using the C++ compiler. This version of CastXML has been tested with LLVM/Clang
<ul>
<li>Release <code>3.6.0</code> </li><li>SVN revision <code>234175</code> </li></ul>
<div><br>
</div>
</li></ul>
<div style="font-size: 14px;"><font face="Calibri,sans-serif">I’m nearly reaching my limit navigating the llvm/clang documentation and failing to complete the task at hand without any issues. </font></div>
<div style="font-size: 14px;"><font face="Calibri,sans-serif">Can you point me to a trusted llvm/clang installation which will address the above? </font></div>
<div style="font-size: 14px;"><font face="Calibri,sans-serif">I</font><font face="Calibri,sans-serif"> have the following clang setups locally</font></div>
<div style="font-size: 14px;"><font face="Calibri,sans-serif"><br>
</font></div>
<div style="font-size: 14px;">
<div>Apple LLVM version 6.0 (clang-600.0.57) (based on LLVM 3.5svn)</div>
<div>Target: x86_64-apple-darwin13.4.0</div>
<div>Thread model: posix</div>
</div>
<div style="font-size: 14px;"><br>
</div>
<div style="font-size: 14px;">
<div>clang+llvm-3.0-x86_64-apple-darwin11/</div>
<div>clang+llvm-3.2-x86_64-apple-darwin11/ </div>
<div>clang+llvm-3.4-x86_64-apple-darwin10.9/ </div>
<div>clang+llvm-3.4.2-x86_64-apple-darwin10.9/</div>
<div>clang+llvm-3.1-x86_64-apple-darwin11/ </div>
<div>clang+llvm-3.3-x86_64-apple-darwin12/ </div>
<div>clang+llvm-3.4.1-x86_64-apple-darwin10.9/ </div>
<div>clang+llvm-3.5.0-macosx-apple-darwin/</div>
</div>
<div style="font-size: 14px;"><br>
</div>
<div style="font-size: 14px;">I tried all of the above with xdress and got pretty much nowhere. This is why if you have a trusted installation from source guide for llvm/clang.</div>
<ul style="font-size: 14px; color: rgb(0, 0, 0); font-family: Calibri, sans-serif;">
<li>Optionally, the <a href="http://sphinx-doc.org/">Sphinx</a> documentation generator to build documentation.</li></ul>
<div style="font-size: 14px;">Which version? Any add ons? Any other tricks we need to know about?</div>
<ul style="font-size: 14px; color: rgb(0, 0, 0); font-family: Calibri, sans-serif;">
</ul>
<ul style="font-size: 14px;">
<li><span style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px; font-style: normal; font-weight: normal; text-decoration: none;">Run CMake on the CastXML source tree to generate a build tree using a C++ compiler compatible with that
used to build the LLVM/Clang SDK. </span></li></ul>
<p style="font-size: 14px; color: rgb(0, 0, 0); font-family: Calibri, sans-serif;">
Some precise documentation here would be ultimately helpful so I am going to provide a simple example usage statement with the mandatory options filled in as dummy options.</p>
<p style="font-size: 14px; color: rgb(0, 0, 0); font-family: Calibri, sans-serif;">
When I try to build as follows</p>
<p><span style="font-size: 12px;">lmcgibbn@LMC-032857 /usr/local/CastXML(master) $ cmake -DLLVM_DIR=/usr/local/clang+llvm-3.6.0-x86_64-apple-darwin/share/llvm/cmake -DCLANG_RESOURCE_DIR=/usr/local/clang+llvm-3.6.0-x86_64-apple-darwin/lib/clang/3.6.0/ .</span></p>
<p><span style="font-size: 12px;">CMake Error at /usr/local/clang+llvm-3.6.0-x86_64-apple-darwin/share/llvm/cmake/LLVMConfig.cmake:52 (include):</span></p>
<p><span style="font-size: 12px;"> include could not find load file:</span></p>
<p><span style="font-size: 12px;"> /Users/sebastiandressler/llvm-3.6-testing/final/Phase3/Release/llvmCore-3.6.0-final.install/share/llvm/cmake/LLVMExports.cmake</span></p>
<p><span style="font-size: 12px;">Call Stack (most recent call first):</span></p>
<p><span style="font-size: 12px;"> CMakeLists.txt:54 (find_package)</span></p>
<p><span style="font-size: 12px;">CMake Error at /usr/local/clang+llvm-3.6.0-x86_64-apple-darwin/share/llvm/cmake/LLVMConfig.cmake:55 (include):</span></p>
<p><span style="font-size: 12px;"> include could not find load file:</span></p>
<p><span style="font-size: 12px;"> /Users/sebastiandressler/llvm-3.6-testing/final/Phase3/Release/llvmCore-3.6.0-final.install/share/llvm/cmake/LLVM-Config.cmake</span></p>
<p><span style="font-size: 12px;">Call Stack (most recent call first):</span></p>
<p><span style="font-size: 12px;"> CMakeLists.txt:54 (find_package)</span></p>
<p><span style="font-size: 12px;">CMake Error at src/CMakeLists.txt:46 (llvm_map_components_to_libnames):</span></p>
<p><span style="font-size: 12px;"> Unknown CMake command "llvm_map_components_to_libnames".</span></p>
<p><span style="font-size: 12px;">-- Configuring incomplete, errors occurred!</span></p>
<p><span style="font-size: 12px;">See also "/usr/local/CastXML/CMakeFiles/CMakeOutput.log".</span></p>
<p><span style="font-size: 12px;">See also "/usr/local/CastXML/CMakeFiles/CMakeError.log”.</span></p>
<p style="font-size: 14px;">The above clang is directly from the link below</p>
<p style="font-size: 14px;">http://llvm.org/releases/download.html#3.6.0</p>
</div>
<div style="font-size: 14px; color: rgb(0, 0, 0); font-family: Calibri, sans-serif;">
Thanks again for your help, I realize that this is a long and painful thread. </div>
<div style="font-size: 14px; color: rgb(0, 0, 0); font-family: Calibri, sans-serif;">
Lewis</div>
<div style="font-size: 14px; color: rgb(0, 0, 0); font-family: Calibri, sans-serif;">
<br>
</div>
<div style="font-size: 14px; color: rgb(0, 0, 0); font-family: Calibri, sans-serif;">
<div>
<div style="font-family: Calibri;"><font face="Courier">Dr. Lewis John McGibbney Ph.D., </font><span style="font-family: Courier;">B.Sc.,</span><span style="font-family: Courier;"> MAGU</span></div>
<div style="font-family: Calibri;"><font face="Courier">Engineering Applications Software Engineer Level 2</font></div>
<div style="font-family: Calibri;"><font face="Courier">Computer Science for Data Intensive Systems Group 398M</font></div>
<div style="font-family: Calibri;"><font face="Courier">Jet Propulsion Laboratory</font></div>
<div style="font-family: Calibri;"><font face="Courier">California Institute of Technology </font></div>
<div style="font-family: Calibri;"><font face="Courier">4800 Oak Grove Drive</font></div>
<div style="font-family: Calibri;"><font face="Courier">Pasadena, California 91109-8099</font></div>
<div style="font-family: Calibri;"><font face="Courier">Mail Stop : 158-</font><span style="font-family: Courier;">256C</span></div>
<div style="font-family: Calibri;"><font face="Courier">Tel: (+1) (818)-393-7402</font></div>
<div style="font-family: Calibri;"><font face="Courier">Cell: (+1) (626)-487-3476</font></div>
<div style="font-family: Calibri;"><font face="Courier">Fax: (+1) (818)-393-1190</font></div>
<div style="font-family: Calibri;"><font face="Courier">Email: lewis.j.mcgibbney@jpl.nasa.gov</font></div>
<div style="font-family: Calibri;"><font face="Courier"><br>
</font></div>
<div style="font-family: Calibri;"> <img src="cid:248C22AF-56E3-423D-81C0-EB1ABEB99886" type="image/png"></div>
<div>
<div id="maincontent">
<div class="fig" id="outputFigDisplay"><span style="font-family: Courier;"><br>
</span></div>
<div class="fig" id="outputFigDisplay"><span style="font-family: Courier;"> Dare Mighty Things</span></div>
</div>
</div>
</div>
<div>
<div id="maincontent">
<div class="fig" id="outputFigDisplay"></div>
</div>
</div>
<div>
<div id="maincontent">
<div class="fig" id="outputFigDisplay"></div>
</div>
</div>
</div>
</div>
<div style="font-size: 14px; color: rgb(0, 0, 0); font-family: Calibri, sans-serif;">
<br>
</div>
<span id="OLK_SRC_BODY_SECTION" style="font-size: 14px; color: rgb(0, 0, 0); font-family: Calibri, sans-serif;">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span>Matt McCormick <<a href="mailto:matt.mccormick@kitware.com">matt.mccormick@kitware.com</a>><br>
<span style="font-weight:bold">Date: </span>Wednesday, May 20, 2015 at 1:54 PM<br>
<span style="font-weight:bold">To: </span>Lewis John McGibbney <<a href="mailto:lewis.j.mcgibbney@jpl.nasa.gov">lewis.j.mcgibbney@jpl.nasa.gov</a>><br>
<span style="font-weight:bold">Cc: </span>"<a href="mailto:castxml@public.kitware.com">castxml@public.kitware.com</a>" <<a href="mailto:castxml@public.kitware.com">castxml@public.kitware.com</a>><br>
<span style="font-weight:bold">Subject: </span>Re: [CastXML] Building CastXML from Source<br>
</div>
<div><br>
</div>
<blockquote id="MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" style="BORDER-LEFT: #b5c4df 5 solid; PADDING:0 0 0 5; MARGIN:0 0 0 5;">
<div>
<div>
<div dir="ltr">Hi Lewis,
<div><br>
</div>
<div>Build instructions are in the README:</div>
<div><br>
</div>
<div> <a href="https://github.com/CastXML/CastXML/blob/master/README.rst">https://github.com/CastXML/CastXML/blob/master/README.rst</a></div>
<div><br>
</div>
<div>Please help us clarify them if they are insufficient. One possible hangup: when building Clang/LLVM, it is necessary to install it on the system or an install prefix directory. Point the CastXML build to this location with LLVM_DIR.</div>
<div><br>
</div>
<div>Hope this helps,</div>
<div>Matt</div>
<div><br>
</div>
<div><br>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Wed, May 20, 2015 at 4:07 PM, Mcgibbney, Lewis J (398M)
<span dir="ltr"><<a href="mailto:Lewis.J.Mcgibbney@jpl.nasa.gov" target="_blank">Lewis.J.Mcgibbney@jpl.nasa.gov</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word;color:rgb(0,0,0);font-size:14px;font-family:Calibri,sans-serif">
<div>Hi Folks,</div>
<div>I am making best efforts to use CastXML with xdress [0] via recent advice [1] and a pull request aimed at getting xdress working with castxml [2].</div>
<div>The problem that I am having is that I cannot even build CastXML from the github repos.</div>
<div>Can someone please help me out with clear build instructions?</div>
<div>Thank you</div>
<div>Lewis</div>
<div><br>
</div>
<div>[0] <a href="https://github.com/xdress/xdress" target="_blank">https://github.com/xdress/xdress</a></div>
<div>[1] <a href="https://groups.google.com/forum/#!topic/xdress/1Cb5qfZEZoA" target="_blank">https://groups.google.com/forum/#!topic/xdress/1Cb5qfZEZoA</a></div>
<div>[2] <a href="https://github.com/xdress/xdress/pull/275" target="_blank">https://github.com/xdress/xdress/pull/275</a></div>
<div><br>
</div>
<div>
<div>
<div style="font-family:Calibri"><font face="Courier">Dr. Lewis John McGibbney Ph.D., </font><span style="font-family:Courier">B.Sc.,</span><span style="font-family:Courier"> MAGU</span></div>
<div style="font-family:Calibri"><font face="Courier">Engineering Applications Software Engineer Level 2</font></div>
<div style="font-family:Calibri"><font face="Courier">Computer Science for Data Intensive Systems Group 398M</font></div>
<div style="font-family:Calibri"><font face="Courier">Jet Propulsion Laboratory</font></div>
<div style="font-family:Calibri"><font face="Courier">California Institute of Technology </font></div>
<div style="font-family:Calibri"><font face="Courier">4800 Oak Grove Drive</font></div>
<div style="font-family:Calibri"><font face="Courier">Pasadena, California 91109-8099</font></div>
<div style="font-family:Calibri"><font face="Courier">Mail Stop : 158-</font><span style="font-family:Courier">256C</span></div>
<div style="font-family:Calibri"><font face="Courier">Tel: <a href="tel:%28%2B1%29%20%28818%29-393-7402" value="+18183937402" target="_blank">(+1) (818)-393-7402</a></font></div>
<div style="font-family:Calibri"><font face="Courier">Cell: <a href="tel:%28%2B1%29%20%28626%29-487-3476" value="+16264873476" target="_blank">
(+1) (626)-487-3476</a></font></div>
<div style="font-family:Calibri"><font face="Courier">Fax: <a href="tel:%28%2B1%29%20%28818%29-393-1190" value="+18183931190" target="_blank">(+1) (818)-393-1190</a></font></div>
<div style="font-family:Calibri"><font face="Courier">Email: <a href="mailto:lewis.j.mcgibbney@jpl.nasa.gov" target="_blank">
lewis.j.mcgibbney@jpl.nasa.gov</a></font></div>
<div style="font-family:Calibri"><font face="Courier"><br>
</font></div>
<div style="font-family:Calibri"> <img src="cid:56DE6DAA-BDCD-46AD-904B-ACC9615C0F68" type="image/png"></div>
<div>
<div>
<div><span style="font-family:Courier"><br>
</span></div>
<div><span style="font-family:Courier"> Dare Mighty Things</span></div>
</div>
</div>
</div>
<div>
<div>
<div></div>
</div>
</div>
<div>
<div>
<div></div>
</div>
</div>
</div>
</div>
<br>
_______________________________________________<br>
CastXML mailing list<br>
<a href="mailto:CastXML@public.kitware.com">CastXML@public.kitware.com</a><br>
<a href="http://public.kitware.com/mailman/listinfo/castxml" target="_blank">http://public.kitware.com/mailman/listinfo/castxml</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</blockquote>
</span>
</body>
</html>