cabelo / opencertiface

Open source version of the open Certiface technology. A biometric cloud service created to combat fraud and protect the good of the person.
Apache License 2.0
47 stars 17 forks source link

opencv2/nonfree/nonfree.hpp: Arquivo ou diretório não encontrado #1

Open IgorDePaula opened 8 years ago

IgorDePaula commented 8 years ago

Ao compilar o programa eu recebi o seguinte erro:

/home/igor/git/opencertiface/biometrics/openbr/plugins/imgproc/custom_sift.cpp:108:39: fatal error: opencv2/nonfree/nonfree.hpp: Arquivo ou diretório não encontrado
compilation terminated.
openbr/CMakeFiles/openbr.dir/build.make:2568: recipe for target 'openbr/CMakeFiles/openbr.dir/plugins/imgproc/custom_sift.cpp.o' failed
make[2]: *** [openbr/CMakeFiles/openbr.dir/plugins/imgproc/custom_sift.cpp.o] Error 1
CMakeFiles/Makefile2:981: recipe for target 'openbr/CMakeFiles/openbr.dir/all' failed
make[1]: *** [openbr/CMakeFiles/openbr.dir/all] Error 2
Makefile:146: recipe for target 'all' failed
make: *** [all] Error 2
cabelo commented 8 years ago

A dependência do pacote openCV é obrigatória para a compilação do openCertiface. Este é o motivo do erro.

Em 09-04-2016 10:55, Igor C. de Paula escreveu:

Ao compilar o programa eu recebi o seguinte erro:

|/home/igor/git/opencertiface/biometrics/openbr/plugins/imgproc/custom_sift.cpp:108:39: fatal error: opencv2/nonfree/nonfree.hpp: Arquivo ou diretório não encontrado compilation terminated. openbr/CMakeFiles/openbr.dir/build.make:2568: recipe for target 'openbr/CMakeFiles/openbr.dir/plugins/imgproc/custom_sift.cpp.o' failed make[2]: * [openbr/CMakeFiles/openbr.dir/plugins/imgproc/custom_sift.cpp.o] Error 1 CMakeFiles/Makefile2:981: recipe for target 'openbr/CMakeFiles/openbr.dir/all' failed make[1]: * [openbr/CMakeFiles/openbr.dir/all] Error 2 Makefile:146: recipe for target 'all' failed make: *\ [all] Error 2 |

— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/cabelo/opencertiface/issues/1

Alessandro de Oliveira Faria (AKA CABELO) openSUSE member & Embaixador América Latina cabelo@opensuse.org http://pt.opensuse.org/Utilizador:Cabelo http://mozillians.org/pt-BR/u/cabelo/

IgorDePaula commented 8 years ago

Eu imaginei isto, mas como diz que falta o arquio dentro da pasta, e tanto no github quando no link do viva o linux eu nao encontrei nada de que o opencv fosse dependencia (a outra ja foi instalada), eu achei que pudesser algum bug esquecido. Obrigado pelo esclarecimento.

Em 9 de abril de 2016 15:33, Alessandro de Oliveira Faria (A.K.A.CABELO) < notifications@github.com> escreveu:

A dependência do pacote openCV é obrigatória para a compilação do openCertiface. Este é o motivo do erro.

Em 09-04-2016 10:55, Igor C. de Paula escreveu:

Ao compilar o programa eu recebi o seguinte erro:

|/home/igor/git/opencertiface/biometrics/openbr/plugins/imgproc/custom_sift.cpp:108:39:

fatal error: opencv2/nonfree/nonfree.hpp: Arquivo ou diretório não encontrado compilation terminated. openbr/CMakeFiles/openbr.dir/build.make:2568: recipe for target 'openbr/CMakeFiles/openbr.dir/plugins/imgproc/custom_sift.cpp.o' failed make[2]: [openbr/CMakeFiles/openbr.dir/plugins/imgproc/custom_sift.cpp.o] Error 1 CMakeFiles/Makefile2:981: recipe for target 'openbr/CMakeFiles/openbr.dir/all' failed make[1]: [openbr/CMakeFiles/openbr.dir/all] Error 2 Makefile:146: recipe for target 'all' failed make: *\ [all] Error 2 |

— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/cabelo/opencertiface/issues/1

Alessandro de Oliveira Faria (AKA CABELO) openSUSE member & Embaixador América Latina cabelo@opensuse.org http://pt.opensuse.org/Utilizador:Cabelo http://mozillians.org/pt-BR/u/cabelo/

— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/cabelo/opencertiface/issues/1#issuecomment-207827858

IgorDePaula commented 8 years ago

Eu instalei o opencv (sem erros) e o erro de sua lib continua. A dependencia openbr esta procurando o opencv2 e nao encontra, eu instalei o opencv 3 e o erro persiste.

cabelo commented 8 years ago

O algoritmo openBr trabalha apenas a lib openCV 2.4.11 não foi portada para a versão 3.

