Archived OpenModelica forums. Posting is disabled.

Alternative forums include GitHub discussions or StackOverflow (make sure to read the Stack Overflow rules; you need to have well-formed questions)


Forgot password? | Forgot username? | Register

Compiling OMEdit for Linux

Compiling OMEdit for Linux

Hello OM developers,

Im going to use OM as part of CAD system. (for Ubuntu)
I have some tasks to customise OMEdit like localize it's UI and add some command line arguments and etc.

I'm going to realise this way: user installs OM 1.8.0 from openmodelica.org packages and then replace omedit by mine one.

Is there any way to build just OMEdit?

In sources (/OMEdit/INSTALL.txt) there are instructions only for Windows (using Qt)
I tried to build OMEdit on windows and wasnt succeed. It seems for me that some files are missing in sources.
Im not experienced in C++/Qt/. I need some help (and time current/smile) to undestand all dependencies of this project.


I hope u can give me some simple instructions to get my goal.

Re: Compiling OMEdit for Linux

On Linux, Use the makefiles inside OMEdit/OMEditGUI directory.

On Windows, follow the INSTALL.txt instructions + you have to generate omc_communication.cc and omc_communication.h files using the omc_communication.idl file located at trunk/Compiler/runtime through the OmniORB (or anyother CORBA idl that you prefer to use).

Adeel.

Re: Compiling OMEdit for Linux

Code:

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
build/bin/OMEdit

Some localization was started on OMShell. If you wish to contribute some localization in OMEdit, feel free to make the necessary adjustments in the OMEdit trunk version. Getting commit access is not hard current/smile http://openmodelica.org:8080/cb, create a user, join the OpenModelica project.

Re: Compiling OMEdit for Linux

Thanks, i will try and report about resaults.

Yesterday i send registration request for commit access, waiting answer.

Re: Compiling OMEdit for Linux

Thanks, sjoelund.se.
Its worked on Ubuntu 11.04. I have got problems with getting dependencies on Ubuntu 10.04 and 11.10 but its not really important.

Re: Compiling OMEdit for Linux

Hi,

You should have got an email from the CodeBeamer system to activate your user (have a look in Spam).
However, I now activated you user manually and you can login and Join the OpenModelica project, see here at the end:
https://www.openmodelica.org/index.php/ … ource-code

Cheers,
Adrian Pop/

There are 0 guests and 0 other users also viewing this topic
You are here: