discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cmake can't find library to compile libobjc2


From: Patryk Laurent
Subject: Re: cmake can't find library to compile libobjc2
Date: Sun, 07 Jun 2015 23:36:43 +0000 (GMT)

Hi Mark,

It sounds like even though you have llvm-3.7.0 built, you are still somehow using the llvm-3.5 on your system.  Maybe this is because you system is earlier in your $PATH.  iInn the wiki instructions, I had placed the newly installed llvm-3.7.0 at the *end* of the $PATH.  Maybe your existing llvm is conflicting.  

To fix, rather than:

export PATH=$PATH:~/llvm/build/bin
export CC=clang
export CXX=clang++

can you instead try:

export PATH=~/llvm/build/bin:$PATH
export CC=clang
export CXX=clang++

and report back? This command places the new 3.7.0 llvm at the beginning of your $PATH, giving it priority over the old 3.5 one you have installed, and should help ensure you use the new 3.7.0 llvm/clang.

Best regards,
Patryk


reply via email to

[Prev in Thread] Current Thread [Next in Thread]