forked from lmoresco/OpenModelica
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.txt
40 lines (33 loc) · 1.49 KB
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/*
* RCS: $Id$
*/
Windows
------------------------------
Prerequisites
------------------------------
- Compile OMPlot.
Qt 4.8.0
------------------------------
- Download the Qt SDK for windows from http://qt.nokia.com/downloads.
- 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.
- If you don't have OMDev then download it from the svn repository here https://openmodelica.ida.liu.se/svn/OpenModelica/installers/windows/OMDev.
- Download OMDev in c:\OMDev. Set the environment variable OMDEV which points to c:\OMDev.
Build & Run
------------------------------
- Load the file OMEditGUI.pro in Qt Creator IDE. Qt Creator is included in Qt SDK.
- Build and run the project.
- Copy omniORB416_rt.dll, omniORB416_rtd.dll, omnithread34_rt.dll and omnithread34_rtd.dll from c:/OMDev/omniORB-4.1.6-mingw/bin/x86_win32 to /location-where-OMEdit.exe-is-created.
- Copy qwt5.dll and qwtd5.dll from c:/OMDev/qwt-5.2.1-mingw/lib to /location-where-OMEdit.exe-is-created.
Linux
------------------------------
Run the following commands
------------------------------
- apt-get build-dep openmodelica
- svn co https://openmodelica.org/svn/OpenModelica/trunk
- cd trunk
- autoconf
- ./configure '--disable-rml-trace' 'CC=gcc-4.4' 'CXX=g++-4.4' 'CFLAGS=-O2' '--with-omniORB'
- make -j2 omedit
------------------------------
Adeel.