c++ - /usr/include won't work as a search path in xcode? -
I have installed Armandil Linear Algebra Library in / usr / include, so in xcode I added this search to the search path:
/ P>
but encode has warned me That weapon file was not found:
Then I copied library files to / tmp / arma /, and added it to the search path Enter:
More wondrous forms Everything was alright:
< P> I'm really really confused.
Update
Just to confirm that armadillo is actually / usr / include:
kaiyin @ kaiyins-mbp 07:30:09 | ~ = & Gt; Cd / usr / include / kaiyin @ kaiyins-mbp 07:30:20 | / Usr / include = & gt; RealPath Armandillo / USR / included / Armandillo Caine @ Caines-MBP 07:30:25 | / Usr / include = & gt; RRR-R-R-R1 Route wheel 20 Q1 Jun 04:44 Armadillo Cain @ Caines-MBP 07:31:24 | / Usr / include = & gt; File Armandillo Armadillo: ASCII C ++ Program Text Cinematic @ Caines-MBP 07:31:29 | / Usr / include = & gt; Head armadillo // Copyright (C) 2008-2014 Conrad Sandron // Copyright (C) 2008-2014 NICTA (www.nicta.com.au) // // This source code form is subject to the conditions of Mozilla Public / license , V. 2.0. If a copy of the MPL was not distributed with this file, then you can get one at http://mozilla.org/MPL/2.0/. #ifndef ARMA_INCLUDES #define ARMA_INCLUDES kaiyin @ kaiyins-mbp 07:31:32 | / Usr / include = & gt; Diff / tmp / arma / armadillo armadillo @ kaiyins-mbp 07:32:11 | / Usr / include = & gt; then it's sitting there and like one of the / tmp / arma /
Yes it works in the Mac, in fact it works fine in any system like Unix.
Comments
Post a Comment