- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » how can I build omcd.exe
how can I build omcd.exe
how can I build omcd.exe
Hello to everyone,
I'm trying to use the function debug available with MDT
http://www.ida.liu.se/~adrpo/mdt/mdt-0. … .jpg[/url]
First of all, can you confirm that I can use that to debug the code of a Modelica package (.mo files)?
I found and read this conversation
http://www.mail-archive.com/openmodelic … 00277.html
and I understood that I need to build first a debug version of Open Modelica compiler (omcd.exe) as it has been said here
"
You will also need to build a debug version of Open Modelica compiler.
In Eclipse you right-click on the project in the left hand side (Modelica Projects view), say Rebuild and in the variable input
window you write "debug" without the quotes. This will generate
an executable called omcd which contains debugging facilities.
"
But I tried to do that but it doesn't work.
Can anyone give more details to do that?
Wha is the project that I should compile? is it the source code of the compiler OMC or the one of the modelica package, that I want to do the debug?
Can I use VISUAL STUDIO 2010 express?
any advises?
thank you
good day
Re: how can I build omcd.exe
You type "make omcd" instead of "make omc" to build omcd.exe. You can debug mo-files with it, but enabling failtrace often gives sufficient information for debugging and does not require compiling omcd (omc +d=failtrace +showErrorMessages myFile.mo from command-line).
If you need omcd.exe, read README-OMDev-MINGW.txt for information on how to compile it.
- sjoelund.se
- 1700 Posts
Re: how can I build omcd.exe
i don't find that Readme
README-OMDev-MINGW.txt
I looed for it here
http://www.ida.liu.se/~adrpo/omc/omdev/mingw/
but nothing
where can I find it?
Re: how can I build omcd.exe
It's part of the subversion sources
- sjoelund.se
- 1700 Posts
- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » how can I build omcd.exe