cvondrick / ihog

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

something wrong with 'complie.m' #2

Closed bucktoothsir closed 10 years ago

bucktoothsir commented 10 years ago

I have read the read.me then I tried to run 'complie.m' but failed. The console showed information that:

Error: Could not find the compiler "g++-4" on the DOS path. Use mex -setup to configure your environment properly.

I used matlab2013 and vs2010 for the complier. All of them are 32-bit.I can complie other files successfully. So can you help me?

leixiang90 commented 10 years ago

First, you need to find mexLasso.cpp file in http://spams-devel.gforge.inria.fr/downloads.html as Marial has already mentioned.

Then you can find and download the recent version of SPAMS. A following stage is just to execute compile.m file on your MATLAB.

Finally you can find mexLasso.mexw64 in the build folder.

Good luck.

bucktoothsir commented 10 years ago

Thank you very much And I fixed this problem when I try it on Linux. I'll try it on Windows again with your advices. Thank you very much again!!!

2014-03-08 19:43 GMT+08:00 leixiang90 notifications@github.com:

First, you need to find mexLasso.cpp file in http://spams-devel.gforge.inria.fr/downloads.html as Marial has already mentioned.

Then you can find and download the recent version of SPAMS. A following stage is just to execute compile.m file on your MATLAB.

Finally you can find mexLasso.mexw64 in the build folder.

Good luck.

Reply to this email directly or view it on GitHubhttps://github.com/CSAILVision/ihog/issues/2#issuecomment-37095631 .

yoyohonyang commented 10 years ago

I met the same issue on windows, have you fixed it ?

bucktoothsir commented 10 years ago

Nope, and I stop using windows。。Now I use fedora as my operating system.

2014-09-17 9:20 GMT+08:00 yoyohonyang notifications@github.com:

I met the same issue on windows, have you fixed it ?

— Reply to this email directly or view it on GitHub https://github.com/CSAILVision/ihog/issues/2#issuecomment-55837095.

olivernina commented 9 years ago

You just need to change the default compiler setting in compile.m for spams. By default it is set to 'gcc' you just change it to 'mex' and it should work.

ffarahnakg commented 7 years ago

Thank you @olivernina . It worked by changing the default compiler to 'mex'.