Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
OMDev
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OpenModelica
OMDev
Commits
fd47d08a
Commit
fd47d08a
authored
6 years ago
by
Adrian Pop
Browse files
Options
Downloads
Patches
Plain Diff
move from svn to git for OMDev
parent
97bf01d3
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
INSTALL.txt
+83
-77
83 additions, 77 deletions
INSTALL.txt
with
83 additions
and
77 deletions
INSTALL.txt
+
83
−
77
View file @
fd47d08a
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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment