Am 16.02.2014 um 15:21 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?

Hello,

I'm currently unable to compile branch 2.0.x with cmake created Xcode project, 
too.
For production builds I'm using the build with autotools.
There is no development of new feature in branch. That's done in trunk.

Branch 2.0.x has a different boost library version. Adding clang.hpp from 1.44 
is an option.
But there are other issues to expect with the cmake build with Xcode for 2.0.x.

Stephan

Reply via email to