Hi,

that’s how I spent last evening. Updating to El Capitan and then repairing the 
damage…

> On 08 Oct 2015, at 00:58, Dirk Hohndel <[email protected]> wrote:
> 
>> 
>> 1# libdivecomputer
>> atomics_cobalt.c and stunt_eonsteel.c can’t find libusb.h unless 
>> "libusb-1.0” is removed from the include statement.
>> This is something I have seen before, but long ago so I can’t remember the 
>> cause or the fix.
>> 
>> 2# Subsurface
>> -- Creating build files for Subsurface 4.4.98-46-g7bf398549b71
>> CMake Error at 
>> /Users/narogh/src/install-root/lib/cmake/Grantlee5/Grantlee5Config.cmake:16 
>> (find_package):
>>  By not providing "FindQt5Gui.cmake" in CMAKE_MODULE_PATH this project has
>>  asked CMake to find a package configuration file provided by "Qt5Gui", but
>>  CMake did not find one.
>> 
>>  Could not find a package configuration file provided by "Qt5Gui" with any
>>  of the following names:
>> 
>>    Qt5GuiConfig.cmake
>>    qt5gui-config.cmake
>> 
>>  Add the installation prefix of "Qt5Gui" to CMAKE_PREFIX_PATH or set
>>  "Qt5Gui_DIR" to a directory containing one of the above files.  If "Qt5Gui"
>>  provides a separate development package or SDK, be sure it has been
>>  installed.
>> Call Stack (most recent call first):
>>  CMakeLists.txt:159 (find_package)
>> 
>> 
>> -- Configuring incomplete, errors occurred!
>> 
>> building via build script.
>> 
>> Qt5GuiConfig.cmake can be found in ~/Qt/5.5/clang_64/lib/cmake/Qt5Gui
>> 
>> 
>> I’ll dig into this more tomorrow.
> 
> So I think Robert got this to work... since we have a few others on Mac,
> maybe a post to the mailing list with a "what to do after you upgrade to
> El Capitan" would be useful :-)

I don’t know what in the end solved 2) but for me it works after

a) I make sure the „command line tools“ are updated as well and I ran Xcode 
once to „install additional components“ whatever that is.

b) I updated Qt to 5.5 (since problem 2) seems cmake related).

c) I deleted my source tree and got a new one (git clone subsurface and running 
the build script)

Finally, there was a problem that libxml/tree.h was not found (and that might 
be similar to your problem 1). That I could solve with

export CPATH=/usr/local/include/

(and from long ago I still have a symlink

ln -s /usr/local/include/libxml2/libxml /usr/local/include

And then it builds.

Best
Robert

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

_______________________________________________
subsurface mailing list
[email protected]
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Reply via email to