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

make omc does not work: [c_runtime] Error 2

make omc does not work: [c_runtime] Error 2

I wanted to compile the latest version from Subversion repository https://openmodelica.org/svn/OpenModelica/trunk/ but "make omc" failed to succeed!

Following message: simulation_input_xml.cpp:52: fatal error: expat.h: No such file or directory compilation terminated

make: *** [c_runtime] Error 2

Then I tried to compile the older version under https://openmodelica.org/svn/OpenModeli … _1_7_0_RC1 and it worked!

Re: make omc does not work: [c_runtime] Error 2

It's a new dependency of OpenModelica.

Code:

apt-get install libexpat1-dev

Re: make omc does not work: [c_runtime] Error 2

Yeah! Thats it! Thank you very much!!!

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