openmodelicainterest  

Re: Compile error "Error: Error opening file: /opt/openModelica/OpenModelica/lib/omc/ModelicaBuiltin.mo"

Martin Sjölund
Mon, 13 Feb 2012 08:05:23 -0800

If you don't install omc after a build and use non-default prefixes, you
need to call the build system using:
OPENMODELICAHOME=/path/to/trunk/build/ make
Or:
rm -f build/bin/omc; make

--
Martin Sjölund

On 2012-02-13 15:58, Per Öberg wrote:
> Hello again
> 
> This time I'm having issues with the modelica build
> 
> The error message is 
> 
> "Error: Error opening
> file: /opt/openModelica/OpenModelica/lib/omc/ModelicaBuiltin.mo"
> 
> but I don't understand why this file is needed at this stage since it
> represents the directory I will later install openmodelica to.
> 
> This is my configure commands:
> 
> Mocdelica:
> 
> ./configure  --with-omniORB=/usr --prefix=/opt/openModelica/OpenModelica
> --with-qwt=/usr/include/qwt5
> --with-paradiseo=/opt/openModelica/paradiseo
> 
> mmc:
> 
> ./configure  --prefix=/opt/openModelica/mmc
> 
> Any help is appreciated
> 
> Best Regards 
> Per Öberg
>