Em 09-04-2016 17:38, Igor C. de Paula escreveu:

Eu instalei o opencv (sem erros) e o erro de sua lib continua. A dependencia openbr esta procurando o opencv2 e nao encontra, eu instalei o opencv 3 e o erro persiste.

— You are receiving this because you commented. Reply to this email directly or view it on GitHub https://github.com/cabelo/opencertiface/issues/1#issuecomment-207849692

Alessandro de Oliveira Faria (AKA CABELO) openSUSE member & Embaixador América Latina cabelo@opensuse.org http://pt.opensuse.org/Utilizador:Cabelo http://mozillians.org/pt-BR/u/cabelo/

IgorDePaula commented 8 years ago

Ok, instalando o opencv 2.4.11 resolveu e instalou. Coloque isto como dependencia depois nos readme files.

IgorDePaula commented 8 years ago

Rapaz, estou usando ubuntu 15.10, instalou o openbr, mas o opencertiface nao.

IgorDePaula commented 8 years ago

Ao dar make na pasta raiz do opencertiface, eu recebi este erro:

gcc -DLINUX    -c -o webServerVerifyFace.o webServerVerifyFace.c
gcc -DLINUX -DLINUX -DWITH_NOEMPTYSTRUCT -c -I/usr/share/gsoap/ -I/usr/share/gsoap/plugin  soapServer.c -o soapServer.o
gcc -DLINUX -DLINUX -DWITH_NOEMPTYSTRUCT -c -I/usr/share/gsoap/ -I/usr/share/gsoap/plugin  soapC.c -o soapC.o
gcc -DLINUX -DLINUX -DWITH_NOEMPTYSTRUCT -c -I/usr/share/gsoap/ -I/usr/share/gsoap/plugin  ping.c -o ping.o
In file included from soapH.h:16:0,
                 from ping.c:1:
soapStub.h:19:3: error: #error "GSOAP VERSION 20829 MISMATCH IN GENERATED CODE VERSUS LIBRARY CODE: PLEASE REINSTALL PACKAGE"
 # error "GSOAP VERSION 20829 MISMATCH IN GENERATED CODE VERSUS LIBRARY CODE: PLEASE REINSTALL PACKAGE"
   ^
In file included from soapH.h:16:0,
                 from webServerVerifyFace.h:1,
                 from webServerVerifyFace.c:11:
soapStub.h:19:3: error: #error "GSOAP VERSION 20829 MISMATCH IN GENERATED CODE VERSUS LIBRARY CODE: PLEASE REINSTALL PACKAGE"
 # error "GSOAP VERSION 20829 MISMATCH IN GENERATED CODE VERSUS LIBRARY CODE: PL
   ^
ping.c: In function ‘ns__ping’:
ping.c:28:4: warning: implicit declaration of function ‘log_message’ [-Wimplicit-function-declaration]
    log_message((char *)processName,(char *)msgLog);
    ^
