|
1 | | -2011-03-06 [adeel.asghar@liu.se] |
2 | | ------------------------------- |
3 | | - |
4 | 1 | Windows |
5 | 2 | ------------------------------ |
6 | 3 |
|
7 | | -OMShell uses Qt 4.7.0 |
8 | | ------------------------------- |
9 | | -- Download the Qt SDK for windows from http://qt.nokia.com/downloads. The SDK also contains the Qt Creator. |
| 4 | + Qt 4.8.0 |
| 5 | + ------------------------------ |
| 6 | + - Download the Qt SDK for windows from http://qt.nokia.com/downloads. |
| 7 | + - Qt 4.8.0 comes with MSVC tool chain by-default. Make sure you install the MINGW tool chain also. Use the MINGW tool chain while compiling. |
| 8 | + - If you don't have OMDev then download it from the svn repository here https://openmodelica.ida.liu.se/svn/OpenModelica/installers/windows/OMDev. |
| 9 | + - Download OMDev in c:\OMDev. Set the environment variable OMDEV which points to c:\OMDev. |
| 10 | + |
| 11 | + Build & Run |
| 12 | + ------------------------------ |
| 13 | + - Load the file OMShellGUI.pro in Qt Creator IDE. Qt Creator is included in Qt SDK. |
| 14 | + - Build and run the project. |
| 15 | + - Copy omniORB414_rt.dll, omniORB414_rtd.dll, omnithread34_rt.dll and omnithread34_rtd.dll from c:/OMDev/omniORB-4.1.4-mingw/bin/x86_win32 to /location-where-OMEdit.exe-is-created. |
10 | 16 |
|
11 | | -OmniORB |
| 17 | +Linux |
12 | 18 | ------------------------------ |
13 | | -- OMShell uses the OmniORB 4.1.4. |
14 | | -- If you have OMDev downloaded then make sure its environment variable (OMDEV) is also set. OmniORB is included in OMDev package. |
15 | | -- If you don't have OMDev then download OmniORB from |
16 | | -https://openmodelica.ida.liu.se/svn/OpenModelica/installers/windows/OMDev/lib/omniORB-4.1.4-mingw and set the path in |
17 | | -OMShellGUI.pro file accordingly. |
18 | | -- Load the project in Qt Creator, build and run. |
19 | | -- Copy omniORB414_rt.dll and omniORB414_rtd.dll from /omniORB-4.1.4-mingw/bin/x86_win32 to /location-where-OMShell.exe-is-created. |
| 19 | + |
| 20 | + Run the following commands |
| 21 | + ------------------------------ |
| 22 | + - apt-get build-dep openmodelica |
| 23 | + - svn co https://openmodelica.org/svn/OpenModelica/trunk |
| 24 | + - cd trunk |
| 25 | + - autoconf |
| 26 | + - ./configure '--disable-rml-trace' 'CC=gcc-4.4' 'CXX=g++-4.4' 'CFLAGS=-O2' '--with-omniORB' |
| 27 | + - make -j2 omshell |
20 | 28 |
|
21 | 29 | ------------------------------ |
22 | 30 | Adeel. |
|
0 commit comments