Skip to content

Commit

Permalink
- Auto generate the stub files for clients.
Browse files Browse the repository at this point in the history
- Added/Updated README.txt files for all clients.

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@11508 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
adeas31 committed Mar 22, 2012
1 parent 617a2e7 commit 1acd91d
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 37 deletions.
32 changes: 0 additions & 32 deletions OMEdit/INSTALL.txt

This file was deleted.

7 changes: 7 additions & 0 deletions OMEdit/OMEditGUI/OMEditGUI.pro
Expand Up @@ -9,6 +9,13 @@ QT += network core gui webkit xml svg
TARGET = OMEdit
TEMPLATE = app

# Generate the CORBA stub files for windows. On Linux we generate them in the makefile.
win32 {
!exists(omc_communication.cc || omc_communication.h) {
system($$(OMDEV)/lib/omniORB-4.1.4-mingw/bin/x86_win32/omniidl -bcxx -Wbh=.h -Wbs=.cc ../../Compiler/runtime/omc_communication.idl)
}
}

SOURCES += main.cpp\
mainwindow.cpp \
ProjectTabWidget.cpp \
Expand Down
41 changes: 36 additions & 5 deletions OMEdit/README.txt
@@ -1,9 +1,40 @@
2011-02-16 [Adrian.Pop@liu.se]
/*
* RCS: $Id$
*/

Windows
------------------------------

omniORB-4.1.4-mingw was moved to OMDev!
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.

if you need it, use omniORB-4.1.4-mingw from OMDev\lib
or from subversion here:
https://openmodelica.ida.liu.se/svn/OpenModelica/installers/windows/OMDev/lib/omniORB-4.1.4-mingw
Build & Run
------------------------------
- Load the file OMEditGUI.pro in Qt Creator IDE. Qt Creator is included in Qt SDK.
- Build and run the project.
- 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.
- 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.
adeel.asghar@liu.se

0 comments on commit 1acd91d

Please sign in to comment.