Open latot opened 8 years ago
This should be fixed in 38c9ceb6608. Please try again after a git pull
sadly don't works. as a note i'm in the tesseract-pkg-config branch
The commit is on that branch. Please run git pull
then make distclean
and then try the ./configure
again.
don't works
./configure
-- The C compiler identification is GNU 4.9.3
-- The CXX compiler identification is GNU 4.9.3
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Source: /home/pipe/Documentos/git/VobSub2SRT
-- Binary: /home/pipe/Documentos/git/VobSub2SRT/build
-- Build type: Debug
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.28")
-- Checking for module 'tesseract'
-- Found tesseract, version 3.04.00
-- Found Tesseract: tesseract
-- Bash completion path: /usr/share/bash-completion/completions
-- vobsub2srt version: 1.0pre7-3-g38c9ceb
-- Debian architecture: amd64
-- Configuring done
-- Generating done
-- Build files have been written to: /home/pipe/Documentos/git/VobSub2SRT/build
pipe@IIN6 ~/Documentos/git/VobSub2SRT $ make -j9
make -C build
make[1]: se entra en el directorio '/home/pipe/Documentos/git/VobSub2SRT/build'
make[2]: se entra en el directorio '/home/pipe/Documentos/git/VobSub2SRT/build'
make[3]: se entra en el directorio '/home/pipe/Documentos/git/VobSub2SRT/build'
make[3]: se entra en el directorio '/home/pipe/Documentos/git/VobSub2SRT/build'
Scanning dependencies of target documentation
Scanning dependencies of target mplayer
make[3]: se sale del directorio '/home/pipe/Documentos/git/VobSub2SRT/build'
make[3]: se entra en el directorio '/home/pipe/Documentos/git/VobSub2SRT/build'
make[3]: se sale del directorio '/home/pipe/Documentos/git/VobSub2SRT/build'
make[3]: se entra en el directorio '/home/pipe/Documentos/git/VobSub2SRT/build'
[ 10%] Generating vobsub2srt.1.gz
[ 20%] Building C object mplayer/CMakeFiles/mplayer.dir/mp_msg.c.o
[ 30%] Building C object mplayer/CMakeFiles/mplayer.dir/vobsub.c.o
[ 40%] Building C object mplayer/CMakeFiles/mplayer.dir/spudec.c.o
[ 50%] Building C object mplayer/CMakeFiles/mplayer.dir/unrar_exec.c.o
make[3]: se sale del directorio '/home/pipe/Documentos/git/VobSub2SRT/build'
[ 50%] Built target documentation
[ 60%] Linking C static library ../lib/libmplayer.a
make[3]: se sale del directorio '/home/pipe/Documentos/git/VobSub2SRT/build'
[ 60%] Built target mplayer
make[3]: se entra en el directorio '/home/pipe/Documentos/git/VobSub2SRT/build'
Scanning dependencies of target vobsub2srt
make[3]: se sale del directorio '/home/pipe/Documentos/git/VobSub2SRT/build'
make[3]: se entra en el directorio '/home/pipe/Documentos/git/VobSub2SRT/build'
[ 70%] Building CXX object src/CMakeFiles/vobsub2srt.dir/cmd_options.c++.o
[ 80%] Building CXX object src/CMakeFiles/vobsub2srt.dir/vobsub2srt.c++.o
[ 90%] Building CXX object src/CMakeFiles/vobsub2srt.dir/langcodes.c++.o
/home/pipe/Documentos/git/VobSub2SRT/src/vobsub2srt.c++: En la función ‘int main(int, char**)’:
/home/pipe/Documentos/git/VobSub2SRT/src/vobsub2srt.c++:218:3: error: ‘TessBaseAPI’ no se ha declarado
TessBaseAPI::SimpleInit(tess_path, tess_lang, false); // TODO params
^
/home/pipe/Documentos/git/VobSub2SRT/src/vobsub2srt.c++:220:5: error: ‘TessBaseAPI’ no se ha declarado
TessBaseAPI::SetVariable("tessedit_char_blacklist", blacklist.c_str());
^
/home/pipe/Documentos/git/VobSub2SRT/src/vobsub2srt.c++:275:20: error: ‘TessBaseAPI’ no se ha declarado
char *text = TessBaseAPI::TesseractRect(image, 1, stride, 0, 0, width, height);
^
/home/pipe/Documentos/git/VobSub2SRT/src/vobsub2srt.c++:314:3: error: ‘TessBaseAPI’ no se ha declarado
TessBaseAPI::End();
^
src/CMakeFiles/vobsub2srt.dir/build.make:62: fallo en las instrucciones para el objetivo 'src/CMakeFiles/vobsub2srt.dir/vobsub2srt.c++.o'
make[3]: *** [src/CMakeFiles/vobsub2srt.dir/vobsub2srt.c++.o] Error 1
make[3]: *** Se espera a que terminen otras tareas....
make[3]: se sale del directorio '/home/pipe/Documentos/git/VobSub2SRT/build'
CMakeFiles/Makefile2:172: fallo en las instrucciones para el objetivo 'src/CMakeFiles/vobsub2srt.dir/all'
make[2]: *** [src/CMakeFiles/vobsub2srt.dir/all] Error 2
make[2]: se sale del directorio '/home/pipe/Documentos/git/VobSub2SRT/build'
Makefile:149: fallo en las instrucciones para el objetivo 'all'
make[1]: *** [all] Error 2
make[1]: se sale del directorio '/home/pipe/Documentos/git/VobSub2SRT/build'
Makefile:4: fallo en las instrucciones para el objetivo 'all'
make: *** [all] Error 2
Hi, well here again, opencl removed from tesseract so now works, lets try use pkg-config with the title branch: