mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-22 14:44:34 +00:00
Update build requirement from GTK2 to GTK3
This commit is contained in:
parent
ad6c7c8986
commit
6e3f19d0c9
@ -660,7 +660,7 @@ vcpkg install --triplet x64-windows-static freetype glfw3 capstone[arm,arm64,x86
|
||||
|
||||
\paragraph{Unix}
|
||||
|
||||
On Unix systems you will need to install the \texttt{pkg-config} utility and the following libraries: \texttt{glfw}, \texttt{freetype}, \texttt{capstone}, \texttt{gtk2.0}. Some Linux distributions will require you to add a \texttt{lib} prefix and a \texttt{-dev}, or \texttt{-devel} postfix to library names. You may also need to add a seemingly random number to the library name (for example: \texttt{freetype2}, or \texttt{freetype6}). The GTK library could be installed as \texttt{libgtk2.0-dev} on some systems. How fun!
|
||||
On Unix systems you will need to install the \texttt{pkg-config} utility and the following libraries: \texttt{glfw}, \texttt{freetype}, \texttt{capstone}, \texttt{GTK3}. Some Linux distributions will require you to add a \texttt{lib} prefix and a \texttt{-dev}, or \texttt{-devel} postfix to library names. You may also need to add a seemingly random number to the library name (for example: \texttt{freetype2}, or \texttt{freetype6}). The GTK library could be installed as \texttt{libgtk-3-dev} on some systems. How fun!
|
||||
|
||||
Installation of the libraries on OSX can be facilitated using the \texttt{brew} package manager.
|
||||
|
||||
|
@ -15,8 +15,8 @@ ifeq ($(UNAME),Darwin)
|
||||
LIBS += -framework CoreFoundation -framework AppKit
|
||||
else
|
||||
SRC2 += ../../../nfd/nfd_gtk.c
|
||||
INCLUDES += $(shell pkg-config --cflags gtk+-2.0)
|
||||
LIBS += $(shell pkg-config --libs gtk+-2.0) -lGL
|
||||
INCLUDES += $(shell pkg-config --cflags gtk+-3.0)
|
||||
LIBS += $(shell pkg-config --libs gtk+-3.0) -lGL
|
||||
endif
|
||||
|
||||
include ../../../common/unix.mk
|
||||
|
Loading…
Reference in New Issue
Block a user