ข้ามไปที่เนื้อหาหลัก

บทความ

กำลังแสดงโพสต์ที่มีป้ายกำกับ sift

Andrea Vedaldi's matlab sift toolbox library version 09.17 on ubuntu linux

กว่าจะลงได้ ลากเลือด จดไว้หน่อย เสือกใช้ gcc version เก่า >> sift_compile Warning: You are using gcc version "4.3.3-5ubuntu4)". The earliest gcc version supported with mex is "4.0.0". The latest version tested for use with mex is "4.2.0". To download a different version of gcc, visit http://gcc.gnu.org เอ้า จัดไป เวอร์ชั่นเก่าก็ได้ $ sudo ln -s /usr/bin/gcc-4.1 /usr/bin/gcc ข้างบน คือ วิธีหน้าโง่ จริงๆ เข้าไปแก้ใน ไฟล์ คอนฟิก ${HOME}/.matlab/R2008b/mexopts.sh ก็ได้ CC='/usr/bin/gcc-4.1' #'gcc' gcc version เก่า แม่ง ไม่มี stdc++ มาให้อีก ลิงก์ lib ให้มันซะ ไม่งั้นมัน error ld library ( จริงๆ เซต LD_LIBRARY_PATH ก็น่าจะได้ ) $ sudo ln -s /usr/lib/libstdc++.so.6.0.10 /usr/lib/libstdc++.so เท่านั้นแหละ compile ผ่านละ พอไป make บน linux $ make mex -I. CFLAGS='$CFLAGS -I. -pedantic -Wall -g -O3 -Wno-variadic-macros ' imsmooth.c -o imsmooth mex: unrecognized option '-I.' This is pdfTeXk, Version 3.141592-1.40.3 (Web2C ...

[ ubuntu ] SIFT Opensource installation

1. download from http://web.engr.oregonstate.edu/~hess/ 2. $ make make -C ./src siftfeat make[1]: Entering directory `/mnt/disk/AIT/OpenCV/sift/src' gcc -O3 -I../include `pkg-config --cflags opencv` `pkg-config --cflags gtk+-2.0` `pkg-config --cflags gsl` -c xform.c -o xform.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 xform.c:16:24: error: gsl/gsl_sf.h: No such file or directory xform.c:17:25: error: gsl/gsl_rng.h: No such file or directory xform.c:18:29: error: gsl/gsl_randist.h: No such file or directory xform.c:27: error: expected declaration specifiers or ‘...’ before ‘gsl_rng’ xform.c: In function ‘ransac_xform’: xform.c:85: error: ‘gsl_rng’ undeclared (first use in this function) xform.c:85: error: (Each undeclared identifier is reported only once xform.c:85: error: for each function it appears in.) xform.c:85: error: ‘rng’ und...