ping.c:31:18: warning: embedded ‘\0’ in format [-Wformat-contains-nul]
    sprintf(msgOk,"Ok:%s uptime: %ld days, %ld:%02ld:%02ld total RAM : %5.1f MB free RAM : %5.1f MB\0",
                  ^
webServerVerifyFace.c: In function ‘main’:
webServerVerifyFace.c:33:4: warning: implicit declaration of function ‘savePIDrun’ [-Wimplicit-function-declaration]
    savePIDrun(processName);
    ^
webServerVerifyFace.c:48:22: warning: embedded ‘\0’ in format [-Wformat-contains-nul]
       sprintf(msgLog,"Socket connection successful: master socket = %d\0", m);
                      ^
webServerVerifyFace.c:49:7: warning: implicit declaration of function ‘log_message’ [-Wimplicit-function-declaration]
       log_message((char *)processName,(char *)msgLog);
       ^
webServerVerifyFace.c:57:25: warning: embedded ‘\0’ in format [-Wformat-contains-nul]
          sprintf(msgLog,"Socket connection successful: slave socket = %d\0", s)
                         ^
make: *** [ping.o] Error 1
Makefile:48: recipe for target 'ping.o' failed
make: ** Esperando que outros processos terminem.
make: *** [webServerVerifyFace.o] Error 1
<builtin>: recipe for target 'webServerVerifyFace.o' failed
In file included from soapH.h:16:0,
                 from soapServer.c:18:
soapStub.h:19:3: error: #error "GSOAP VERSION 20829 MISMATCH IN GENERATED CODE VERSUS LIBRARY CODE: PLEASE REINSTALL PACKAGE"
 # error "GSOAP VERSION 20829 MISMATCH IN GENERATED CODE VERSUS LIBRARY CODE: PLEASE REINSTALL PACKAGE"
   ^
In file included from soapH.h:16:0,
                 from soapC.c:19:
soapStub.h:19:3: error: #error "GSOAP VERSION 20829 MISMATCH IN GENERATED CODE VERSUS LIBRARY CODE: PLEASE REINSTALL PACKAGE"
 # error "GSOAP VERSION 20829 MISMATCH IN GENERATED CODE VERSUS LIBRARY CODE: PLEASE REINSTALL PACKAGE"
   ^
make: *** [soapServer.o] Error 1
Makefile:39: recipe for target 'soapServer.o' failed
soapC.c: In function ‘soap_in_SOAP_ENV__Fault’:
soapC.c:731:124: warning: passing argument 6 of ‘soap_id_enter’ makes integer from pointer without a cast [-Wint-conversion]
  a = (struct SOAP_ENV__Fault *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_SOAP_ENV__Fault, sizeof(struct SOAP_ENV__Fault), NULL, NULL, NULL, NULL);
                                                                                                                            ^
In file included from soapStub.h:17:0,
                 from soapH.h:16,
                 from soapC.c:19:
/usr/include/stdsoap2.h:2571:29: note: expected ‘unsigned int’ but argument is of type ‘void *’
 SOAP_FMAC1 void* SOAP_FMAC2 soap_id_enter(struct soap*, const char *id, void *p, int t, size_t n, unsigned int k, const char *type, const char *arrayType, void *(*finstantiate)(struct soap*, int, const char*, const char*, size_t*));
                             ^
soapC.c:795:34: error: too many arguments to function ‘soap_id_forward’
  { a = (struct SOAP_ENV__Fault *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_SOAP_ENV__Fault, SOAP_TYPE_SOAP_ENV__Fault, sizeof(struct SOAP_ENV__Fault), 0, NULL, NULL);
                                  ^
In file included from soapStub.h:17:0,
                 from soapH.h:16,
                 from soapC.c:19:
/usr/include/stdsoap2.h:2569:29: note: declared here
 SOAP_FMAC1 void* SOAP_FMAC2 soap_id_forward(struct soap*, const char *id, void *p, size_t len, int st, int tt, size_t n, unsigned int k, void(*fcopy)(struct soap*, int, int, void*, size_t, const void*, size_t));
                             ^
soapC.c: In function ‘soap_in_SOAP_ENV__Reason’:
soapC.c:852:127: warning: passing argument 6 of ‘soap_id_enter’ makes integer from pointer without a cast [-Wint-conversion]
  a = (struct SOAP_ENV__Reason *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_SOAP_ENV__Reason, sizeof(struct SOAP_ENV__Reason), NULL, NULL, NULL, NULL);
                                                                                                                               ^
In file included from soapStub.h:17:0,
                 from soapH.h:16,
                 from soapC.c:19:
/usr/include/stdsoap2.h:2571:29: note: expected ‘unsigned int’ but argument is of type ‘void *’
 SOAP_FMAC1 void* SOAP_FMAC2 soap_id_enter(struct soap*, const char *id, void *p, int t, size_t n, unsigned int k, const char *type, const char *arrayType, void *(*finstantiate)(struct soap*, int, const char*, const char*, size_t*));
                             ^
soapC.c:876:35: error: too many arguments to function ‘soap_id_forward’
  { a = (struct SOAP_ENV__Reason *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_SOAP_ENV__Reason, SOAP_TYPE_SOAP_ENV__Reason, sizeof(struct SOAP_ENV__Reason), 0, NULL, NULL);
                                   ^
In file included from soapStub.h:17:0,
                 from soapH.h:16,
                 from soapC.c:19:
/usr/include/stdsoap2.h:2569:29: note: declared here
 SOAP_FMAC1 void* SOAP_FMAC2 soap_id_forward(struct soap*, const char *id, void *p, size_t len, int st, int tt, size_t n, unsigned int k, void(*fcopy)(struct soap*, int, int, void*, size_t, const void*, size_t));
                             ^
soapC.c: In function ‘soap_in_SOAP_ENV__Detail’:
soapC.c:935:127: warning: passing argument 6 of ‘soap_id_enter’ makes integer from pointer without a cast [-Wint-conversion]
  a = (struct SOAP_ENV__Detail *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_SOAP_ENV__Detail, sizeof(struct SOAP_ENV__Detail), NULL, NULL, NULL, NULL);
                                                                                                                               ^
In file included from soapStub.h:17:0,
                 from soapH.h:16,
                 from soapC.c:19:
/usr/include/stdsoap2.h:2571:29: note: expected ‘unsigned int’ but argument is of type ‘void *’
 SOAP_FMAC1 void* SOAP_FMAC2 soap_id_enter(struct soap*, const char *id, void *p, int t, size_t n, unsigned int k, const char *type, const char *arrayType, void *(*finstantiate)(struct soap*, int, const char*, const char*, size_t*));
                             ^
soapC.c:964:35: error: too many arguments to function ‘soap_id_forward’
  { a = (struct SOAP_ENV__Detail *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_SOAP_ENV__Detail, SOAP_TYPE_SOAP_ENV__Detail, sizeof(struct SOAP_ENV__Detail), 0, NULL, NULL);
                                   ^
In file included from soapStub.h:17:0,
                 from soapH.h:16,
                 from soapC.c:19:
/usr/include/stdsoap2.h:2569:29: note: declared here
 SOAP_FMAC1 void* SOAP_FMAC2 soap_id_forward(struct soap*, const char *id, void *p, size_t len, int st, int tt, size_t n, unsigned int k, void(*fcopy)(struct soap*, int, int, void*, size_t, const void*, size_t));
                             ^
soapC.c: In function ‘soap_in_SOAP_ENV__Code’:
soapC.c:1025:121: warning: passing argument 6 of ‘soap_id_enter’ makes integer from pointer without a cast [-Wint-conversion]
  a = (struct SOAP_ENV__Code *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_SOAP_ENV__Code, sizeof(struct SOAP_ENV__Code), NULL, NULL, NULL, NULL);
                                                                                                                         ^
In file included from soapStub.h:17:0,
                 from soapH.h:16,
                 from soapC.c:19:
/usr/include/stdsoap2.h:2571:29: note: expected ‘unsigned int’ but argument is of type ‘void *’
 SOAP_FMAC1 void* SOAP_FMAC2 soap_id_enter(struct soap*, const char *id, void *p, int t, size_t n, unsigned int k, const char *type, const char *arrayType, void *(*finstantiate)(struct soap*, int, const char*, const char*, size_t*));
                             ^
soapC.c:1054:33: error: too many arguments to function ‘soap_id_forward’
  { a = (struct SOAP_ENV__Code *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_SOAP_ENV__Code, SOAP_TYPE_SOAP_ENV__Code, sizeof(struct SOAP_ENV__Code), 0, NULL, NULL);
                                 ^
In file included from soapStub.h:17:0,
                 from soapH.h:16,
                 from soapC.c:19:
/usr/include/stdsoap2.h:2569:29: note: declared here
 SOAP_FMAC1 void* SOAP_FMAC2 soap_id_forward(struct soap*, const char *id, void *p, size_t len, int st, int tt, size_t n, unsigned int k, void(*fcopy)(struct soap*, int, int, void*, size_t, const void*, size_t));
                             ^
soapC.c: In function ‘soap_in_SOAP_ENV__Header’:
soapC.c:1104:127: warning: passing argument 6 of ‘soap_id_enter’ makes integer from pointer without a cast [-Wint-conversion]
  a = (struct SOAP_ENV__Header *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_SOAP_ENV__Header, sizeof(struct SOAP_ENV__Header), NULL, NULL, NULL, NULL);
                                                                                                                               ^
In file included from soapStub.h:17:0,
                 from soapH.h:16,
                 from soapC.c:19:
/usr/include/stdsoap2.h:2571:29: note: expected ‘unsigned int’ but argument is of type ‘void *’
 SOAP_FMAC1 void* SOAP_FMAC2 soap_id_enter(struct soap*, const char *id, void *p, int t, size_t n, unsigned int k, const char *type, const char *arrayType, void *(*finstantiate)(struct soap*, int, const char*, const char*, size_t*));
                             ^
soapC.c:1123:35: error: too many arguments to function ‘soap_id_forward’
  { a = (struct SOAP_ENV__Header *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_SOAP_ENV__Header, SOAP_TYPE_SOAP_ENV__Header, sizeof(struct SOAP_ENV__Header), 0, NULL, NULL);
                                   ^
In file included from soapStub.h:17:0,
                 from soapH.h:16,
                 from soapC.c:19:
/usr/include/stdsoap2.h:2569:29: note: declared here
 SOAP_FMAC1 void* SOAP_FMAC2 soap_id_forward(struct soap*, const char *id, void *p, size_t len, int st, int tt, size_t n, unsigned int k, void(*fcopy)(struct soap*, int, int, void*, size_t, const void*, size_t));
                             ^
soapC.c: In function ‘soap_in_ns__verifyImg’:
soapC.c:1186:118: warning: passing argument 6 of ‘soap_id_enter’ makes integer from pointer without a cast [-Wint-conversion]
  a = (struct ns__verifyImg *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ns__verifyImg, sizeof(struct ns__verifyImg), NULL, NULL, NULL, NULL);
                                                                                                                      ^
In file included from soapStub.h:17:0,
                 from soapH.h:16,
                 from soapC.c:19:
/usr/include/stdsoap2.h:2571:29: note: expected ‘unsigned int’ but argument is of type ‘void *’
 SOAP_FMAC1 void* SOAP_FMAC2 soap_id_enter(struct soap*, const char *id, void *p, int t, size_t n, unsigned int k, const char *type, const char *arrayType, void *(*finstantiate)(struct soap*, int, const char*, const char*, size_t*));
                             ^
soapC.c:1220:32: error: too many arguments to function ‘soap_id_forward’
  { a = (struct ns__verifyImg *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ns__verifyImg, SOAP_TYPE_ns__verifyImg, sizeof(struct ns__verifyImg), 0, NULL, NULL);
                                ^
In file included from soapStub.h:17:0,
                 from soapH.h:16,
                 from soapC.c:19:
/usr/include/stdsoap2.h:2569:29: note: declared here
 SOAP_FMAC1 void* SOAP_FMAC2 soap_id_forward(struct soap*, const char *id, void *p, size_t len, int st, int tt, size_t n, unsigned int k, void(*fcopy)(struct soap*, int, int, void*, size_t, const void*, size_t));
                             ^
soapC.c: In function ‘soap_in_ns__verifyImgResponse’:
soapC.c:1271:142: warning: passing argument 6 of ‘soap_id_enter’ makes integer from pointer without a cast [-Wint-conversion]
  a = (struct ns__verifyImgResponse *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ns__verifyImgResponse, sizeof(struct ns__verifyImgResponse), NULL, NULL, NULL, NULL);
                                                                                                                                              ^
In file included from soapStub.h:17:0,
                 from soapH.h:16,
                 from soapC.c:19:
/usr/include/stdsoap2.h:2571:29: note: expected ‘unsigned int’ but argument is of type ‘void *’
 SOAP_FMAC1 void* SOAP_FMAC2 soap_id_enter(struct soap*, const char *id, void *p, int t, size_t n, unsigned int k, const char *type, const char *arrayType, void *(*finstantiate)(struct soap*, int, const char*, const char*, size_t*));
                             ^
soapC.c:1295:40: error: too many arguments to function ‘soap_id_forward’
  { a = (struct ns__verifyImgResponse *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ns__verifyImgResponse, SOAP_TYPE_ns__verifyImgResponse, sizeof(struct ns__verifyImgResponse), 0, NULL, NULL);
                                        ^
In file included from soapStub.h:17:0,
                 from soapH.h:16,
                 from soapC.c:19:
/usr/include/stdsoap2.h:2569:29: note: declared here
 SOAP_FMAC1 void* SOAP_FMAC2 soap_id_forward(struct soap*, const char *id, void *p, size_t len, int st, int tt, size_t n, unsigned int k, void(*fcopy)(struct soap*, int, int, void*, size_t, const void*, size_t));
                             ^
soapC.c: In function ‘soap_in_ns__ping’:
soapC.c:1346:103: warning: passing argument 6 of ‘soap_id_enter’ makes integer from pointer without a cast [-Wint-conversion]
  a = (struct ns__ping *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ns__ping, sizeof(struct ns__ping), NULL, NULL, NULL, NULL);
                                                                                                       ^
In file included from soapStub.h:17:0,
                 from soapH.h:16,
                 from soapC.c:19:
/usr/include/stdsoap2.h:2571:29: note: expected ‘unsigned int’ but argument is of type ‘void *’
 SOAP_FMAC1 void* SOAP_FMAC2 soap_id_enter(struct soap*, const char *id, void *p, int t, size_t n, unsigned int k, const char *type, const char *arrayType, void *(*finstantiate)(struct soap*, int, const char*, const char*, size_t*));
                             ^
soapC.c:1370:27: error: too many arguments to function ‘soap_id_forward’
  { a = (struct ns__ping *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ns__ping, SOAP_TYPE_ns__ping, sizeof(struct ns__ping), 0, NULL, NULL);
                           ^
In file included from soapStub.h:17:0,
                 from soapH.h:16,
                 from soapC.c:19:
/usr/include/stdsoap2.h:2569:29: note: declared here
 SOAP_FMAC1 void* SOAP_FMAC2 soap_id_forward(struct soap*, const char *id, void *p, size_t len, int st, int tt, size_t n, unsigned int k, void(*fcopy)(struct soap*, int, int, void*, size_t, const void*, size_t));
                             ^
soapC.c: In function ‘soap_in_ns__pingResponse’:
soapC.c:1421:127: warning: passing argument 6 of ‘soap_id_enter’ makes integer from pointer without a cast [-Wint-conversion]
  a = (struct ns__pingResponse *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ns__pingResponse, sizeof(struct ns__pingResponse), NULL, NULL, NULL, NULL);
                                                                                                                               ^
In file included from soapStub.h:17:0,
                 from soapH.h:16,
                 from soapC.c:19:
/usr/include/stdsoap2.h:2571:29: note: expected ‘unsigned int’ but argument is of type ‘void *’
 SOAP_FMAC1 void* SOAP_FMAC2 soap_id_enter(struct soap*, const char *id, void *p, int t, size_t n, unsigned int k, const char *type, const char *arrayType, void *(*finstantiate)(struct soap*, int, const char*, const char*, size_t*));
                             ^
soapC.c:1445:35: error: too many arguments to function ‘soap_id_forward’
  { a = (struct ns__pingResponse *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ns__pingResponse, SOAP_TYPE_ns__pingResponse, sizeof(struct ns__pingResponse), 0, NULL, NULL);
                                   ^
In file included from soapStub.h:17:0,
                 from soapH.h:16,
                 from soapC.c:19:
/usr/include/stdsoap2.h:2569:29: note: declared here
 SOAP_FMAC1 void* SOAP_FMAC2 soap_id_forward(struct soap*, const char *id, void *p, size_t len, int st, int tt, size_t n, unsigned int k, void(*fcopy)(struct soap*, int, int, void*, size_t, const void*, size_t));
                             ^
soapC.c: In function ‘soap_serialize_xsd__base64Binary’:
soapC.c:1479:33: warning: passing argument 3 of ‘soap_array_reference’ from incompatible pointer type [-Wincompatible-pointer-types]
   soap_array_reference(soap, a, a->__ptr, a->__size, SOAP_TYPE_xsd__base64Binary);
                                 ^
In file included from soapStub.h:17:0,
                 from soapH.h:16,
                 from soapC.c:19:
/usr/include/stdsoap2.h:2532:27: note: expected ‘const struct soap_array *’ but argument is of type ‘unsigned char * const’
 SOAP_FMAC1 int SOAP_FMAC2 soap_array_reference(struct soap*, const void *p, const struct soap_array *a, int n, int t);
                           ^
soapC.c: In function ‘soap_out_xsd__base64Binary’:
soapC.c:1485:41: warning: passing argument 5 of ‘soap_element_id’ from incompatible pointer type [-Wincompatible-pointer-types]
  id = soap_element_id(soap, tag, id, a, a->__ptr, a->__size, type, SOAP_TYPE_xsd__base64Binary, NULL);
                                         ^
In file included from soapStub.h:17:0,
                 from soapH.h:16,
                 from soapC.c:19:
/usr/include/stdsoap2.h:2624:27: note: expected ‘const struct soap_array *’ but argument is of type ‘unsigned char * const’
 SOAP_FMAC1 int SOAP_FMAC2 soap_element_id(struct soap*, const char *tag, int id, const void *p, const struct soap_array *a, int d, const char *type, int n);
                           ^
soapC.c:1485:7: error: too many arguments to function ‘soap_element_id’
  id = soap_element_id(soap, tag, id, a, a->__ptr, a->__size, type, SOAP_TYPE_xsd__base64Binary, NULL);
       ^
In file included from soapStub.h:17:0,
                 from soapH.h:16,
                 from soapC.c:19:
/usr/include/stdsoap2.h:2624:27: note: declared here
 SOAP_FMAC1 int SOAP_FMAC2 soap_element_id(struct soap*, const char *tag, int id, const void *p, const struct soap_array *a, int d, const char *type, int n);
                           ^
soapC.c: In function ‘soap_in_xsd__base64Binary’:
soapC.c:1503:130: warning: passing argument 6 of ‘soap_id_enter’ makes integer from pointer without a cast [-Wint-conversion]
  a = (struct xsd__base64Binary *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_xsd__base64Binary, sizeof(struct xsd__base64Binary), NULL, NULL, NULL, NULL);
                                                                                                                                  ^
In file included from soapStub.h:17:0,
                 from soapH.h:16,
                 from soapC.c:19:
/usr/include/stdsoap2.h:2571:29: note: expected ‘unsigned int’ but argument is of type ‘void *’
 SOAP_FMAC1 void* SOAP_FMAC2 soap_id_enter(struct soap*, const char *id, void *p, int t, size_t n, unsigned int k, const char *type, const char *arrayType, void *(*finstantiate)(struct soap*, int, const char*, const char*, size_t*));
                             ^
soapC.c:1514:36: error: too many arguments to function ‘soap_id_forward’
  { a = (struct xsd__base64Binary *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_xsd__base64Binary, SOAP_TYPE_xsd__base64Binary, sizeof(struct xsd__base64Binary), 0, NULL, NULL);
                                    ^
In file included from soapStub.h:17:0,
                 from soapH.h:16,
                 from soapC.c:19:
/usr/include/stdsoap2.h:2569:29: note: declared here
 SOAP_FMAC1 void* SOAP_FMAC2 soap_id_forward(struct soap*, const char *id, void *p, size_t len, int st, int tt, size_t n, unsigned int k, void(*fcopy)(struct soap*, int, int, void*, size_t, const void*, size_t));
                             ^
soapC.c: In function ‘soap_out_PointerToSOAP_ENV__Reason’:
soapC.c:1549:7: error: too many arguments to function ‘soap_element_id’
  id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_SOAP_ENV__Reason, NULL);
       ^
In file included from soapStub.h:17:0,
                 from soapH.h:16,
                 from soapC.c:19:
/usr/include/stdsoap2.h:2624:27: note: declared here
 SOAP_FMAC1 int SOAP_FMAC2 soap_element_id(struct soap*, const char *tag, int id, const void *p, const struct soap_array *a, int d, const char *type, int n);
                           ^
soapC.c: In function ‘soap_in_PointerToSOAP_ENV__Reason’:
soapC.c:1570:36: error: too many arguments to function ‘soap_id_lookup’
  { a = (struct SOAP_ENV__Reason **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_SOAP_ENV__Reason, sizeof(struct SOAP_ENV__Reason), 0, NULL);
                                    ^
In file included from soapStub.h:17:0,
                 from soapH.h:16,
                 from soapC.c:19:
/usr/include/stdsoap2.h:2568:29: note: declared here
 SOAP_FMAC1 void* SOAP_FMAC2 soap_id_lookup(struct soap*, const char *id, void **p, int t, size_t n, unsigned int k);
                             ^
soapC.c: In function ‘soap_out_PointerToSOAP_ENV__Detail’:
soapC.c:1607:7: error: too many arguments to function ‘soap_element_id’
  id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_SOAP_ENV__Detail, NULL);
       ^
In file included from soapStub.h:17:0,
                 from soapH.h:16,
                 from soapC.c:19:
/usr/include/stdsoap2.h:2624:27: note: declared here
 SOAP_FMAC1 int SOAP_FMAC2 soap_element_id(struct soap*, const char *tag, int id, const void *p, const struct soap_array *a, int d, const char *type, int n);
                           ^
soapC.c: In function ‘soap_in_PointerToSOAP_ENV__Detail’:
soapC.c:1628:36: error: too many arguments to function ‘soap_id_lookup’
  { a = (struct SOAP_ENV__Detail **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_SOAP_ENV__Detail, sizeof(struct SOAP_ENV__Detail), 0, NULL);
                                    ^
In file included from soapStub.h:17:0,
                 from soapH.h:16,
                 from soapC.c:19:
/usr/include/stdsoap2.h:2568:29: note: declared here
 SOAP_FMAC1 void* SOAP_FMAC2 soap_id_lookup(struct soap*, const char *id, void **p, int t, size_t n, unsigned int k);
                             ^
soapC.c: In function ‘soap_out_PointerToSOAP_ENV__Code’:
soapC.c:1666:7: error: too many arguments to function ‘soap_element_id’
  id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_SOAP_ENV__Code, &mark);
       ^
In file included from soapStub.h:17:0,
                 from soapH.h:16,
                 from soapC.c:19:
/usr/include/stdsoap2.h:2624:27: note: declared here
 SOAP_FMAC1 int SOAP_FMAC2 soap_element_id(struct soap*, const char *tag, int id, const void *p, const struct soap_array *a, int d, const char *type, int n);
                           ^
soapC.c:1670:2: warning: implicit declaration of function ‘soap_unmark’ [-Wimplicit-function-declaration]
  soap_unmark(soap, mark);
  ^
soapC.c: In function ‘soap_in_PointerToSOAP_ENV__Code’:
soapC.c:1689:34: error: too many arguments to function ‘soap_id_lookup’
  { a = (struct SOAP_ENV__Code **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_SOAP_ENV__Code, sizeof(struct SOAP_ENV__Code), 0, NULL);
                                  ^
In file included from soapStub.h:17:0,
                 from soapH.h:16,
                 from soapC.c:19:
/usr/include/stdsoap2.h:2568:29: note: declared here
 SOAP_FMAC1 void* SOAP_FMAC2 soap_id_lookup(struct soap*, const char *id, void **p, int t, size_t n, unsigned int k);
                             ^
soapC.c: In function ‘soap_out_PointerToxsd__base64Binary’:
soapC.c:1724:42: warning: passing argument 5 of ‘soap_element_id’ from incompatible pointer type [-Wincompatible-pointer-types]
  id = soap_element_id(soap, tag, id, *a, *a ? (*a)->__ptr : NULL, *a ? (*a)->__size : 0, type, SOAP_TYPE_xsd__base64Binary, NULL);
                                          ^
In file included from soapStub.h:17:0,
                 from soapH.h:16,
                 from soapC.c:19:
/usr/include/stdsoap2.h:2624:27: note: expected ‘const struct soap_array *’ but argument is of type ‘unsigned char *’
 SOAP_FMAC1 int SOAP_FMAC2 soap_element_id(struct soap*, const char *tag, int id, const void *p, const struct soap_array *a, int d, const char *type, int n);
                           ^
soapC.c:1724:7: error: too many arguments to function ‘soap_element_id’
  id = soap_element_id(soap, tag, id, *a, *a ? (*a)->__ptr : NULL, *a ? (*a)->__size : 0, type, SOAP_TYPE_xsd__base64Binary, NULL);
       ^
In file included from soapStub.h:17:0,
                 from soapH.h:16,
                 from soapC.c:19:
/usr/include/stdsoap2.h:2624:27: note: declared here
 SOAP_FMAC1 int SOAP_FMAC2 soap_element_id(struct soap*, const char *tag, int id, const void *p, const struct soap_array *a, int d, const char *type, int n);
                           ^
soapC.c: In function ‘soap_in_PointerToxsd__base64Binary’:
soapC.c:1745:37: error: too many arguments to function ‘soap_id_lookup’
  { a = (struct xsd__base64Binary **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_xsd__base64Binary, sizeof(struct xsd__base64Binary), 0, NULL);
                                     ^
In file included from soapStub.h:17:0,
                 from soapH.h:16,
                 from soapC.c:19:
/usr/include/stdsoap2.h:2568:29: note: declared here
 SOAP_FMAC1 void* SOAP_FMAC2 soap_id_lookup(struct soap*, const char *id, void **p, int t, size_t n, unsigned int k);
                             ^
soapC.c: In function ‘soap_out_PointerToxsd__string’:
soapC.c:1778:7: error: too many arguments to function ‘soap_element_id’
  id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_xsd__string, NULL);
       ^
In file included from soapStub.h:17:0,
                 from soapH.h:16,
                 from soapC.c:19:
/usr/include/stdsoap2.h:2624:27: note: declared here
 SOAP_FMAC1 int SOAP_FMAC2 soap_element_id(struct soap*, const char *tag, int id, const void *p, const struct soap_array *a, int d, const char *type, int n);
                           ^
soapC.c: In function ‘soap_in_PointerToxsd__string’:
soapC.c:1799:18: error: too many arguments to function ‘soap_id_lookup’
  { a = (char ***)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_xsd__string, sizeof(char *), 1, NULL);
                  ^
In file included from soapStub.h:17:0,
                 from soapH.h:16,
                 from soapC.c:19:
/usr/include/stdsoap2.h:2568:29: note: declared here
 SOAP_FMAC1 void* SOAP_FMAC2 soap_id_lookup(struct soap*, const char *id, void **p, int t, size_t n, unsigned int k);
                             ^
soapC.c: In function ‘soap_out_PointerTounsignedByte’:
soapC.c:1831:7: error: too many arguments to function ‘soap_element_id’
  id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_unsignedByte, NULL);
       ^
In file included from soapStub.h:17:0,
                 from soapH.h:16,
                 from soapC.c:19:
/usr/include/stdsoap2.h:2624:27: note: declared here
 SOAP_FMAC1 int SOAP_FMAC2 soap_element_id(struct soap*, const char *tag, int id, const void *p, const struct soap_array *a, int d, const char *type, int n);
                           ^
soapC.c: In function ‘soap_in_PointerTounsignedByte’:
soapC.c:1852:26: error: too many arguments to function ‘soap_id_lookup’
  { a = (unsigned char **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_unsignedByte, sizeof(unsigned char), 0, NULL);
                          ^
In file included from soapStub.h:17:0,
                 from soapH.h:16,
                 from soapC.c:19:
/usr/include/stdsoap2.h:2568:29: note: declared here
 SOAP_FMAC1 void* SOAP_FMAC2 soap_id_lookup(struct soap*, const char *id, void **p, int t, size_t n, unsigned int k);
                             ^
make: *** [soapC.o] Error 1
Makefile:42: recipe for target 'soapC.o' failed

Entre tanto o openbr esta funcionando perfeitamente...

IgorDePaula commented 8 years ago

E sim, a libgsoap-dev instala eh a 2.8.22-1

IgorDePaula commented 8 years ago

Consegui instalar a recomendada no artigo, depois de instalar manualmente uma dependencia dela, a flex. Fui instalar o opencertiface q reclamou de nao haver o plugin do openbr.

gcc -DLINUX -pipe -O2 -W -D_REENTRANT -fPIE -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -I. -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -I/usr/include/opencv -DLINUX -DWITH_NOEMPTYSTRUCT -c -I/usr/share/gsoap/ -I/usr/share/gsoap/plugin    verifyAll.cpp -o verifyAll.o
In file included from verifyAll.cpp:6:0:
/usr/local/include/openbr/openbr_plugin.h:22:23: fatal error: QDataStream: Arquivo ou diretório não encontrado
compilation terminated.
Makefile:45: recipe for target 'verifyAll.o' failed
make: *** [verifyAll.o] Error 1
cabelo commented 8 years ago

gsoap-2.8.29 http://download.opensuse.org/repositories/home:/cabelo/openSUSE_13.1/src/gsoap-2.8.29-5.1.src.rpm

https://software.opensuse.org/download.html?project=home%3Acabelo&package=gsoap

Em 10-04-2016 18:17, Igor C. de Paula escreveu:

E sim, a libgsoap-dev instala eh a 2.8.22-1

— You are receiving this because you commented. Reply to this email directly or view it on GitHub https://github.com/cabelo/opencertiface/issues/1#issuecomment-208074957

Alessandro de Oliveira Faria (AKA CABELO) openSUSE member & Embaixador América Latina cabelo@opensuse.org http://pt.opensuse.org/Utilizador:Cabelo http://mozillians.org/pt-BR/u/cabelo/