Orange Forum • View topic - Problem building C45.dll

Problem building C45.dll

A place to ask questions about methods in Orange and how they are used and other general support.

Problem building C45.dll

Postby npo » Thu Jan 10, 2013 2:32

I'm running 64-bit Windows 7 with 64-bit Python 2.7.3 and 64-bit Orange 2.5 and associated dependencies from http://www.lfd.uci.edu/~gohlke/pythonlibs/#orange.

Orange works just fine. However, I'm having trouble building the C45 plugin using the instructions at http://orange.biolab.si/docs/latest/reference/rst/Orange.classification.tree/#c4-5-tree-inducer. I've downloaded the source code from Rulequest and put ensemble.c and buildC45.py where they belong.

I put C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\amd64\ in my Path and ran buildC45.py. buildC45.py gave me two messages:

C compiler exited abnormally
linker exited abnormally

I changed my compiler filepath in Path to C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\x86_amd64\ but got the same messages.

Of course, it didn't build C45.dll.

Any suggestions as to why this didn't work? Is it simply an incompatability with 64-bit systems?

Re: Problem building C45.dll

Postby cgohlke » Thu Feb 21, 2013 4:19

Run `"C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" amd64` to set the compiler environment and delete `/machine:I386` from `buildC45.py`. Works for me.

Re: Problem building C45.dll

Postby noobanalyst » Wed Apr 10, 2013 15:54

cgohlke wrote:Run `"C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" amd64` to set the compiler environment and delete `/machine:I386` from `buildC45.py`. Works for me.
I tried what you've suggested and that doesnt work either. I use a Microsoft 2010 visual C++ .


Return to Questions & Support