cvondrick / ihog

Visualizing Object Detection Features. ICCV 2013
http://mit.edu/vondrick/ihog
Other
223 stars 128 forks source link

I have problem with compiling. #1

Closed hojungjung closed 10 years ago

hojungjung commented 10 years ago

Hi! I am trying to experiment this algorithm. However, I have a problem with compile file I think second option should be change -o into -O, but still do not contain 'features.m'. Does it same file with features.cc??

compile compiling features.cc Usage: MEX [option1 ... optionN] sourcefile1 [... sourcefileN] [objectfile1 ... objectfileN] [libraryfile1 ... libraryfileN]

Use the -help option for more information, or consult the MATLAB API Guide. 

C:\PROGRA~1\MATLAB\R2013A\BIN\MEX.PL: Error: Unrecognized switch: -o.

エラー mex (line 206) 正常に終了できません。

エラー compile (line 4) mex -o internal/features.cc -o internal/features

quantombone commented 10 years ago

This is a Window compilation issue. The HOG inversion Github front page reports that some Windows users had these compilation issues. I know personally that Windows computers are hard to find at MIT, but when the issue gets fixed it will be posted on the main Github page.

cvondrick commented 10 years ago

Thanks for the report! We are investigating this issue now, and we'll get back to you.

The issues is with how MATLAB is configured for MEX on Windows. On some systems, it is setup correctly. But, it seems that sometimes MEX is not setup correctly.

hojungjung commented 10 years ago

Thank you for your reply!