Re: [gtk-osx-devel] Building gtk+3 on macOS - libepoxy problem
- From: Jim Charlton <charltn gmail com>
- To: gtk-osx-devel-list gnome org
- Subject: Re: [gtk-osx-devel] Building gtk+3 on macOS - libepoxy problem
- Date: Thu, 3 Nov 2016 15:06:05 -0700
On 2016-11-03 02:14 PM, Марко Ðœ. КоÑтић wrote:
Hi everyone.
First time trying to build gtk+3 on macOS 10.12.1 via jhbuild. I've
bootstraped jhbuild environment using
the instructions on the page
https://wiki.gnome.org/Projects/GTK+/OSX/Building.
The building process was something like this:
echo 'export PATH=$PATH:/Users/MYUSERONMACOS/.local/bin' >>
~/.bash_profile
source ~/.bash_profile
curl https://git.gnome.org/browse/gtk-osx/plain/gtk-osx-build-setup.sh
-o gtk-osx-build-setup.sh
sh ./gtk-osx-build-setup.sh
echo 'build_policy = "updated-deps"' >> ~/.jhbuildrc-custom
jhbuild bootstrap
jhbuild update meta-gtk-osx-bootstrap meta-gtk-osx-core meta-gtk-osx-gtk3
jhbuild build --no-network meta-gtk-osx-bootstrap meta-gtk-osx-core
meta-gtk-osx-gtk3
Everything was fine and building until jhbuild started building
libepoxy. It was failing to build due to
undefined symbols. The output follows:
*** Building libepoxy *** [33/43]
make -j 3
/Applications/Xcode.app/Contents/Developer/usr/bin/make all-recursive
Making all in include/epoxy
make[2]: Nothing to be done for `all'.
Making all in src
cp ./../include/epoxy/config.h.guess ./../include/epoxy/config.h
.././install-sh -c -d ../include/epoxy
GEN glx_generated_dispatch.c
GEN egl_generated_dispatch.c
GEN gl_generated_dispatch.c
GEN wgl_generated_dispatch.c
/Applications/Xcode.app/Contents/Developer/usr/bin/make all-am
CC dispatch_common.lo
CC gl_generated_dispatch.lo
CCLD libepoxy.la
Undefined symbols for architecture x86_64:
"_epoxy_eglGetCurrentContext", referenced from:
_epoxy_egl_get_current_gl_context_api in dispatch_common.o
_epoxy_get_bootstrap_proc_address in dispatch_common.o
"_epoxy_eglGetCurrentDisplay", referenced from:
_epoxy_egl_get_current_gl_context_api in dispatch_common.o
_epoxy_get_bootstrap_proc_address in dispatch_common.o
"_epoxy_eglGetProcAddress", referenced from:
_epoxy_get_proc_address in dispatch_common.o
"_epoxy_eglQueryContext", referenced from:
_epoxy_egl_get_current_gl_context_api in dispatch_common.o
_epoxy_get_bootstrap_proc_address in dispatch_common.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
make[3]: *** [libepoxy.la] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
*** Error during phase build of libepoxy: ########## Error running
make -j 3 *** [33/43]
I think that the cause of this problem is the usage of clang
compilers/linkers (from XCode 8.1) instead
of using gcc for this but I am not sure because I'm new to macOS
ecosystem.
Any tips on how to resolve this issue and compile libepoxy sucessfully
under macOS 10.12.1?
Thanks in advance.
Marko M. Kostic
_______________________________________________
Gtk-osx-devel-list mailing list
Gtk-osx-devel-list gnome org
https://mail.gnome.org/mailman/listinfo/gtk-osx-devel-list
On September 30, I built (jhbuild) gtk+3 and gtkmm3 on MAC Sierra with
only one problem. I think that the OS was still 10.12.0 at that time.
I used Xcode 8.0 on a virgin installation of Sierra. The only problem I
had was with cups which was fixed with the solution given at
https://mail.gnome.org/archives/commits-list/2016-June/msg03579.html
(edited .../gtk/gtk+-3.20/configure.ac as per the instructions on that
page (changed gt to lt)).
If you cannot resolve the problem you have, let me know and I can run
another install to see if the current OS is any different for me.
jim...
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]