Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiling issue with GCC #10

Open
alonsolucas opened this issue Apr 3, 2020 · 1 comment
Open

Compiling issue with GCC #10

alonsolucas opened this issue Apr 3, 2020 · 1 comment
Labels
bug Something isn't working to do

Comments

@alonsolucas
Copy link

alonsolucas commented Apr 3, 2020

configure output:

Checking for Fuptcha dependencies...

☑️ GCC Compiler is installed in '/usr/bin/gcc'
☑️ Tesseract Lib is installed in '/usr/include/tesseract'
☑️ Leptonica Lib is installed in '/usr/include/leptonica'

All Fuptcha dependencies are Ok!

Output error:
cc -Wall -Wextra -O3 -march=native -llept -ltesseract -pthread  -o fuptcha src/fuptcha.o src/img.o src/pargs.o src/score.o src/tess.o src/util.o
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/libtesseract.so: referência indefinida a símbolo "pixRead"
/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/liblept.so: erro ao adicionar símbolos: DSO em falta da linha de comandos
collect2: error: ld returned 1 exit status
Makefile:9: recipe for target 'fuptcha' failed
make: *** [fuptcha] Error 1

GCC Version and Distro:

gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
@growlnx
Copy link
Collaborator

growlnx commented Apr 4, 2020

Hi @alonsolucas,

This error appears to be related to the GCC compiler. As a temporary solution until we discover the error, you can use the Clang compiler.

https://travis-ci.org/github/pyperanger/fuptcha

@growlnx growlnx added the bug Something isn't working label Apr 4, 2020
@growlnx growlnx changed the title Compiling issue Compiling issue with GCC Apr 4, 2020
@growlnx growlnx added the to do label Apr 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working to do
Projects
None yet
Development

No branches or pull requests

2 participants