2015-07-03 34 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文件