Am Sonntag, 16. Februar 2014 um 14:21:42, schrieb Vishnampet Ganapathi 
Subramanian, Ramanathan <vishn...@illinois.edu>
> Hello,
> 
> I’m trying to compile branch 2.0.x with clang. I’m using:
> 
> $ clang --version
> Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
> Target: x86_64-apple-darwin13.0.0
> Thread model: posix
> 
> $ xcodebuild -version
> Xcode 5.0.2
> Build version 5A3005
> 
> I did:
> 
> $ git clone git://git.lyx.org/lyx
> $ git checkout 2.0.x
> $ mkdir build && cd build
> $ cmake ../development/cmake -GXcode
> $ xcodebuild
> 
> This gave me a compilation error:
> 
> ...lyx/boost/boost/config.hpp:35:12: fatal error: 
> 'boost/config/compiler/clang.hpp' file not found
> 
> This file is present in the master branch but not in 2.0.x. Is this by 
> design, or am I doing something completely wrong and there is some other way 
> to build? Should I backport the file from the master branch? I’m fairly new 
> to git, so I would appreciate some instructions on how to do this. Are there 
> other files that need to be backported from the master branch as well in 
> order to build with Xcode?

2.0.x seems not to be ready for clang. But you may get it from the master 
branch IMHO.
        # git checkout master
        # ls ./boost/boost/config/compiler/clang.hpp

> Thank you,
> 
> --
> Ramanathan Vishnampet Ganapathi Subramanian
> Graduate Research Assistant
> 327 Talbott Laboratory
> University of Illinois at Urbana-Champaign
> Urbana, IL 61801, United States
> vishn...@illinois.edu
> +1 (217) 418-7937

        Kornel

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to