解决办法:GTK+ 2.x symbols detected

简介: 解决办法:GTK+ 2.x symbols detected

 编译的时候,会提示GTK+ 2.x 跟GTK+ 3冲突。怎么办?

  删除与GTK相关的链接库语句,仅仅使用下一句:

`pkg-config --libs gtk+-3.0`

 

目录
相关文章
|
7月前
|
JavaScript
dyld: Library not loaded:解决办法
dyld: Library not loaded:解决办法
219 1
|
IDE 开发工具 数据库
STM32bug【 KEILMDK中出现The Project references devices, files or libraries that are not installed】
STM32bug【 KEILMDK中出现The Project references devices, files or libraries that are not installed】
167 0
Gtk-ERROR **: 14:39:47.000: GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process
Gtk-ERROR **: 14:39:47.000: GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process
223 0
|
Windows
WINDOWS/cygwin编译lame出错:error: ‘_O_BINARY‘ undeclared
WINDOWS/cygwin编译lame出错:error: ‘_O_BINARY‘ undeclared
145 0
x86_64-linux-gnu/libgdk-x11-2.0.so: error adding symbols: DSO missing from command line
x86_64-linux-gnu/libgdk-x11-2.0.so: error adding symbols: DSO missing from command line
169 0
|
NoSQL
gdb问题解决办法:no debugging symbols found
gdb问题解决办法:no debugging symbols found
155 0
codeblocks中出现#error This file requires compiler and library support for the错误时的解决方案
codeblocks中出现#error This file requires compiler and library support for the错误时的解决方案
479 0
codeblocks中出现#error This file requires compiler and library support for the错误时的解决方案
如何解决:./real.exe: error while loading shared libraries: libhdf5hl_fortran.so.100: cannot open shared
如何解决:./real.exe: error while loading shared libraries: libhdf5hl_fortran.so.100: cannot open shared
如何解决:./real.exe: error while loading shared libraries: libhdf5hl_fortran.so.100: cannot open shared
Apple Mach-O Linker Warning Directory not found解决办法
Apple Mach-O Linker Warning Directory not found解决办法
101 0
解决办法:GTK+ 2.x symbols detected
解决办法:GTK+ 2.x symbols detected
491 0