<html><body><div style="color:#000; background-color:#fff; font-family:Courier New, courier, monaco, monospace, sans-serif;font-size:10pt"><div style="font-family: 'Courier New', courier, monaco, monospace, sans-serif; font-size: 10pt; "><span><br></span></div><div style="font-family: 'Courier New', courier, monaco, monospace, sans-serif; font-size: 10pt; "><br></div><div><blockquote style="font-family: 'Courier New', courier, monaco, monospace, sans-serif; font-size: 10pt; border-left-width: 2px; border-left-style: solid; border-left-color: rgb(16, 16, 255); margin-left: 5px; margin-top: 5px; padding-left: 5px; "> <div style="font-family: Courier New, courier, monaco, monospace, sans-serif; font-size: 10pt;" class="yui_3_2_0_25_134572622317494"> <div style="font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; "> <div dir="ltr"> <font size="2" face="Arial"> <hr size="1"> <b><span style="font-weight:bold;">From:</span></b> Stefan
Reuschl <lists@stefanreuschl.de><br> <b><span style="font-weight: bold;">To:</span></b> David MacQuigg <macquigg@ece.arizona.edu> <br><b><span style="font-weight: bold;">Cc:</span></b> "cmake@cmake.org" <cmake@cmake.org> <br> <b><span style="font-weight: bold;">Sent:</span></b> Thursday, August 23, 2012 2:32 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [CMake] Getting started with the tutorial<br> </font> </div> <br>
Am 22.08.2012, 22:59 Uhr, schrieb David MacQuigg <<a ymailto="mailto:macquigg@ece.arizona.edu" href="mailto:macquigg@ece.arizona.edu">macquigg@ece.arizona.edu</a>>:<br><br>> I'm just getting started with CMake. Downloaded and installed version 2.8.9 under Mac OS 10.6. Downloaded the tutorial (Step 1) from Tests/Tutorial. Everything looks normal.<br>> <br>> <br>> I then ran CMake and filled out the form with the source and binary directories (after adding a "bin" directory for the binaries). The "Configure" step seemed to run normally, no error messages. Same for the "Generate" step. Lots of new files and folders in "bin". The only problem is I can't get a working executable file out of all this. I found two files named a.out, but they just do an immediate return, with nothing to stdout.<br>> <br>> I must be missing something obvious. Help will be greatly
appreciated.<br><br>Configure/Generate just generates the native build system but doesn't execute it.<br>You need to call make in bin/ or open the XCode project depending<br>on which generator you selected. Another option is to call "cmake --build bin/"</div></div></blockquote><font class="Apple-style-span" face="Arial" size="2"><b><br></b></font></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: Arial; background-color: transparent; font-style: normal; font-weight: bold; "><font class="Apple-style-span" face="Arial" size="2"><b>That works !! Many thanks.</b></font></div> </div></body></html>