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
{{ message }}
This repository was archived by the owner on May 18, 2019. It is now read-only.
Copy file name to clipboardExpand all lines: README-OMDev-MINGW.md
+13-4Lines changed: 13 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,14 +1,23 @@
1
1
# Compiling OMC using OMDev package
2
2
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)
3
+
- Checkout the OMDev package
4
+
- Install git for windows https://git-scm.com/downloads
5
+
- make sure we git clone with the correct line endings, run in a terminal:
6
+
```bash
7
+
git config --global core.eol lf
8
+
git config --global core.autocrlf input
9
+
```
10
+
- get OMDev from git
11
+
```bash
12
+
git clone https://openmodelica.org/git/OMDev.git
13
+
```
4
14
- this package contains all prerequisites to compile OMC on Windows using msys2+mingw32+mingw64
5
-
- if you get issues with OpenModelica compilation maybe you should update OMDev
15
+
- if you get issues with OpenModelica compilation maybe you should update OMDev (git pull)
6
16
- please make sure you have OMDEV environment variable defined and that you have restarted or logout/login to make it available
7
17
- Make sure you place the OMDev package into `C:\OMDev\`
8
18
- Follow the instructions in the `C:\OMDev\INSTALL.txt` file
9
19
- Install Java SE Development Kit (for javac)
10
-
- Install svn tools for windows in TortoiseSVN
11
-
- Install git for windows https://git-scm.com/downloads
20
+
- Install svn tools forwindowsin TortoiseSVN (needed to checkout some of the Modelica libraries)
12
21
- do not install git using pacman in msys, it does not work correctly!
13
22
- get OpenModelica from git
14
23
- do not create an OpenModelica directory in which you clone OpenModelica repository, it will be created when you clone it
0 commit comments