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
  • 具体错误
Gtk-ERROR **: 14:39:47.000: GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported

意思很明白,就是编译时,不能同时链接GTK 2.x与GTK3。这个时候直接链接GTK3即可。

如果不知道哪个是2,可以逐个删除测试。吾是去掉了以下链接通过:

" -lgobject-2.0 -lgtk-x11-2.0"
目录
相关文章
|
iOS开发 MacOS
Qt 报错:Undefined symbols for architecture arm64
MacBook Pro Apple M1 使用 Qt 6.4.1 的时候碰到的报错,做了不同的尝试,最后解决了这个报错。
706 0
Qt5Error:msvc-version.conf loaded but QMAKE_MSC_VER ins‘t set
Qt5Error:msvc-version.conf loaded but QMAKE_MSC_VER ins‘t set
432 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
270 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
251 0
MAC编译lame ld: symbol(s) not found for architecture x86_64/_lame_init_old“, referenced from
MAC编译lame ld: symbol(s) not found for architecture x86_64/_lame_init_old“, referenced from
267 0
解决办法:GTK+ 2.x symbols detected
解决办法:GTK+ 2.x symbols detected
373 0
|
C语言
configure:3855: gcc -V >&5 gcc: error: unrecognized command line option '-V'
configure:3855: gcc -V >&5 gcc: error: unrecognized command line option '-V'
691 0
|
Ubuntu Unix Linux
成功解决ERROR: Unable to find the development tool `make` in your path; please make sure that you have t
成功解决ERROR: Unable to find the development tool `make` in your path; please make sure that you have t
成功解决ERROR: Unable to find the development tool `make` in your path; please make sure that you have t
|
C++ Windows
编译WINDOWS版SDL2:You should run hg revert SDL_config.h
编译WINDOWS版SDL2:You should run hg revert SDL_config.h
1126 0