Skip to content

Commit 0cdef7b

Browse files
committed
- Auto generate the stub files for clients.
- Added/Updated README.txt files for all clients. git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@11508 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
1 parent 88cad0c commit 0cdef7b

File tree

2 files changed

+29
-14
lines changed

2 files changed

+29
-14
lines changed

OMShell/OMShellGUI/OMShellGUI.pro

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,13 @@ TRANSLATIONS = \
77
TARGET = OMShell
88
TEMPLATE = app
99

10+
# Generate the CORBA stub files for windows. On Linux we generate them in the makefile.
11+
win32 {
12+
!exists(omc_communication.cc || omc_communication.h) {
13+
system($$(OMDEV)/lib/omniORB-4.1.4-mingw/bin/x86_win32/omniidl -bcxx -Wbh=.h -Wbs=.cc ../../Compiler/runtime/omc_communication.idl)
14+
}
15+
}
16+
1017
SOURCES += commandcompletion.cpp \
1118
omc_communication.cc \
1219
omc_communicator.cpp \

OMShell/README.txt

Lines changed: 22 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,30 @@
1-
2011-03-06 [adeel.asghar@liu.se]
2-
------------------------------
3-
41
Windows
52
------------------------------
63

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.
1016

11-
OmniORB
17+
Linux
1218
------------------------------
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
2028

2129
------------------------------
2230
Adeel.

0 commit comments

Comments
 (0)