<br>
  <br>
    <br>
  <br>
  <br>
    On 2016-09-27 8:26 PM, Ryan Curtin<br>
      wrote:<br>
    <br>
    <br>
      Hi there Vicky,<br>
      Try adding -std=c++11 to the command-line when<br>
        you compile your program (or possibly -std=c++0x<br>
        depending on how old the compiler is). Does that help?<br>
      Thanks,<br>
        Ryan<br>
      —<br>
        You are receiving this because you authored the thread.<br>
        Reply to this email directly, view<br>
          it on GitHub, or mute<br>
          the thread.<br>
      <br>
        <br>
          <br>
          <br>
        <br>
        <br>
      <br>
      {&quot;api_version&quot;:&quot;1.0&quot;,&quot;publisher&quot;:{&quot;api_key&quot;:&quot;05dde50f1d1a384dd78767c55493e4bb&quot;,&quot;name&quot;:&quot;GitHub&quot;},&quot;entity&quot;:{&quot;external_key&quot;:&quot;github/mlpack/mlpack&quot;,&quot;title&quot;:&quot;mlpack/mlpack&quot;,&quot;subtitle&quot;:&quot;GitHub repository&quot;,&quot;main_image_url&quot;:&quot;https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png&quot;,&quot;avatar_image_url&quot;:&quot;https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png&quot;,&quot;action&quot;:{&quot;name&quot;:&quot;Open in GitHub&quot;,&quot;url&quot;:&quot;https://github.com/mlpack/mlpack&quot;}},&quot;updates&quot;:{&quot;snippets&quot;:[{&quot;icon&quot;:&quot;PERSON&quot;,&quot;message&quot;:&quot;@rcurtin in #793: Hi there Vicky,\r\n\r\nTry adding `-std=c++11` to the command-line when you compile your program (or possibly `-std=c++0x` depending on how old the compiler is).  Does that help?\r\n\r\nThanks,\r\nRyan&quot;}],&quot;action&quot;:{&quot;name&quot;:&quot;View Issue&quot;,&quot;url&quot;:&quot;https://github.com/mlpack/mlpack/issues/793#issuecomment-250038061&quot;}}}<br>
    <br>
    <br>
    Hello, thanks so much for your help!  This ended up working:<br>
    <br>
    g++ myprogram.cpp -o myprogram -O2 -larmadillo -std=c++11 -lmlpack<br>
    <br>
    Vicky

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/mlpack/mlpack/issues/793#issuecomment-250040825">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AJ4bFFI-IpEC_qWZ_8uIJnK-B64GqMNFks5qubg_gaJpZM4KISxw">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFNOnfP0mPge0V9hTJBqEKZAvYfTKks5qubg_gaJpZM4KISxw.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/mlpack/mlpack/issues/793#issuecomment-250040825"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>

<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/mlpack/mlpack","title":"mlpack/mlpack","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/mlpack/mlpack"}},"updates":{"snippets":[{"icon":"PERSON","message":"@vbilaniuk in #793: \n  \n    \n  \n  \n    On 2016-09-27 8:26 PM, Ryan Curtin\n      wrote:\n    \n    \n      Hi there Vicky,\n      Try adding -std=c++11 to the command-line when\n        you compile your program (or possibly -std=c++0x\n        depending on how old the compiler is). Does that help?\n      Thanks,\n        Ryan\n      —\n        You are receiving this because you authored the thread.\n        Reply to this email directly, view\n          it on GitHub, or mute\n          the thread.\n      \n        \n          \n          \n        \n        \n      \n      {\"api_version\":\"1.0\",\"publisher\":{\"api_key\":\"05dde50f1d1a384dd78767c55493e4bb\",\"name\":\"GitHub\"},\"entity\":{\"external_key\":\"github/mlpack/mlpack\",\"title\":\"mlpack/mlpack\",\"subtitle\":\"GitHub repository\",\"main_image_url\":\"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png\",\"avatar_image_url\":\"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png\",\"action\":{\"name\":\"Open in GitHub\",\"url\":\"https://github.com/mlpack/mlpack\"}},\"updates\":{\"snippets\":[{\"icon\":\"PERSON\",\"message\":\"@rcurtin in #793: Hi there Vicky,\\r\\n\\r\\nTry adding `-std=c++11` to the command-line when you compile your program (or possibly `-std=c++0x` depending on how old the compiler is).  Does that help?\\r\\n\\r\\nThanks,\\r\\nRyan\"}],\"action\":{\"name\":\"View Issue\",\"url\":\"https://github.com/mlpack/mlpack/issues/793#issuecomment-250038061\"}}}\n    \n    \n    Hello, thanks so much for your help!  This ended up working:\n    \n    g++ myprogram.cpp -o myprogram -O2 -larmadillo -std=c++11 -lmlpack\n    \n    Vicky"}],"action":{"name":"View Issue","url":"https://github.com/mlpack/mlpack/issues/793#issuecomment-250040825"}}}</script>