From fd47d08aa9ff3e2e2aa7ef61a00d3e0fdaae2fd7 Mon Sep 17 00:00:00 2001 From: Adrian Pop <adrian.pop@liu.se> Date: Tue, 27 Nov 2018 11:27:29 +0100 Subject: [PATCH] move from svn to git for OMDev --- INSTALL.txt | 160 +++++++++++++++++++++++++++------------------------- 1 file changed, 83 insertions(+), 77 deletions(-) diff --git a/INSTALL.txt b/INSTALL.txt index b3b5c76167..c7bd4b8b98 100644 --- a/INSTALL.txt +++ b/INSTALL.txt @@ -1,77 +1,83 @@ -OMDev=OpenModelica Development Environment-MSYS2+MINGW32/MINGW64 ----------------------------------------------------------------- -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 - -VERY IMPORTANT INSTALLATION ISSUES! -*********************************** - -MSYS setting -============ -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. - -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. - -MINGW32 or MINGW64 -================== -To build 32 bit OMC you run: -path_to_your_omdev\tools\msys\mingw32_shell.bat -To build 64 bit OMC you run: -path_to_your_omdev\tools\msys\mingw64_shell.bat - -ENVIRONMENT VARIABLE SETTINGS -============================= -- define a Windows environment variable called OMDEV - that points to c:\path\to\your\omdev -- note that msys_shell.bat mingw32_shell.bat mingw64_shell.bat - + does not use Windows PATH varible. If you want to use the - Windows path variable define an environment varible called - MSYS2_PATH_TYPE=inherit - or you can call the batch scripts with -use-full-path - + does not use Windows TEMP directory but the directory: - %OMDEV%\tools\msys\tmp - if you want to change this behavior edit: - %OMDEV%\tools\msys\etc\profile - or define $TEMP and $TMP in the terminal -- if you want to use the msys shell from Windows command line - make sure you set MSYSTEM to one of MSYS, MINGW32, MINGW64 - if you do: - set MSYSTEM=MINGW32 you get the 32 bit GCC (mingw32_shell.bat) - set MSYSTEM=MINGW64 you get the 64 bit GCC (mingw64_shell.bat) - set MSYSTEM=MSYS use for updating MSYS (msys2_shell.bat) - -Subversion and Eclipse: -======================= -Checkout OpenModelica sources from: -https://github.com/OpenModelica -Follow the instructions found in OpenModelica/OMCompiler/README-OMDev-MINGW.txt - -MSYS setting (optional) -======================= -If you want to use msys shell make a -shortcut on your desktop to: -path_to_your_omdev\tools\msys\msys2_shell.bat -and say it to run in: -path_to_your_omdev\tools\msys\ - -QT DEBUG DLLS (optional) -======================== -We don't ship the debug dlls for qt5, you can reinstall the qt packages to get them. -Start msys2 shell: path_to_your_omdev\tools\msys\msys2_shell.bat -Type command: -> pacman -S mingw-w64-i686-qt5 mingw-w64-x86_64-qt5 - -OpenSceneGraph DEBUG DLLS (optional) -==================================== -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 -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 +OMDev=OpenModelica Development Environment-MSYS2+MINGW32/MINGW64 +---------------------------------------------------------------- +Adrian.Pop@liu.se, 2010-10-24, last update: 2016-09-16 +---------------------------------------------------------------- + +Checkout the OMDev package: +- Install git for windows https://git-scm.com/downloads +- 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 +- get OMDev from git + git clone https://openmodelica.org/git/OMDev.git + +VERY IMPORTANT INSTALLATION ISSUES! +*********************************** + +MSYS setting +============ +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. + +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. + +MINGW32 or MINGW64 +================== +To build 32 bit OMC you run: +path_to_your_omdev\tools\msys\mingw32_shell.bat +To build 64 bit OMC you run: +path_to_your_omdev\tools\msys\mingw64_shell.bat + +ENVIRONMENT VARIABLE SETTINGS +============================= +- define a Windows environment variable called OMDEV + that points to c:\path\to\your\omdev +- note that msys_shell.bat mingw32_shell.bat mingw64_shell.bat + + does not use Windows PATH varible. If you want to use the + Windows path variable define an environment varible called + MSYS2_PATH_TYPE=inherit + or you can call the batch scripts with -use-full-path + + does not use Windows TEMP directory but the directory: + %OMDEV%\tools\msys\tmp + if you want to change this behavior edit: + %OMDEV%\tools\msys\etc\profile + or define $TEMP and $TMP in the terminal +- if you want to use the msys shell from Windows command line + make sure you set MSYSTEM to one of MSYS, MINGW32, MINGW64 + if you do: + set MSYSTEM=MINGW32 you get the 32 bit GCC (mingw32_shell.bat) + set MSYSTEM=MINGW64 you get the 64 bit GCC (mingw64_shell.bat) + set MSYSTEM=MSYS use for updating MSYS (msys2_shell.bat) + +Subversion and Eclipse: +======================= +Checkout OpenModelica sources from: +https://github.com/OpenModelica +Follow the instructions found in OpenModelica/OMCompiler/README-OMDev-MINGW.txt + +MSYS setting (optional) +======================= +If you want to use msys shell make a +shortcut on your desktop to: +path_to_your_omdev\tools\msys\msys2_shell.bat +and say it to run in: +path_to_your_omdev\tools\msys\ + +QT DEBUG DLLS (optional) +======================== +We don't ship the debug dlls for qt5, you can reinstall the qt packages to get them. +Start msys2 shell: path_to_your_omdev\tools\msys\msys2_shell.bat +Type command: +> pacman -S mingw-w64-i686-qt5 mingw-w64-x86_64-qt5 + +OpenSceneGraph DEBUG DLLS (optional) +==================================== +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 +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 -- GitLab