- Index
- » Users
- » 278067605
- » Profile
Posts
Posts
Can I use Modelica to solve the problem of force deformation of objects?
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 --recursiveOr 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
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
sjoelund.se wrote:
278067605 wrote:
i want to use dlls to use it ,it will be a part of my projectIf 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!
278067605 wrote:
sjoelund.se wrote:
278067605 wrote:
i want to use dlls to use it ,it will be a part of my projectIf 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!
sjoelund.se wrote:
278067605 wrote:
i want to use dlls to use it ,it will be a part of my projectIf 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?
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
1
i want to use modelica omc as a part in my project,so that i can use it to simulate soming.
i want to directly calls via dlls/so,How can I implement it?
I have Compiled OMC,but it seems not run.
I want to add OMC as a component to a project we are doing now. How can I implement it? Thank you.
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?
ok....fine thank you
when I run “sudo apt-get build-dep openmodelica”this code it has problem
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
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
I have the file that build/bin/OMEdit.exe and run sucess,but when I debug in the QT, it will report error..
How do I set up if I want to compile OpenModelica in QT?
Yes, many errors occur during compilation, such as missing header files
Yes, compiling OMEdit with QT is very troublesome, so I changed the code in QT and compiled with MSYS!
Ok, thanks! I've solved it
you mean I need to recompile OMC?
I wonder if Install Java SE Development Kit (for Javac) is must?
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