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
  • Index
  • » Users
  • » A.Severin
  • » Profile

Posts

Posts

Apr-03-12 17:53:11
Category: Developer

Are u planning to support packages  saving  with directory structure?

Apr-03-12 17:22:04
Category: Developer

Hello, OM developers. I have a question to discuss.

There are 2 ways to create package with some models. 1st is to create file somepackage.mo with such structure:

Code:


somepackage.mo:
    package somepackage
        model somemodel
        end somemodel;
    end somepackage;

In this variant OMEdit saves package and model correctly.

The other way is to create a folder somepackagefolder and then create a number of files in it:

Code:

package.mo :

    package somepackage
    end somepackage;

somemodel.mo :
    model somemodel
    end somemodel;

usually 2nd variant is used to create a library, but it's also useful for developing complex models.

Nowadays OMEdit doesn't support saveing 2nd variant packages.

I open package.mo (it opens correctly), edit model, and save it. OMEdit places all code from model(models) in package.mo but doesnt saves changes neigther in package file nor in model files.

Apr-02-12 18:59:03
static variables couldn't be translated
Category: Developer

thx. ok, i will try.

Apr-02-12 18:18:03
static variables couldn't be translated
Category: Developer

thx. ok, i will try.

Apr-02-12 07:59:21
static variables couldn't be translated
Category: Developer

Hello OM developers,

Static variables couldn't be translated with Qt (http://stackoverflow.com/questions/3493 … variable).
I translate OMEdit UI and faced with this problem in Helper.cpp (and in some other classes).

Is it critical to use statick variables for text in UI controls and error msg? (Static function 'GUIMessages' is used 140 times.)

Mar-22-12 17:51:23
Need instruction to easy compile OMEdit for Linux
Category: Developer

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.

Mar-22-12 17:10:04
Need instruction to easy compile OMEdit for Linux
Category: Developer

Thanks, i will try and report about resaults.

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

Mar-22-12 16:04:36
Need instruction to easy compile OMEdit for Linux
Category: Developer

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.

  • Index
  • » Users
  • » A.Severin
  • » Profile
You are here: