小编sfw*_*sfw的帖子

在mac osx中编译libqxt

我有最新的(git)版本的libqxt.我运行./configure并且运行正常,然后使用此错误失败:

linking ../../lib/QxtWidgets.framework/QxtWidgets
ld: warning: directory not found for option '-L/usr/local/pgsql/lib'
ld: warning: directory not found for option '-L/tmp/qt-stuff-85167/source/qt-everywhere-opensource-src-4.8.1/Desktop/Qt/4.8.1/gcc/lib'
ld: warning: directory not found for option '-F/tmp/qt-stuff-85167/source/qt-everywhere-opensource-src-4.8.1/Desktop/Qt/4.8.1/gcc/lib'
Undefined symbols for architecture x86_64:
  "_CGSGetWindowProperty", referenced from:
      QxtWindowSystem::windowTitle(long)   in qxtwindowsystem_mac.o
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
make[1]: *** [../../lib/QxtWidgets.framework/QxtWidgets] Error 1
make: *** [sub-src-widgets-install_subtargets] Error 2
Run Code Online (Sandbox Code Playgroud)

如果重要,我正在使用OSX Mountain Lion.

谢谢!

macos qt makefile libqxt

5
推荐指数
1
解决办法
883
查看次数

标签 统计

libqxt ×1

macos ×1

makefile ×1

qt ×1