Menu

#12 Error Compiling ./Sift

v1.0 (example)
open
nobody
Problem (2)
5
2015-02-08
2014-04-03
No

g++ -O3 -c -I./ann_1.1.1/include/ ui_visualization_point.cpp pkg-config --cflags --libs opencv libxml-2.0 sdl gtk+-2.0
g++ -O3 -c -I./ann_1.1.1/include/ ui_workflow.cpp pkg-config --cflags --libs opencv libxml-2.0 sdl gtk+-2.0
make -C ./sift
make[1]: entrant dans le répertoire « /home/gaith/Téléchargements/insight3d/insight3d/sift »
make -C ./src siftfeat
make[2]: entrant dans le répertoire « /home/gaith/Téléchargements/insight3d/insight3d/sift/src »
gcc -O3 -I../include pkg-config --cflags opencv pkg-config --cflags gtk+-2.0 pkg-config --cflags gsl -c utils.c -o utils.o
Package gsl was not found in the pkg-config search path.
Perhaps you should add the directory containing `gsl.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gsl' found
utils.c:108:7: error: conflicting types for ‘basename’
char basename( const char pathname )
^
In file included from utils.c:9:0:
../include/utils.h:159:14: note: previous declaration of ‘basename’ was here
extern char basename( const char pathname );
^
make[2]: [utils.o] Erreur 1
make[2]: quittant le répertoire « /home/gaith/Téléchargements/insight3d/insight3d/sift/src »
make[1]:
[siftfeat] Erreur 2
make[1]: quittant le répertoire « /home/gaith/Téléchargements/insight3d/insight3d/sift »
make:
** [sift_detector] Erreur 2

Discussion


Log in to post a comment.