Ask Your Question
0

error cvaux.h:54:0

asked 2013-04-09 03:50:24 -0600

Rsousa1980 gravatar image

updated 2013-04-09 05:54:44 -0600

Good morning,

I'm new in using opencv, I am trying to create a little program that needs cvaux.h functions. The problem is giving me the error in the statement of this library. How can I solve this problem, The error I get is the following:

"/usr/bin/make" -f nbproject/Makefile-Debug.mk QMAKE= SUBPROJECTS= .build-conf
make[1]: Entering directory `/home/ricardo/NetBeansProjects/OpenCvDoPca'
"/usr/bin/make"  -f nbproject/Makefile-Debug.mk dist/Debug/GNU-Linux-x86/opencvdopca
make[2]: Entering directory `/home/ricardo/NetBeansProjects/OpenCvDoPca'
mkdir -p build/Debug/GNU-Linux-x86
rm -f build/Debug/GNU-Linux-x86/main.o.d
gcc    -c -g `pkg-config --cflags opencv`    -MMD -MP -MF build/Debug/GNU-Linux-x86/main.o.d -o build/Debug/GNU-Linux-x86/main.o main.c
In file included from /usr/local/include/opencv/cvaux.h:54:0,
                 from main.c:12:
/usr/local/include/opencv2/video/background_segm.hpp:47:16: fatal error: list: Ficheiro ou directoria inexistente
compilation terminated.
make[2]: *** [build/Debug/GNU-Linux-x86/main.o] Error 1
make[2]: Leaving directory `/home/ricardo/NetBeansProjects/OpenCvDoPca'
make[1]: *** [.build-conf] Error 2
make[1]: Leaving directory `/home/ricardo/NetBeansProjects/OpenCvDoPca'
make: *** [.build-impl] Error 2

BUILD FAILED (exit value 2, total time: 2s)

Thanks

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2013-04-09 16:38:13 -0600

fatal error: list: Ficheiro ou directoria inexistente compilation terminated.

Looking at the main fatal error it seems you are adressing a directory while compiling that is non existing. Are you sure that all your build parameters are correct? Please check for typo's in your directory structure.

edit flag offensive delete link more

Comments

Thank you for the reply, The problem is when I declare the library # include "cvaux.h" In this small example if put library as a comment, the program works. If remains using cvaux.h, give me the same compilation errors, I'm using Netbeans and opencv version 2.3.1.7, Certainly, I have to make some changes to get to use the function, but I don't know how .

In file included from /usr/local/include/opencv/cvaux.h:54:0, from main.c:12: /usr/local/include/opencv2/video/background_segm.hpp:47:16: fatal error: list: Ficheiro ou directoria inexistente compilation terminated.

stdio.h stdlib.h opencv/cv.h opencv/highgui.h opencv/cvaux.h

int main(int argc, char** argv) { // Open the file "

Rsousa1980 gravatar imageRsousa1980 ( 2013-04-10 05:06:06 -0600 )edit
1

Again go search for Java tutorials. You are including c-style headers, which cannot work if you use netbeans and java :)

StevenPuttemans gravatar imageStevenPuttemans ( 2013-04-10 05:42:58 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2013-04-09 03:50:24 -0600

Seen: 652 times

Last updated: Apr 09 '13