s-gupta / rcnn-depth

Learning Rich Features from RGB-D Images for Object Detection and Segmentation
BSD 2-Clause "Simplified" License
365 stars 150 forks source link

rcnn_build fails #11

Open tdiethe opened 9 years ago

tdiethe commented 9 years ago

When I try to run rcnn_build(); I get the following errors:

> In rcnn_build (line 8) 
Error using mex
/tmp/mex_7347092241600_14443/tron.o: In function `TRON::trcg(double, double*, double*, double*)':
tron.cpp:(.text+0x1ed): undefined reference to `dnrm2_'
tron.cpp:(.text+0x20e): undefined reference to `ddot_'
tron.cpp:(.text+0x242): undefined reference to `dnrm2_'
tron.cpp:(.text+0x280): undefined reference to `ddot_'
tron.cpp:(.text+0x2a7): undefined reference to `daxpy_'
tron.cpp:(.text+0x2b6): undefined reference to `dnrm2_'
tron.cpp:(.text+0x316): undefined reference to `daxpy_'
tron.cpp:(.text+0x32a): undefined reference to `ddot_'
tron.cpp:(.text+0x343): undefined reference to `ddot_'
tron.cpp:(.text+0x35c): undefined reference to `ddot_'
tron.cpp:(.text+0x413): undefined reference to `daxpy_'
tron.cpp:(.text+0x444): undefined reference to `daxpy_'
tron.cpp:(.text+0x473): undefined reference to `daxpy_'
tron.cpp:(.text+0x487): undefined reference to `ddot_'
tron.cpp:(.text+0x4a8): undefined reference to `dscal_'
tron.cpp:(.text+0x4c0): undefined reference to `daxpy_'
/tmp/mex_7347092241600_14443/tron.o: In function `TRON::tron(double*)':
tron.cpp:(.text+0x652): undefined reference to `dnrm2_'
tron.cpp:(.text+0x6de): undefined reference to `daxpy_'
tron.cpp:(.text+0x6f3): undefined reference to `ddot_'
tron.cpp:(.text+0x710): undefined reference to `ddot_'
tron.cpp:(.text+0x758): undefined reference to `dnrm2_'
tron.cpp:(.text+0x94b): undefined reference to `dnrm2_'
collect2: error: ld returned 1 exit status

Error in rcnn_build (line 8)
  mex -outdir . ...

All of the other toolboxes compile fine, and every step up to this point was fine. Any idea what's going on here?

varun-nagaraja commented 9 years ago

See if Issue #2 helps.

tdiethe commented 9 years ago

Ok I tried following your Oct 15 instructions, but when trying to do step 2 (make inside the liblinear-1.4/matlab directory) I get the following:

/usr/local/MATLAB/R2015a/bin/mex CC#g++ CXX#g++ CFLAGS#"-Wall -Wconversion
-O3 -fPIC -I/usr/local/MATLAB/R2015a/extern/include -I.." CXXFLAGS#"-Wall
-Wconversion -O3 -fPIC -I/usr/local/MATLAB/R2015a/extern/include -I.."
-largeArrayDims train.c ../tron.o ../linear.o linear_model_matlab.o
../blas/blas.a

~/rcnn-depth/eccv14-code/rcnn/external/liblinear-1.94/matlab/CC#g++ not
found; check that you are in the correct current folder, and check the
spelling of
'~/rcnn-depth/eccv14-code/rcnn/external/liblinear-1.94/matlab/CC#g++'.

make: *** [train.mexa64] Error 255

That CC#g++ looks like an error doesn't it?

On 29 July 2015 at 16:57, Varun Nagaraja notifications@github.com wrote:

See Issue #2 https://github.com/s-gupta/rcnn-depth/issues/2 if it helps.

— Reply to this email directly or view it on GitHub https://github.com/s-gupta/rcnn-depth/issues/11#issuecomment-125998165.

varun-nagaraja commented 9 years ago

Here's the commit where I fixed the Makefile.

zhaobaozi commented 6 years ago

@varun-nagaraja this commit can't find ,i meet the same error as @tdiethe ,how can i do?

varun-nagaraja commented 6 years ago

Sorry @zhaobaozi that I moved my repository. However, you can find the steps in the discussion here.

zhaobaozi commented 6 years ago

@varun-nagaraja i follow by your but i also have failed ..you use matlab 2014?

zhaobaozi commented 6 years ago

@varun-nagaraja I follow your commit ,but when i do the step2 i meet the error make: *** [train.mexa64] Error 255...how can i do?thanks!