Ask Your Question

Bahadir Kursad's profile - activity

2015-06-11 09:20:19 -0600 received badge  Popular Question (source)
2013-02-23 16:50:09 -0600 received badge  Student (source)
2013-02-19 14:27:23 -0600 received badge  Editor (source)
2013-02-19 08:18:14 -0600 received badge  Supporter (source)
2013-02-19 08:17:38 -0600 commented answer OpenCV 2.4.4 beta Java Test Error

It is worked yes but i am trying to enable Java Development, as i understood with this code I am closing it and if i write cmake -DBUILD_opencv_java=ON -DBUILD_DOCS=ON -DBUILD_EXAMPLES=ON -DCMAKE_BUILD_TYPE=RELEASE -DWITH_TBB=ON -DINSTALL_C_EXAMPLES=ON -DWITH_CUDA=OFF -DWITH_OPENNI=ON -DWITH_UNICAP=ON -DWITH_V4L=ON -DWITH_XINE=ON ..

same i get same error.. the problem is with Java and its tests. Did i miss a dependency ?

2013-02-19 08:14:57 -0600 received badge  Scholar (source)
2013-02-18 16:25:33 -0600 asked a question OpenCV 2.4.4 beta Java Test Error

While installing the new version i did;

mkdir build
cd build
cmake -D CMAKE_BUILD_TYPE=BUILD -D CMAKE_INSTALL_PREFIX=/usr/local ..

Later I got:

[ 69%] Built target opencv_test_gpu_pch_dephelp
[ 69%] Built target pch_Generate_opencv_test_gpu
[ 71%] Built target opencv_test_gpu
[ 81%] Built target opencv_java
[ 81%] Build Java tests
Buildfile: /home/bahadir/Downloads/OpenCV-2.4.4/build/modules/java/test/.build/build.xml
build:
compile:
    [javac] Compiling 104 source files to /home/bahadir/Downloads/OpenCV-2.4.4/build/modules
/java/test/.build/build/classes
BUILD FAILED
/home/bahadir/Downloads/OpenCV-2.4.4/build/modules/java/test/.build/build.xml:55: The following 
error occurred while executing this line:
/home/bahadir/Downloads/OpenCV-2.4.4/build/modules/java/test/.build/build.xml:19: /home/bahadir
/Downloads/OpenCV-2.4.4/build/modules/java/test/.build/lib does not exist.
Total time: 0 seconds
make[2]: [modules/java/test/.build/build/jar/opencv-test.jar] Error 1
make[1]: [modules/java/test/CMakeFiles/opencv_test_java.dir/all] Error 2
make: [all] Error 2

I don't know what i am doing wrong