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

How to compile OpenModelica in QT?

How to compile OpenModelica in QT?

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

Re: How to compile OpenModelica in QT?

You need to compile all the dependencies first (including omc). The linked image suggests you didn't do that. make -f Makefile.omdev.mingw in the top-level directory and you should have build/bin/OMEdit.exe

Re: How to compile OpenModelica in QT?

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

Re: How to compile OpenModelica in QT?

You need to install the debug binaries. Read the OMDev/INSTALL.txt section QT DEBUG DLLS (optional).

Adeel.

Re: How to compile OpenModelica in QT?

老乡? 加下QQ 295213096

Edited by: peter - Mar-23-21 08:53:43

Re: How to compile OpenModelica in QT?

Hi, I have compied omc.exe with mingw64,but when I use 'make -f Makefile.omdev.mingw -j8 omedit' to complie OMEdit, the OMEdit.exe is not generated.Can you give me some suggestions?

Re: How to compile OpenModelica in QT?

Did you setup Qt in OMDev?
If not, run C:\OMDev\SETUP_OMDEV_Qt5.bat

Then start mingw64 terminal, go to OpenModelica git repository clone and do:

Code:


make -f Makefile.omdev.mingw -j8 omedit > trace.txt 2>&1

Then paste the trace.txt file here.

There are 0 guests and 0 other users also viewing this topic
You are here: