-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed compilation of ORboost. Windows binaries are provided.
- Loading branch information
Javier SM
committed
Nov 17, 2017
1 parent
f1bc33e
commit 4ed78e1
Showing
5 changed files
with
21 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,7 @@ | |
*.mexa64 | ||
*.mexw64 | ||
*.exe | ||
*.dll | ||
src/Experiments | ||
src/Algorithms/orensemble/boostrank-* | ||
*~ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,20 @@ | ||
# Windows instalation process | ||
|
||
The following steps provide all the methos but 'ORBoost': | ||
The following steps provide all the methods but 'ORBoost': | ||
|
||
1. Install a [supported compiler](https://es.mathworks.com/support/compilers.html). The easier way is to use the "Add-ons" assistant to download | ||
and install [MinGW](http://es.mathworks.com/help/matlab/matlab_external/install-mingw-support-package.html). | ||
1. Test [basic C example](https://es.mathworks.com/matlabcentral/fileexchange/52848-matlab-support-for-mingw-w64-c-c++-compiler) to ensure `mex` is propertly working. | ||
1. Inside MATLAB's console, run `make` in folder `src\Algorithms` | ||
1. From `src` run `runtestssingle` to check the instalation. | ||
|
||
To compile 'ORBoost' you need to install 'w64-mingw32': | ||
We provide binaries and dlls for 'ORBoost' to avoid the *complex* build task in Windows. Make will unpak all the binary files. If you need to compile your own binaries, these are the steeps. | ||
|
||
1. Open a terminal by presing Windows key and tipping 'cmd.exe'. | ||
1. Set Windows path to your 'w64-mingw32' installation binaries dir, for instance: | ||
1. Install [w64-mingw32](https://mingw-w64.org). | ||
1. Open a terminal by presing Windows key and type `cmd.exe`. | ||
1. Set Windows path to your `w64-mingw32` installation binaries dir, for instance: | ||
``` | ||
set PATH=C:\Program Files\mingw-w64\x86_64-7.2.0-posix-seh-rt_v5-rev0\mingw64\bin;"%PATH%" | ||
``` | ||
1. Change to directory `orca\src\Algorithms\orensemble\` (Right now only works in `orca\src\Algorithms\orensemble\orensemble\`.). | ||
1. Move to directory `orca\src\Algorithms\orensemble\orensemble`. | ||
1. Run `mingw32-make.exe Makefile.win all`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,7 @@ | ||
all: untar | ||
all: | ||
mingw32-make -e -C orensemble | ||
mv orensemble/boostrank-predict . | ||
mv orensemble/boostrank-train . | ||
|
||
untar: | ||
#tar xzf orensemble.tar.gz | ||
|
||
clean: | ||
#rm -Rf orensemble | ||
move orensemble\boostrank-predict.exe . | ||
move orensemble\boostrank-train.exe . | ||
copy "orensemble\libgcc_s_seh-1.dll" . | ||
copy "orensemble\libstdc++-6.dll" . | ||
copy "orensemble\libwinpthread-1.dll" . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.