Coder Social home page Coder Social logo

Comments (5)

GoogleCodeExporter avatar GoogleCodeExporter commented on May 30, 2024
Hi

i think there is some issue with the mex files. maybe its looking for the 32bit 
redistributable or something that is 32 bit but not present on the 64 bit 
machine

compiling the files on your own may solve the issue, but i am not sure if you 
can get visual studio compiling 32 bit binaries on a 64bit machine.

you will have to install either visual studio or visual express c++ and then 
run mex -setup on the command prompt, that should find the newly installed 
compiler and once that is done, use the compile_windows script (download the 
source version of the package and don't use the precompiled version)

Original comment by abhirana on 17 Apr 2012 at 6:53

from randomforest-matlab.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 30, 2024
Hi,

Thank you very much for a fast reply. I have managed to get it to work. 

I have checked a list of the supported compilers by my old version of Matlab 
with "mex -setup" function. Then I installed one the compilers (Borland C/C++ 
(free command line tools) version 5.5) and run the compile_window script from 
the source version. The functions seem to be working perfectly.

For completion sake I would like to mention that I have done this on another 
machine which is 32-bit, although everything I mentioned should still work on a 
64-bit machine.

Thank you so much for your code as it will aid me greatly in my research. 


Original comment by [email protected] on 17 Apr 2012 at 10:30

from randomforest-matlab.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 30, 2024
great. good to hear it works for you. do tell if you run into any issues

also if you are training and testing thousands of time, you might run into this 
issue http://code.google.com/p/randomforest-matlab/issues/detail?id=21
the svn code fixes that

Original comment by abhirana on 18 Apr 2012 at 6:07

from randomforest-matlab.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 30, 2024
ok as I mentioned before I have compiled the regression random forest files and 
they work. However I tried to compile the classification random files by 
running the compile_window.m file from the classification folders and get the 
following error:

Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland 
Fatal: Illegal option: win32 

  C:\PROGRAM FILES\MATLAB71\BIN\MEX.PL: Error: Link of 'mexClassRF_train.mexw32' failed. 

??? Error using ==> mex
Unable to complete successfully

Do you think using another compiler will do the trick? Here is the list of 
compilers my Matlab version supports:

[1] Borland C++Builder version 6.0 
[2] Borland C++Builder version 5.0 
[3] Borland C++Builder version 4.0 
[4] Borland C++Builder version 3.0 
[5] Borland C/C++ version 5.2 
[6] Borland C/C++ version 5.0 
[7] Borland C/C++ (free command line tools) version 5.5 
[8] Digital Visual Fortran version 6.0 
[9] Digital Visual Fortran version 5.0 
[10] Lcc C version 2.4.1 
[11] Microsoft Visual C/C++ version 7.0 
[12] Microsoft Visual C/C++ version 7.1 
[13] Microsoft Visual C/C++ version 6.0 
[14] Microsoft Visual C/C++ version 5.0 
[15] Open WATCOM C/C++ version 1.3 
[16] WATCOM C/C++ version 11 
[17] WATCOM C/C++ version 10.6 

Thanks in advance for your help.


Original comment by [email protected] on 18 Apr 2012 at 9:52

from randomforest-matlab.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 30, 2024
Hi

yup the visual c/c++ version should work fine
you could probably install the visual c++ express and its free 
http://www.microsoft.com/visualstudio/en-us/products/2010-editions/visual-cpp-ex
press

i think the borland compiler is borking the inputs somehow, i dont use win32 
anywhere in my code except in the path to a file

do tell if you still run into issue




Original comment by abhirana on 19 Apr 2012 at 12:57

from randomforest-matlab.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.