- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » compiler omc doesn't work with...
compiler omc doesn't work with Eclipse mdt.
compiler omc doesn't work with Eclipse mdt.
I'm writing you because I've some problem with the integration of compiler omc in Eclipse with the plugin mdt.
I've downloaded and installed openmodelica 1.50 for windows xp, the environment variables are well settled at least I guess
OPENMODELICAHOME -> C:\OpenModelica1.5.0
and the I've download and installed eclipse with MDT from this weblink
http://www.ida.liu.se/~pelab/modelica/O … -0.7.3.zip
I've followed the instruction of this paper at page 63
http://www.ida.liu.se/labs/pelab/modeli … sGuide.pdf
and I've read this guide
http://openmodelica.ida.liu.se:8080/cb/ … oc_id=1389
Apparently everything is right, except that the compiler doesn't work, if I call it by Eclipse: following these steps Project -> build project
But when I try to build a project nothing happen, I also put some errors deliberately, but I don't receive any message from OMC
any suggestion?
Re: compiler omc doesn't work with Eclipse mdt.
What is your use case for this? Are you trying to build OpenModelica from source code? Are you running the MetaModelica exercises? Or are you trying to make simulations?
Build project only makes sense for MetaModelica code, not Modelica.
- sjoelund.se
- 1700 Posts
Re: compiler omc doesn't work with Eclipse mdt.
Probably there was a misunderstanding
I have to write some code for a compressor of a cogeneration plant
I am interested in using OMC as interpreter to correct the errors in the code
cite
"
The compiler also includes a Model interpreter for interactive usage and constant expression evaluation.
"
http://www.openmodelica.org/index.php/d … /tools/135
all here
ps
keep in mind the I start to use modelica Thuday so I'm not sure if I'm approaching the task properly
Re: compiler omc doesn't work with Eclipse mdt.
Fonte wrote:
I am interested in using OMC as interpreter to correct the errors in the code
MDT will use OMC to find syntax errors. If you want to find semantic errors (type checked, etc), I'd recommend using OMShell and the checkModel(), instantiateModel() or simulate() commands.
- sjoelund.se
- 1700 Posts
Re: compiler omc doesn't work with Eclipse mdt.
Yes, it is.
Also, there is more development on SimForge than MDT if you want a more complete modeling environment (it also uses OMC as its back-end).
- sjoelund.se
- 1700 Posts
- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » compiler omc doesn't work with...