[mlpack-git] [mlpack/mlpack] need help getting this installed on a Mac (#793)

Vicky Bilaniuk notifications at github.com
Tue Sep 27 20:43:43 EDT 2016


  
    
  
  
    On 2016-09-27 8:26 PM, Ryan Curtin
      wrote:
    
    
      Hi there Vicky,
      Try 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?
      Thanks,
        Ryan
      —
        You are receiving this because you authored the thread.
        Reply to this email directly, view
          it on GitHub, or mute
          the thread.
      
        
          
          
        
        
      
      {"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"}}}
    
    
    Hello, thanks so much for your help!  This ended up working:
    
    g++ myprogram.cpp -o myprogram -O2 -larmadillo -std=c++11 -lmlpack
    
    Vicky

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/mlpack/mlpack/issues/793#issuecomment-250040825
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160927/b6871651/attachment-0001.html>


More information about the mlpack-git mailing list