functions/qcomparingaggregator.cpp:207:5: error: ‘prepareComparison’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
functions/qcomparingaggregator.cpp:207:5: note: declarations in dependent base ‘QPatternist::ComparisonPlatform<QPatternist::ComparingAggregator<(QPatternist::AtomicComparator::Operator)4u, (QPatternist::AtomicComparator::ComparisonResult)4u>, true, (QPatternist::AtomicComparator::ComparisonType)2u, (QPatternist::ReportContext::ErrorCode)119u>’ are not found by unqualified lookup
functions/qcomparingaggregator.cpp:207:5: note: use ‘this->prepareComparison’ instead
make[1]: *** [.obj/release-shared/qxpath20corefunctions.o] Error 1
make[1]: Leaving directory `/opt/EmbedSky/qt/qt-x11-opensource-src-4.5.3/src/xmlpatterns'
make: *** [sub-xmlpatterns-make_default-ordered] Error 2
在网上搜索了好多次,都无果,make了两次都是同样的错误,到底是因为什么导致的呢?辛苦各位了~~
17 个解决方案
#1
ubuntu最容易了,
终端里: sudo apt-get install qt4-dev-tools qt4-doc qt4-qtconfig qt4-demos qt4-designer
软件仓库里找到QtCreator,安装。
如果没有g++,终端里:sudo apt-get install build-essential
就完成了。
终端里: sudo apt-get install qt4-dev-tools qt4-doc qt4-qtconfig qt4-demos qt4-designer
软件仓库里找到QtCreator,安装。
如果没有g++,终端里:sudo apt-get install build-essential
就完成了。
#2
这样就构建了Qt的环境了么?(新人一枚,还请谅解)
#3
如果在没有板子的情况下,不是应该先安装完qt-x11后在安装这个qt4么?还是说在系统起初建立的时候就可以直接按照您说的做就可以搭建好Qt的环境了?
#4
配置这种事情最烦人了,直接找师兄拉一个过来就好了
#5
额 。。难道我真的要放弃了么,今天又编译了一天,仍是错误,换了一个安装包,错误倒是不一样了,可是还是不成功呀,电脑都撑不住了,起初编译一次两个小时,现在编译一次四五个小时。。谁能告诉我这是什么样的错误呢,怎么就一直不成功呢?这跟虚拟机的版本有关系么?
/usr/bin/ld: cannot find -lXrender
collect2: error: ld returned 1 exit status
make[1]: *** [../../../../lib/libQtWebKit.so.4.7.4] Error 1
make[1]: Leaving directory `/opt/EmbedSky/qt/qt-everywhere-opensource-src-4.7.4/src/3rdparty/webkit/WebCore'
make: *** [sub-webkit-make_default-ordered] Error 2
/usr/bin/ld: cannot find -lXrender
collect2: error: ld returned 1 exit status
make[1]: *** [../../../../lib/libQtWebKit.so.4.7.4] Error 1
make[1]: Leaving directory `/opt/EmbedSky/qt/qt-everywhere-opensource-src-4.7.4/src/3rdparty/webkit/WebCore'
make: *** [sub-webkit-make_default-ordered] Error 2
#6
/usr/bin/ld: cannot find -lXrender ---------报错找不到相应的库,可以安装完相应的库再试试。
当然,如果不需要使用webkit相关的内容,建议直接不编译webkit模块。
当然,如果不需要使用webkit相关的内容,建议直接不编译webkit模块。
#7
make一下时间简直太久了,我直接从别人那拷贝了一个安装好了的,可是不知道怎么检测有没有安装Qte 查询了默认目录和主人公可能的安装目录 都没找到 难道是没安装么?没安装Qte是不是就不能生成运行在ARM平台上的二进制代码呀?
#8
换个积分!!!!!!!!!!!!
#9
Qte是在ARM平台里运行Qt程序的一个库.如果ARM板子里没有这个Qte的库的话,肯定是运行不了Qt的程序的,但是你所谓的ARM的二进制代码范围就太广了,如果仅仅是驱动或者一些C语言程序的话,交叉编译下,就可以在ARM板子上运行了.
#10
ubuntu安装软件是最简单的
前边已经有人说过了。只要能连接到源的,直接apt-get install
官方源你只要能连接到internet就没问题
前边已经有人说过了。只要能连接到源的,直接apt-get install
官方源你只要能连接到internet就没问题
#11
jdwx1正解。
#12
朋友您好,我也遇到了如下问题,请问您最终如何解决的
functions/qxpath20corefunctions.cpp:742:1: required from here
functions/qcomparingaggregator.cpp:209:5: 错误: ‘prepareComparison’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
functions/qcomparingaggregator.cpp:209:5: 附注: declarations in dependent base ‘QPatternist::ComparisonPlatform<QPatternist::ComparingAggregator<(QPatternist::AtomicComparator::Operator)4u, (QPatternist::AtomicComparator::ComparisonResult)4u>, true, (QPatternist::AtomicComparator::ComparisonType)2u, (QPatternist::ReportContext::ErrorCode)119u>’ are not found by unqualified lookup
functions/qcomparingaggregator.cpp:209:5: 附注: use ‘this->prepareComparison’ instead
make[1]: *** [.obj/release-shared/qxpath20corefunctions.o] 错误 1
make[1]:正在离开目录 `/home/wjq/linux-src/qt-x11-opensource-src-4.4.0/src/xmlpatterns'
make: *** [sub-xmlpatterns-make_default-ordered] 错误 2
functions/qxpath20corefunctions.cpp:742:1: required from here
functions/qcomparingaggregator.cpp:209:5: 错误: ‘prepareComparison’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
functions/qcomparingaggregator.cpp:209:5: 附注: declarations in dependent base ‘QPatternist::ComparisonPlatform<QPatternist::ComparingAggregator<(QPatternist::AtomicComparator::Operator)4u, (QPatternist::AtomicComparator::ComparisonResult)4u>, true, (QPatternist::AtomicComparator::ComparisonType)2u, (QPatternist::ReportContext::ErrorCode)119u>’ are not found by unqualified lookup
functions/qcomparingaggregator.cpp:209:5: 附注: use ‘this->prepareComparison’ instead
make[1]: *** [.obj/release-shared/qxpath20corefunctions.o] 错误 1
make[1]:正在离开目录 `/home/wjq/linux-src/qt-x11-opensource-src-4.4.0/src/xmlpatterns'
make: *** [sub-xmlpatterns-make_default-ordered] 错误 2
#13
楼主问题怎么解决的,我也遇到了同样的问题,求助
#14
12楼问题解决了么
#15
make[2]: *** [../../../../../../lib/libQtWebKit.so.4.9.4] Error 1
make: *** [sub-webkit-make_default-ordered] Error 2
#16
在./src/xmlpatterns/Makefile中CXXFLAGS增加选项 -fpermissive。
#17
这个能解决楼主最开始的问题,后面这个webkit问题无法解决
#18
#1
ubuntu最容易了,
终端里: sudo apt-get install qt4-dev-tools qt4-doc qt4-qtconfig qt4-demos qt4-designer
软件仓库里找到QtCreator,安装。
如果没有g++,终端里:sudo apt-get install build-essential
就完成了。
终端里: sudo apt-get install qt4-dev-tools qt4-doc qt4-qtconfig qt4-demos qt4-designer
软件仓库里找到QtCreator,安装。
如果没有g++,终端里:sudo apt-get install build-essential
就完成了。
#2
这样就构建了Qt的环境了么?(新人一枚,还请谅解)
#3
如果在没有板子的情况下,不是应该先安装完qt-x11后在安装这个qt4么?还是说在系统起初建立的时候就可以直接按照您说的做就可以搭建好Qt的环境了?
#4
配置这种事情最烦人了,直接找师兄拉一个过来就好了
#5
额 。。难道我真的要放弃了么,今天又编译了一天,仍是错误,换了一个安装包,错误倒是不一样了,可是还是不成功呀,电脑都撑不住了,起初编译一次两个小时,现在编译一次四五个小时。。谁能告诉我这是什么样的错误呢,怎么就一直不成功呢?这跟虚拟机的版本有关系么?
/usr/bin/ld: cannot find -lXrender
collect2: error: ld returned 1 exit status
make[1]: *** [../../../../lib/libQtWebKit.so.4.7.4] Error 1
make[1]: Leaving directory `/opt/EmbedSky/qt/qt-everywhere-opensource-src-4.7.4/src/3rdparty/webkit/WebCore'
make: *** [sub-webkit-make_default-ordered] Error 2
/usr/bin/ld: cannot find -lXrender
collect2: error: ld returned 1 exit status
make[1]: *** [../../../../lib/libQtWebKit.so.4.7.4] Error 1
make[1]: Leaving directory `/opt/EmbedSky/qt/qt-everywhere-opensource-src-4.7.4/src/3rdparty/webkit/WebCore'
make: *** [sub-webkit-make_default-ordered] Error 2
#6
/usr/bin/ld: cannot find -lXrender ---------报错找不到相应的库,可以安装完相应的库再试试。
当然,如果不需要使用webkit相关的内容,建议直接不编译webkit模块。
当然,如果不需要使用webkit相关的内容,建议直接不编译webkit模块。
#7
make一下时间简直太久了,我直接从别人那拷贝了一个安装好了的,可是不知道怎么检测有没有安装Qte 查询了默认目录和主人公可能的安装目录 都没找到 难道是没安装么?没安装Qte是不是就不能生成运行在ARM平台上的二进制代码呀?
#8
换个积分!!!!!!!!!!!!
#9
Qte是在ARM平台里运行Qt程序的一个库.如果ARM板子里没有这个Qte的库的话,肯定是运行不了Qt的程序的,但是你所谓的ARM的二进制代码范围就太广了,如果仅仅是驱动或者一些C语言程序的话,交叉编译下,就可以在ARM板子上运行了.
#10
ubuntu安装软件是最简单的
前边已经有人说过了。只要能连接到源的,直接apt-get install
官方源你只要能连接到internet就没问题
前边已经有人说过了。只要能连接到源的,直接apt-get install
官方源你只要能连接到internet就没问题
#11
jdwx1正解。
#12
朋友您好,我也遇到了如下问题,请问您最终如何解决的
functions/qxpath20corefunctions.cpp:742:1: required from here
functions/qcomparingaggregator.cpp:209:5: 错误: ‘prepareComparison’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
functions/qcomparingaggregator.cpp:209:5: 附注: declarations in dependent base ‘QPatternist::ComparisonPlatform<QPatternist::ComparingAggregator<(QPatternist::AtomicComparator::Operator)4u, (QPatternist::AtomicComparator::ComparisonResult)4u>, true, (QPatternist::AtomicComparator::ComparisonType)2u, (QPatternist::ReportContext::ErrorCode)119u>’ are not found by unqualified lookup
functions/qcomparingaggregator.cpp:209:5: 附注: use ‘this->prepareComparison’ instead
make[1]: *** [.obj/release-shared/qxpath20corefunctions.o] 错误 1
make[1]:正在离开目录 `/home/wjq/linux-src/qt-x11-opensource-src-4.4.0/src/xmlpatterns'
make: *** [sub-xmlpatterns-make_default-ordered] 错误 2
functions/qxpath20corefunctions.cpp:742:1: required from here
functions/qcomparingaggregator.cpp:209:5: 错误: ‘prepareComparison’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
functions/qcomparingaggregator.cpp:209:5: 附注: declarations in dependent base ‘QPatternist::ComparisonPlatform<QPatternist::ComparingAggregator<(QPatternist::AtomicComparator::Operator)4u, (QPatternist::AtomicComparator::ComparisonResult)4u>, true, (QPatternist::AtomicComparator::ComparisonType)2u, (QPatternist::ReportContext::ErrorCode)119u>’ are not found by unqualified lookup
functions/qcomparingaggregator.cpp:209:5: 附注: use ‘this->prepareComparison’ instead
make[1]: *** [.obj/release-shared/qxpath20corefunctions.o] 错误 1
make[1]:正在离开目录 `/home/wjq/linux-src/qt-x11-opensource-src-4.4.0/src/xmlpatterns'
make: *** [sub-xmlpatterns-make_default-ordered] 错误 2
#13
楼主问题怎么解决的,我也遇到了同样的问题,求助
#14
12楼问题解决了么
#15
make[2]: *** [../../../../../../lib/libQtWebKit.so.4.9.4] Error 1
make: *** [sub-webkit-make_default-ordered] Error 2
#16
在./src/xmlpatterns/Makefile中CXXFLAGS增加选项 -fpermissive。
#17
这个能解决楼主最开始的问题,后面这个webkit问题无法解决