lessthanoptimal / BoofCV

Fast computer vision library for SFM, calibration, fiducials, tracking, image processing, and more.
http://boofcv.org
1.07k stars 257 forks source link

Could not copy MANIFEST.MF to '/home/chris/Downloads/BoofCV/examples/build/tmp/jar/MANIFEST.MF'. #88

Closed tdrone993 closed 7 years ago

tdrone993 commented 7 years ago
lessthanoptimal commented 7 years ago

Can you type out exactly how you tried to build it? Did you follow the quick start instructions in the readme.md?

tdrone993 commented 7 years ago

Follow the read me instructions. Oracle JDK 9 on 14.05

lessthanoptimal commented 7 years ago

I think I know what's going on. This is a gradle bug. Which version are you building? Source of the code? github master? github snapshot? downloaded source code from sourceforge... etc.

lessthanoptimal commented 7 years ago

If the problem is what I think it is the hack work around is to comment out the following from boodfcv/build.gradle

apply plugin: 'osgi'

jar {
        manifest { // the manifest of the default jar is of type OsgiManifest
            instruction 'Bundle-Vendor', 'BoofCV'
//            instruction 'Bundle-Description', 'BoofCV'
            instruction 'Bundle-DocURL', 'http://boofcv.org'
        }
    }
tdrone993 commented 7 years ago

Skipping integration/android because ANDROID_HOME has not been set! See integration/android/readme.txt Skipping integration/boofcv-openkinect because boofcv-openkinect/libfreenect is missing! See integration/openkinect/readme.txt Parallel execution is an incubating feature.

FAILURE: Build failed with an exception.

BUILD FAILED in 12s 46 actionable tasks: 12 executed, 34 up-to-date

tdrone993 commented 7 years ago
jar {
    manifest { // the manifest of the default jar is of type OsgiManifest

// instruction 'Bundle-Vendor', 'BoofCV' // instruction 'Bundle-Description', 'BoofCV' instruction 'Bundle-DocURL', 'http://boofcv.org' } }

lessthanoptimal commented 7 years ago

Could you provide the location you obtained the source code you're trying to compile? There are some slight differences. Also let me know if commenting out the lines I mentioned above fixes the problem. I'm assuming those error messages was generated without commenting them out since OSGI is still mentioned.

tdrone993 commented 7 years ago

git clone https://github.com/lessthanoptimal/BoofCV.git did not fix the problems.

lessthanoptimal commented 7 years ago

I've removed OSGI from build.gradle. Fixed the problem. Some people might complain...

stiv-yakovenko commented 6 years ago

I still have this problem: https://stackoverflow.com/questions/47536817/error-building-boofcv-calibration-app-with-gradle?noredirect=1#comment82033250_47536817