Skip to content
This repository was archived by the owner on May 18, 2019. It is now read-only.

Commit 5698726

Browse files
adrpoOpenModelica-Hudson
authored andcommitted
make sure people git clone OMDev properly
Belonging to [master]: - #2607
1 parent 444fbec commit 5698726

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

README-OMDev-MINGW.md

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,23 @@
11
# Compiling OMC using OMDev package
22

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+
```
414
- 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)
616
- please make sure you have OMDEV environment variable defined and that you have restarted or logout/login to make it available
717
- Make sure you place the OMDev package into `C:\OMDev\`
818
- Follow the instructions in the `C:\OMDev\INSTALL.txt` file
919
- 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 for windows in TortoiseSVN (needed to checkout some of the Modelica libraries)
1221
- do not install git using pacman in msys, it does not work correctly!
1322
- get OpenModelica from git
1423
- do not create an OpenModelica directory in which you clone OpenModelica repository, it will be created when you clone it

0 commit comments

Comments
 (0)