Skip to content
Snippets Groups Projects
Commit fd47d08a authored by Adrian Pop's avatar Adrian Pop
Browse files

move from svn to git for OMDev

parent 97bf01d3
No related branches found
No related tags found
No related merge requests found
OMDev=OpenModelica Development Environment-MSYS2+MINGW32/MINGW64 OMDev=OpenModelica Development Environment-MSYS2+MINGW32/MINGW64
---------------------------------------------------------------- ----------------------------------------------------------------
Adrian.Pop@liu.se, 2010-10-24, last update: 2016-09-16 Adrian.Pop@liu.se, 2010-10-24, last update: 2016-09-16
---------------------------------------------------------------- ----------------------------------------------------------------
To check for an updated version of this package go to:
https://openmodelica.org/svn/OpenModelicaExternal/trunk/tools/windows/OMDev Checkout the OMDev package:
- Install git for windows https://git-scm.com/downloads
VERY IMPORTANT INSTALLATION ISSUES! - make sure we git clone with the correct line endings, run in a terminal:
*********************************** git config --global core.eol lf
git config --global core.autocrlf input
MSYS setting - get OMDev from git
============ git clone https://openmodelica.org/git/OMDev.git
To make things move fast in msys2 one has to generate the group and passwd files on the host.
Open windows command prompt (cmd) and run path_to_your_omdev\SETUP_OMDEV.bat file. VERY IMPORTANT INSTALLATION ISSUES!
***********************************
if you move the OMDev directory around then you need to patch the qt files using:
Open windows command prompt (cmd) and run path_to_your_omdev\SETUP_OMDEV_Qt5.bat file. MSYS setting
============
MINGW32 or MINGW64 To make things move fast in msys2 one has to generate the group and passwd files on the host.
================== Open windows command prompt (cmd) and run path_to_your_omdev\SETUP_OMDEV.bat file.
To build 32 bit OMC you run:
path_to_your_omdev\tools\msys\mingw32_shell.bat if you move the OMDev directory around then you need to patch the qt files using:
To build 64 bit OMC you run: Open windows command prompt (cmd) and run path_to_your_omdev\SETUP_OMDEV_Qt5.bat file.
path_to_your_omdev\tools\msys\mingw64_shell.bat
MINGW32 or MINGW64
ENVIRONMENT VARIABLE SETTINGS ==================
============================= To build 32 bit OMC you run:
- define a Windows environment variable called OMDEV path_to_your_omdev\tools\msys\mingw32_shell.bat
that points to c:\path\to\your\omdev To build 64 bit OMC you run:
- note that msys_shell.bat mingw32_shell.bat mingw64_shell.bat path_to_your_omdev\tools\msys\mingw64_shell.bat
+ does not use Windows PATH varible. If you want to use the
Windows path variable define an environment varible called ENVIRONMENT VARIABLE SETTINGS
MSYS2_PATH_TYPE=inherit =============================
or you can call the batch scripts with -use-full-path - define a Windows environment variable called OMDEV
+ does not use Windows TEMP directory but the directory: that points to c:\path\to\your\omdev
%OMDEV%\tools\msys\tmp - note that msys_shell.bat mingw32_shell.bat mingw64_shell.bat
if you want to change this behavior edit: + does not use Windows PATH varible. If you want to use the
%OMDEV%\tools\msys\etc\profile Windows path variable define an environment varible called
or define $TEMP and $TMP in the terminal MSYS2_PATH_TYPE=inherit
- if you want to use the msys shell from Windows command line or you can call the batch scripts with -use-full-path
make sure you set MSYSTEM to one of MSYS, MINGW32, MINGW64 + does not use Windows TEMP directory but the directory:
if you do: %OMDEV%\tools\msys\tmp
set MSYSTEM=MINGW32 you get the 32 bit GCC (mingw32_shell.bat) if you want to change this behavior edit:
set MSYSTEM=MINGW64 you get the 64 bit GCC (mingw64_shell.bat) %OMDEV%\tools\msys\etc\profile
set MSYSTEM=MSYS use for updating MSYS (msys2_shell.bat) or define $TEMP and $TMP in the terminal
- if you want to use the msys shell from Windows command line
Subversion and Eclipse: make sure you set MSYSTEM to one of MSYS, MINGW32, MINGW64
======================= if you do:
Checkout OpenModelica sources from: set MSYSTEM=MINGW32 you get the 32 bit GCC (mingw32_shell.bat)
https://github.com/OpenModelica set MSYSTEM=MINGW64 you get the 64 bit GCC (mingw64_shell.bat)
Follow the instructions found in OpenModelica/OMCompiler/README-OMDev-MINGW.txt set MSYSTEM=MSYS use for updating MSYS (msys2_shell.bat)
MSYS setting (optional) Subversion and Eclipse:
======================= =======================
If you want to use msys shell make a Checkout OpenModelica sources from:
shortcut on your desktop to: https://github.com/OpenModelica
path_to_your_omdev\tools\msys\msys2_shell.bat Follow the instructions found in OpenModelica/OMCompiler/README-OMDev-MINGW.txt
and say it to run in:
path_to_your_omdev\tools\msys\ MSYS setting (optional)
=======================
QT DEBUG DLLS (optional) If you want to use msys shell make a
======================== shortcut on your desktop to:
We don't ship the debug dlls for qt5, you can reinstall the qt packages to get them. path_to_your_omdev\tools\msys\msys2_shell.bat
Start msys2 shell: path_to_your_omdev\tools\msys\msys2_shell.bat and say it to run in:
Type command: path_to_your_omdev\tools\msys\
> pacman -S mingw-w64-i686-qt5 mingw-w64-x86_64-qt5
QT DEBUG DLLS (optional)
OpenSceneGraph DEBUG DLLS (optional) ========================
==================================== We don't ship the debug dlls for qt5, you can reinstall the qt packages to get them.
We don't ship the debug dlls for OSG, you can install them with the following command. Start msys2 shell: path_to_your_omdev\tools\msys\msys2_shell.bat
Start msys2 shell: path_to_your_omdev\tools\msys\msys2_shell.bat Type command:
Type command: > pacman -S mingw-w64-i686-qt5 mingw-w64-x86_64-qt5
> pacman -S mingw-w64-i686-OpenSceneGraph-debug mingw-w64-x86_64-OpenSceneGraph-debug
OpenSceneGraph DEBUG DLLS (optional)
Address questions/problems to: ====================================
Adrian Pop, We don't ship the debug dlls for OSG, you can install them with the following command.
Adrian.Pop@liu.se Start msys2 shell: path_to_your_omdev\tools\msys\msys2_shell.bat
Type command:
> pacman -S mingw-w64-i686-OpenSceneGraph-debug mingw-w64-x86_64-OpenSceneGraph-debug
Address questions/problems to:
Adrian Pop,
Adrian.Pop@liu.se
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment