- Index
- » Developer
- » OpenModelica development
- » how to build openModelica in windows
how to build openModelica in windows
how to build openModelica in windows
First , thinks all of you create this great project, I want study and join it , but I fall down at first step----I cant compile it on my windows computer.
As title,II want compiler soure in my windows computer
At step "start $OMDEV\tools\msys\mingw64.exe or $OMDEV\tools\msys\mingw32.exe and type"
I fund mingw64.exe not in dir "OMDEV\tools\msys"
emmm .Last, i want follow title "Compiling OMC using Eclipse"
I fund so many virable in OpenModelica/.externalToolBuilders/OMDev-MINGW-OpenModelicaBuilder64bit.launch-sample that I can setup well .
I hope you could make a more detail doc with more screenshot or a video ?
thanks a lot !
Re: how to build openModelica in windows
Did you skip step 1? https://github.com/OpenModelica/OpenMod … v-MINGW.md
OMDev is where you installed it. Clone https://openmodelica.org/git/OMDev.git into C:\OMDev and set the OMDev environment variable to that location and you should get further.
- sjoelund.se
- 1700 Posts
Re: how to build openModelica in windows
yes , i do install OMDev , the path is C:\OMDev and I config system virable . mingw32.exe is not in C:\OMDev\tools\msys\mingw32 .
just now, i download OpenModelicaEclipseWorkspace.zip form https://www.openmodelica.org/documents/ , it dose not work .
i fund the config is wrong, for example ,OMDev-MINGW-OpenModelicaBuilder -> Main , OMDev\tools\msys\bin\ not have make.exe
i hope more detail doc !
thank you
OMDev repository is C:\OMDev from https://openmodelica.org/svn/OpenModeli … dows/OMDev
Re: how to build openModelica in windows
Note that OMDev repository from the SVN is old, you need the new one form GIT: https://openmodelica.org/git/OMDev.git
Read here how to clone the repository:
https://github.com/OpenModelica/OpenMod … v-MINGW.md
- adrpo
- 885 Posts
Re: how to build openModelica in windows
There you can give targets to make or variables to consider when building. Just leave it empty (press Enter) if you just want to build the OpenModelica compiler (omc).
If you have more CPU cores, write -jNumberOfCores, so if you have 4 write -j4. The compilation will be faster if you have more cores. Write omedit in there if you want to build OMEdit.
- adrpo
- 885 Posts
- Index
- » Developer
- » OpenModelica development
- » how to build openModelica in windows