Hi,

Saw the same error when building libobjc2 with Clang 3.5/3.6 on Linux (Ubuntu 14.04, Raspbian 2015-02-16); Got it to compile by switching to Clang 3.4 (distro package) or 3.7 (built from source).

Cheers,

Josh


On Apr 18, 2015, at 7:11 PM, Lars Sonchocky-Helldorf wrote:

Hi,

when trying to install libobjc2 from SVN trunk into the Local Domain of a FreeBSD 10.1 I encountered the following error:

-- Found assembler: /usr/bin/clang
CMake Error at opts/CMakeLists.txt:4 (include):
 include could not find load file:

   AddLLVM


CMake Error at opts/CMakeLists.txt:11 (add_llvm_loadable_module):
 Unknown CMake command "add_llvm_loadable_module".


-- Configuring incomplete, errors occurred!
See also "/home/gnustep/GNUstep-sources/libobjc2/Build/CMakeFiles/ CMakeOutput.log".


however, the "old" way using gmake went fine:

CC=clang CXX=clang++ make
sudo -E make install

but doing the installation process fussed about better using cmake.


I have CMakeOutput.log and the terminal output of the installation attempt attached hoping it helps to fix the cause:

<CMakeOutput.log><libobjc2-from-trunk-cmake-attempt.txt>


cheers,

        Lars_______________________________________________
Discuss-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnustep


_______________________________________________
Discuss-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to