首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 移动开发 > QT开发 >

蛋疼的有关问题:moc: Too many input files specified

2012-03-21 
蛋疼的问题:moc: Too many input files specifiedmoc: Too many input files specified有没有人遇到类似蛋

蛋疼的问题:moc: Too many input files specified
moc: Too many input files specified 
有没有人遇到类似蛋疼的错误?
新建QTGuiClass 就出错 ,要重新建一个工程才行。


[解决办法]
有冲突?
[解决办法]
在redhat上找到的解答 

gcc tends to report the error message "cpp: too many input files" when 
it cannot find tools in the places it expects them to be. One cause is 
if you configured with a --prefix or a --exec-prefix argument with a 
trailing slash. You must ensure there are no trailing slashes to the 
arguments to --prefix and --exec-prefix. Another cause is if you have 
moved your gcc installation from the location you originally specified 
when it was configured. This location is determined primarily by the 
--exec-prefix argument to gcc's configure script. 

More recent gcc snapshots do not have this limitation, which is specific 
to gcc 2.95.2 or earlier. To resolve it, you can: use a more recent gcc 
snapshot; reconfigure gcc with the intended installation location set 
correctly; or set up symlinks from the old location to the new one.

热点排行