|
3 | 3 | - Checkout the OMDev package from SVN https://openmodelica.org/svn/OpenModelicaExternal/trunk/tools/windows/OMDev or git clone it from https://openmodelica.org/git/OMDev.git (much faster) |
4 | 4 | - this package contains all prerequisites to compile OMC on Windows using msys2+mingw32+mingw64 |
5 | 5 | - if you get issues with OpenModelica compilation maybe you should update OMDev |
| 6 | + - please make sure you have OMDEV environment variable defined and that you have restarted or logout/login to make it available |
6 | 7 | - Make sure you place the OMDev package into `C:\OMDev\` |
7 | 8 | - Follow the instructions in the `C:\OMDev\INSTALL.txt` file |
8 | 9 | - Install Java SE Development Kit (for javac) |
9 | 10 | - Install svn tools for windows in TortoiseSVN |
10 | 11 | - Install git for windows https://git-scm.com/downloads |
11 | 12 | - do not install git using pacman in msys, it does not work correctly! |
12 | 13 | - get OpenModelica from git |
| 14 | + - do not create an OpenModelica directory in which you clone OpenModelica repository, it will be created when you clone it |
13 | 15 | - start `$OMDEV\tools\msys\mingw64_shell.bat` or `$OMDEV\tools\msys\mingw32_shell.bat` and type: |
14 | 16 |
|
15 | 17 | ```bash |
|
18 | 20 | # note: if you have a space in your path to your tool you need to escape it, i.e.: /c/Program\ Files |
19 | 21 | export PATH=$PATH:/c/path/to/git/bin:/c/path/to/svn/tools/bin:/c/path/to/jdk/bin |
20 | 22 | # git clone OpenModelica recursively using the installed git for windows |
21 | | - git clone https://github.com/OpenModelica/OpenModelica --recursive |
| 23 | + git clone https://github.com/OpenModelica/OpenModelica.git --recursive |
22 | 24 | ``` |
23 | 25 | - you should have an OpenModelica directory you got from OpenModelica GIT repository https://github.com/OpenModelica/OpenModelica |
24 | 26 | - you can also follow the instructions at the bottom of the page on how to get OpenModelica sources |
@@ -96,6 +98,7 @@ If something does not work in Eclipse, please check: |
96 | 98 | 5. Right click on the OpenModelica project in Eclipse and say Properties |
97 | 99 | - Go to Builders and see if you have the builder `OMDev-MINGW-OpenModelicaBuilder32bit` or `OMDev-MINGW-OpenModelicaBuilder64bit` available. |
98 | 100 | 6. Right click on the OpenModelica project and say **Rebuild**. |
| 101 | +7. Make sure OMDEV environment variable is defined (and you have restarted or logout/login from Windows to make it available) |
99 | 102 |
|
100 | 103 | If these do not work, look into your OpenModelica/.project |
101 | 104 | to see if you have any reference to: `OMDev-MINGW-OpenModelicaBuilder32bit` or `OMDev-MINGW-OpenModelicaBuilder64bit` there. If you don't, then: |
|
0 commit comments