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 OMC in Windows

How to compile OMC in Windows

Hello all

I wanted to compile OMC in Windows and I had some questions:

- What are the required dependences?
- Are there a place with instructions?
- I wanted to compile it with MinGW 4.7. Is OpenModelica compatible with it?

Best regards
Koldo

Re: How to compile OMC in Windows

https://openmodelica.org/svn/OpenModeli … -MINGW.txt

We ship a full MinGW environment + dependencies in order to compile OpenModelica. It possibly works with MinGW 4.7, but I believe it is a whole lot to change for not much gain (gcc 4.7 is much slower than gcc 4.4).

Re: How to compile OMC in Windows

Hello sjoelund.se

Thank you for the advice.

I am trying to do it because in the model I use C libraries that have to be compiled without optimizations If I try to add any optimization to the minimum file with the simplest math operations, I get strange results.

However this happened to me some versions ago. I will try it again to see if the problem with the supplied compiler is solved.

Thank you!
Koldo

Re: How to compile OMC in Windows

Hello sjoelund.se

I have tried to use gcc-mingw optimizations (-O3) and now they work perfectly with the compiler supplied.

I will try to compile OMC. However now it is not so important current/smile

Best regards
Koldo

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