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
  • » 278067605
  • » Profile

Posts

Posts

Can I use Modelica to solve the problem of force deformation of objects?

Apr-23-22 09:31:16
Compilation problem
Category: Developer

AnHeuermann wrote:


Without seeing the log it is hard to tell what exactly went wrong. Can you include it here (run make with an additional `--output-sync` to have the log file readable).
What OS and version are you using?
What version (commit) of OpenModelica are you trying to build?

In the build-deps for openmodelica `qttools5-dev-tools` is listed, at least on my Ubuntu Focal. So you should have all needed QT libs and headers.

You could try to checkout all submodules to the version saved in the master branch:

Code:


git submodule update --force --init --recursive

Or pull the latest version of the master branch and all submodules.

hi! I use Ubuntu Focal ,too.
i want to use qt creator debug the openmodelica,but always has something wrong like Missing plotting.h such header files,what should I do in QT?
I have compiled the source code according to the above

Apr-23-22 07:18:25
Compile OMedit in QT
Category: Developer

adeas wrote:


Yes you need to set an environment in Qt creator.

I personally use Qt creator for debugging purposes. My process is following,

- Compile everything form msys first time. So all dependencies are compiled as well.
- Set the environment in Qt Creator
- Set the tool chain in Qt Creator.
- Compile from Qt creator again. Note that Qt creator will only compile OMEdit and not the dependencies.

Adeel.

IF i want to use QT to debuger,what should i do in qt? I have someting wrong in QT

Apr-22-22 02:10:52
Category: Developer

sjoelund.se wrote:


278067605 wrote:


i want to use dlls to use it ,it will be a part of my project

If you want to use it as a DLL, your whole project needs to become GPL-licensed though. You can see how OMEdit uses the OMC DLL if you want an example of how to use it in that way.

hi,if i want to use omc via  ZMQ or Corba what should i do?
thanks!

Apr-21-22 10:13:10
Category: Developer

278067605 wrote:


sjoelund.se wrote:


278067605 wrote:


i want to use dlls to use it ,it will be a part of my project

If you want to use it as a DLL, your whole project needs to become GPL-licensed though. You can see how OMEdit uses the OMC DLL if you want an example of how to use it in that way.

do you have some suggestion?like help documents?

if  i want to  server via ZMQ or Corba,do you have some help docoments? thank you very much!

Apr-21-22 10:07:04
Category: Developer

sjoelund.se wrote:


278067605 wrote:


i want to use dlls to use it ,it will be a part of my project

If you want to use it as a DLL, your whole project needs to become GPL-licensed though. You can see how OMEdit uses the OMC DLL if you want an example of how to use it in that way.

do you have some suggestion?like help documents?

Apr-21-22 08:40:08
Category: Developer

adrpo wrote:


278067605 wrote:


I want to add OMC as a component to a project we are doing now. How can I implement it? Thank you.

How do you want to use it? Interactively like a server via ZMQ or Corba or direct calls via dlls/so?
Is also possible to call omc via your tool as a different process.

i want to use dlls to use it ,it will be a part of my project

Apr-21-22 08:25:42
Category: Developer

  1

Apr-21-22 07:53:23
Category: Developer

i want to use modelica omc as a part in my project,so that i can use it to simulate soming.

Apr-21-22 07:51:55
Category: Developer

i want to directly calls via dlls/so,How can I implement it?
I have Compiled OMC,but it seems not run.

Apr-21-22 06:08:47
Category: Developer

I want to add OMC as a component to a project we are doing now. How can I implement it? Thank you.

Apr-15-22 18:11:48
Compilation problem
Category: Developer

I compiled the software with these commands under the ubantu system
echo Linux name: `lsb_release --short --codename`
echo deb http://build.openmodelica.org/apt `lsb_release --short --codename` nightly | sudo tee -a /etc/apt/sources.list.d/openmodelica.list
echo deb-src http://build.openmodelica.org/apt nightly contrib | sudo tee -a /etc/apt/sources.list.d/openmodelica.list
# You'll also need to import the GPG key used to sign the releases:
wget -q http://build.openmodelica.org/apt/openmodelica.asc -O- | sudo apt-key add -
# To verify that your key is installed correctly
apt-key fingerprint
# Gives output:
# pub   2048R/64970947 2010-06-22
#      Key fingerprint = D229 AF1C E5AE D74E 5F59  DF30 3A59 B536 6497 0947
# uid                  OpenModelica Build System
sudo apt-get update
sudo apt-get build-dep openmodelica
git clone --recursive https://openmodelica.org/git-readonly/OpenModelica.git OpenModelica
cd OpenModelica
autoconf
./configure --with-cppruntime --without-omc
make -j4
but,When I run in QT, I lack header files, such as omplot.h:no such file or direcitory
what should i do?

May-31-21 09:24:32
Category: Developer

ok....fine  thank you

May-31-21 08:57:12
Category: Developer

when I run “sudo apt-get build-dep openmodelica”this code it has problem

May-31-21 08:54:04
Category: Developer

echo Linux name: `lsb_release --short --codename`
echo deb http://build.openmodelica.org/apt `lsb_release --short --codename` nightly | sudo tee -a /etc/apt/sources.list
echo deb-src http://build.openmodelica.org/apt `lsb_release --short --codename` nightly | sudo tee -a /etc/apt/sources.list
sudo apt-get update
sudo apt-get build-dep openmodelica
git clone --recursive https://openmodelica.org/git-readonly/OpenModelica.git OpenModelica
cd OpenModelica
autoconf
./configure --with-cppruntime
make -j4

May-31-21 08:37:31
Category: Developer

When I use the guide from github to build my openmodelica,it has some problems.
when I run "sudo apt-get build-dep openmodelica" this code,the system shows "Unable to find a source package for openmodelica"
whats the problems?
I use two different systems it has the same.

Ubuntu 16 and 20

Dec-22-20 09:40:50
How to compile OpenModelica in QT?
Category: Developer

I have the file that build/bin/OMEdit.exe and run sucess,but when I debug in the QT, it will report error..

Dec-22-20 01:19:22
How to compile OpenModelica in QT?
Category: Developer

Hello, I have downloaded the full set of tools on Github, and I have tried mSYS to compile the required files, but when I use QT to modify the code and compile it, QT will report an error.The github tools are set up in QT
https://s3.ax1x.com/2020/11/17/DVPGj0.png

Dec-21-20 06:39:26
Compile OMedit in QT
Category: Developer

How do I set up if I want to compile OpenModelica in QT?

Nov-17-20 09:26:12
Compile OMedit in QT
Category: Developer

Yes, many errors occur during compilation, such as missing header files

Nov-17-20 08:58:42
Compile OMedit in QT
Category: Developer

Yes, compiling OMEdit with QT is very troublesome, so I changed the code in QT and compiled with MSYS!

Nov-17-20 08:51:16
Compile OMedit in QT
Category: Developer

Ok, thanks! I've solved it

Nov-17-20 08:09:46
Compile OMedit in QT
Category: Developer

OK,Thanks
I compiled OpenModelica from MSYS, but when I did the simulation, I had some problems
https://s3.ax1x.com/2020/11/17/DZSgPA.png

Nov-17-20 08:02:29
Compile OMedit in QT
Category: Developer

you mean I need to recompile OMC?

Nov-17-20 02:28:34
Compile OMedit in QT
Category: Developer

I have compiled all the widgets with OMDev, but when I compiled omEdit with QT, I was prompted with errors such as missing headers.I am running this command mak-f makefile.omdev.mingw-J8 QTclients. Should I run any other commands?
https://s3.ax1x.com/2020/11/17/DVPGj0.png
https://s3.ax1x.com/2020/11/17/DVPNHU.png

Nov-14-20 01:29:47
Compilation problems
Category: Developer

I have configured my environment (OMDev JAVA SE SVN) and compiled it, but an error has been reported during compilation.Fatal: Not a Valid Object Name HEAD and Could Not retrieve number. Revision. H Not updated.I would appreciate it if you could help me https://i.loli.net/2020/11/14/lGtYsajI1f9zSFo.png

Nov-10-20 12:22:02
How to build omedit on windos?
Category: Developer

I wonder if Install Java SE Development Kit (for Javac) is  must?

Nov-10-20 12:11:30
How to build omedit on windos?
Category: Developer

As mentioned, how to compile OMEdit on a Windos platform?
I downloaded the source code of OmEdit on Github, but it can't be compiled on QT platform

  • Index
  • » Users
  • » 278067605
  • » Profile
You are here: