2015-07-03 49 views
0

我添加了"boofcv\evaluation\visualization\src"到我在eclipse中正常的java项目。我也加了预编译的库。所有其它Java文件除了这一条线上进行罚款:Boofcv视频马赛克示例编译错误

enter image description here

错误:

Exception in thread "main" java.lang.Error: Unresolved compilation problems: 
The constructor VideoProcessAppBase<I>(int, (color ? ImageType.ms(3, imageType) : ImageType.single(imageType))) is undefined 
Type mismatch: cannot convert from ImageType<MultiSpectral<ImageSingleBand>> to Class<I> 
Type mismatch: cannot convert from ImageType<MultiSpectral<ImageSingleBand>> to Class<I> 
Type mismatch: cannot convert from ImageType<ImageSingleBand> to Class<I> 
Type mismatch: cannot convert from ImageType<ImageSingleBand> to Class<I> 

at boofcv.alg.sfm.d2.VideoStitchBaseApp.<init>(VideoStitchBaseApp.java:97) 
at boofcv.alg.sfm.d2.VideoMosaicSequentialPointApp.<init>(VideoMosaicSequentialPointApp.java:55) 
at boofcv.alg.sfm.d2.VideoMosaicSequentialPointApp.main(VideoMosaicSequentialPointApp.java:137) 

任何帮助表示赞赏。

回答

0

它是固定的 我用这些修正错误:

  1. 评估图书馆是不是在预编译libs.I下载它,并将其添加
  2. 我删除了其他Java文件在同一个包特别是有错误的那个。我的项目中只有一个java文件