You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,26 +7,26 @@ The *NIX-MX* project is an extension to [NIX] (https://github.com/G-Node/nix) an
7
7
Development Status
8
8
------------------
9
9
10
-
The *NIX-MX* project has been developed and tested solely under Windows 32 and Windows 64 and is in an alpha stage of development. Specifically all of the features of NIX have been implemented and unit tests for all of the methods exist and pass, but extensive testing and some refactoring of existing code has to be done as of yet.
10
+
The *NIX-MX* project has been developed and tested solely under Windows 32 and Windows 64 and is in a beta stage of development. Specifically all of the features of NIX have been implemented and unit tests for all of the methods exist and pass, but extensive testing and some refactoring of existing code has to be done as of yet.
11
11
12
12
13
13
Getting Started (Windows 32/64)
14
14
-------------------------------
15
15
16
-
**Quick start packages, Pre-Release 1.01**
16
+
**Quick start packages, Beta-Release 1.1.0**
17
17
18
-
The [quick start packages] (https://github.com/G-Node/nix-mx/releases/tag/v1.01-Pre-Release) are compiled under Windows 32/64 and contain all dlls, binary and Matlab files required to use NIX-MX with the respective Windows OS.
19
-
To use the packages, unzip them into a folder of your choice and run the `startup.m` script from the root folder. Do not change the file/folder structure.
18
+
The [quick start packages] (https://github.com/G-Node/nix-mx/releases) are compiled under Windows 32/64 and contain all dlls, binary and Matlab files required to use NIX-MX with the respective Windows OS.
19
+
The included *NIX* dll is a [stable release 1.1.0 build] (https://github.com/G-Node/nix/releases/tag/1.1.0) . To use the packages, unzip them into a folder of your choice and run the `startup.m` script from the root folder. Do not change the file/folder structure.
20
20
21
21
The Windows 32 package contains:
22
22
- HDF5 dlls (Release 1.8.14)
23
-
- NIX dll (build commit f357124d0ec5028d4574e4f5816cca7b8d7c9e8b, compiled using BOOST 1.57.0 and CPPUNIT 1.13.2)
24
-
- NIX-MX (Pre-Release 1.01, 22.06.2015)
23
+
- NIX dll (stable release 1.1.0 build, compiled using BOOST 1.57.0 and CPPUNIT 1.13.2)
24
+
- NIX-MX (Beta-Release 1.1.0, 26.01.2016)
25
25
26
26
The Windows 64 package contains:
27
27
- HDF5 dlls (Release 1.8.14)
28
-
- NIX dll (build commit f357124d0ec5028d4574e4f5816cca7b8d7c9e8b, compiled using BOOST 1.57.0 and CPPUNIT 1.13.2)
29
-
- NIX-MX (Pre-Release 1.01, 22.06.2015)
28
+
- NIX dll (stable release 1.1.0 build, compiled using BOOST 1.57.0 and CPPUNIT 1.13.2)
Copy file name to clipboardExpand all lines: WinBuild.md
+61-45Lines changed: 61 additions & 45 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,49 +5,57 @@ Follow these steps to set up the development environment for the NIX Matlab bind
5
5
6
6
**Dependencies**
7
7
- download and install Visual Studio 12
8
-
- make sure you have a fork of [NIX](https://github.com/G-Node/nix) and [NIX-MX](https://github.com/G-Node/nix-mx)
8
+
- make sure you have a clone of [NIX](https://github.com/G-Node/nix) and [NIX-MX](https://github.com/G-Node/nix-mx)
9
9
- get the latest [NIX Windows dependencies](https://projects.g-node.org/nix/), extract to [your path]/nix-dep/
10
10
11
-
- IMPORTANT: if you need the DEBUG instead of the RELEASE build, make sure you use the corresponding debug folders instead of the release folders and settings in all subsequent paths and scripts of these set up notes:
11
+
**Build process**
12
+
- open [your path]/nix-mx/win_build.bat with an editor of your choice.
13
+
- adjust the first three lines of the batch file to the corresponding directories on your system (NIX_DEP, NIX_ROOT, NIX_MX_ROOT).
14
+
- NOTE: If you need the "Debug" instead of the "Release" build, change the corresponding line in the batch file.
2. to set up dependencies path variables for NIX cmake, build type Release, run:
19
27
`[your path]/nix-dep/nixenv.bat`
20
-
- if working on a 32bit Windows, run:
28
+
3. if working on a 32bit Windows, run:
21
29
`cmake .. -G "Visual Studio 12"`
22
-
- if working on a 64bit Windows, run:
30
+
4. if working on a 64bit Windows, run:
23
31
`cmake .. -G "Visual Studio 12 Win64"`
24
-
- with Visual Studio open [your path]/nix/build/nix.sln
25
-
26
-
IMPORTANT NOTE! Visual Studio builds by default with configuration "Debug" and "32bit"!
27
-
- If some other build is required (in our case we need at least configuration "Release"), set BUILD->ConfigurationManager->Active solution configuration!
28
-
- Build "ALL_BUILD"
29
-
- within the cmd shell move to [your path]/nix/build/Release
30
-
- run
32
+
5. with Visual Studio open [your path]/nix/build/nix.sln
33
+
IMPORTANT NOTE! Visual Studio builds by default with configuration "Debug" and "32bit"!
34
+
6. If some other build is required (in our case we need at least configuration "Release"), set BUILD->ConfigurationManager->Active solution configuration!
35
+
7. Build "ALL_BUILD".
36
+
8. within the cmd shell move to [your path]/nix/build/Release.
37
+
9. run
31
38
`[your path]/nix/build/Release/TestRunner.exe`
32
-
- within the cmd shell move to [your path]/nix-mx, create and move into "build" folder
33
-
- set the NIX root path;
39
+
10. within the cmd shell move to [your path]/nix-mx, create and move into "build" folder.
40
+
11. set the NIX root path;
34
41
`set NIX_ROOT=[your path]/nix`
35
42
36
43
IMPORTANT:
37
44
- do not use quotes in cmd!
38
45
- do not use backslashes, only slashes! e.g. c:/work/nix; c:\work\nix will not work!
39
46
40
-
- check, if the nix.dll library has been created in [your path]/nix/build/Release
41
-
- if yes, open [your path]/nix-mx/cmake/FindNIX.cmake
42
-
- add "HINTS $ENV{NIX_ROOT}/build/Release" to the "find_library(NIX_LIBRARY NAMES" statement
43
-
- if working on Windows 32bit, run
47
+
12. check, if the nix.dll library has been created in [your path]/nix/build/Release
48
+
13. if yes, run
49
+
`SET NIX_BUILD_DIR=%NIX_ROOT%/build/Release`
50
+
51
+
14. if working on Windows 32bit, run
44
52
`cmake .. -G "Visual Studio 12"`
45
-
- if working on Windows 64bit, run
53
+
15. if working on Windows 64bit, run
46
54
`cmake .. -G "Visual Studio 12 Win64"`
47
-
- with Visual Studio open [your path]/nix-mx/build/nix-mx.sln
48
-
- Set BUILD->ConfigurationManager->Active solution configuration to Release and the correct bit version!
49
-
- Build "ALL_BUILD"
50
-
- copy all of the following files into the [your path]/nix-mx/build folder; simply providing the directories to MatLab using "addpath" does not work
55
+
16. with Visual Studio open [your path]/nix-mx/build/nix-mx.sln.
56
+
17. Set BUILD->ConfigurationManager->Active solution configuration to Release and the correct bit version!
57
+
18. Build "ALL_BUILD".
58
+
19. copy all of the following files into the [your path]/nix-mx/build folder; simply providing the directories to MatLab using "addpath" does not work.
51
59
52
60
from [your path]/nix-dep/[x86/x64]/hdf5-1.8.14/bin (path dependent on the Windows 32/64 bit version)
53
61
@@ -61,25 +69,33 @@ IMPORTANT NOTE! Visual Studio builds by default with configuration "Debug" and "
61
69
62
70
`nix_mx.mexw32 or nix_mx.mexw64`
63
71
64
-
- get some NIX files from the [your path]/nix/build/ test folder and NIX away!
72
+
20. get some NIX files from the [your path]/nix/build/ test folder and NIX away!
65
73
66
74
67
-
**Alternate build process for DEBUG build**
75
+
***Alternate build process for "Debug" build***
68
76
69
-
The build described above is for RELEASE which requires the usage of msvcp120d.dll and msvcr120d.dll and prevents the usage of msvcp120.dll and msvcr120.dll
77
+
The build described above is for "Release" which requires the usage of msvcp120d.dll and msvcr120d.dll and prevents the usage of msvcp120.dll and msvcr120.dll.
70
78
71
-
To use the hdf5 debug dlls, nix and nix-mx have to be built in DEBUG mode! For this:
72
-
- replace "Release" with "Debug" in the nixenv.bat, use this to setup environmental variables
73
-
- run cmake
74
-
- open sln, in Visual Studio set BUILD->ConfigurationManager->Active solution configuration to "Debug" instead of "Release"
75
-
- re-run TestRunner.exe in folder "Debug" instead of "Release"
76
-
- move to the [your path]/nix-mx/build folder
77
-
- re-run the modified nixenv.bat
78
-
- run
79
-
`$env:NIX_ROOT="c:/work/nix"`
80
-
- open [your path]/nix-mx/cmake/FindNIX.cmake and add
79
+
To use the hdf5 debug dlls, nix and nix-mx have to be built with build type "Debug"! For this change the following steps in the guideline above:
80
+
- Step 0. Delete everything from the nix/build and nix-mx/build directories.
81
+
- Step 2. setup the environmental variables by using:
82
+
`[your path]/nix-dep/nixenv.bat Debug`
83
+
- Step 6. open nix sln, in Visual Studio set BUILD->ConfigurationManager->Active solution configuration to "Debug" instead of "Release".
84
+
- Step 8. re-run TestRunner.exe in folder "Debug" instead of "Release".
85
+
- Step 12. check, if the nix.dll library has been created in [your path]/nix/build/Debug.
86
+
- Step 13. run
87
+
`SET NIX_BUILD_DIR=%NIX_ROOT%/build/Debug`
88
+
- Step 16. open nix-mx sln, in Visual Studio set BUILD->ConfigurationManager->Active solution configuration to "Debug" instead of "Release".
89
+
- Step 19. copy all of the following files into the [your path]/nix-mx/build folder; simply providing the directories to MatLab using "addpath" does not work.
81
90
82
-
"HINTS $ENV{NIX_ROOT}/build/Debug" to the "find_library(NIX_LIBRARY NAMES" statement
83
-
- run cmake
84
-
- open sln, in Visual Studio set BUILD->ConfigurationManager->Active solution configuration to "Debug" instead of "Release"
85
-
- setup the rest like in debug mode
91
+
from [your path]/nix-dep/[x86/x64]/hdf5-1.8.14/bin (path dependent on the Windows 32/64 bit version)
0 commit comments