- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » OMEdit gcc not recognized
Page Start Prev 1 Next End
OMEdit gcc not recognized
OMEdit gcc not recognized
Jul-07-12 00:53:39
I installed Openmodelica 1.8.1 on my OS Ubuntu 12.04 32bit following the guide in download section of this site. The installation terminated without problem and all components was installed. But a problem appen when i try to compile any simple system (also default example). The compile crash instantly with a massage similar to the follower:
Code:
Translation 23:21:43 0:0-0:0 Error building simulator. Buildlog: gcc -falign-functions -march=native -mfpmath=sse -I"/usr/include/omc" -I. -L"/usr/lib/omlibrary/Modelica 3.1/Mechanics/MultiBody/Examples/Elementary" -c -o Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.o Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.c
Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.c: In function ‘eqFunction_281’:
Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.c:8778:3: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘integer’ [-Wformat]
Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.c: In function ‘eqFunction_311’:
Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.c:9029:3: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘integer’ [-Wformat]
gcc -falign-functions -march=native -mfpmath=sse -I"/usr/include/omc" -I. -L"/usr/lib/omlibrary/Modelica 3.1/Mechanics/MultiBody/Examples/Elementary" -c -o Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_records.o Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_records.c
g++ -I. -o Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.o Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_records.o -I"/usr/include/omc" -I. -L"/usr/lib/omlibrary/Modelica 3.1/Mechanics/MultiBody/Examples/Elementary" -L"/usr/lib/omlibrary/Modelica 3.1/Mechanics/MultiBody/Examples/Elementary" -falign-functions -march=native -mfpmath=sse -L"/usr/lib/omc" -lSimulationRuntimeC -ldl -linteractive -lexpat -lrt -lsundials_kinsol -lsundials_nvecserial -llapack -lpthread -Wl,-Bstatic -lf2c -Wl,-Bdynamic
/usr/bin/ld: cannot find -llapack
collect2: ld returned 1 exit status
make: *** [omc_main_target] Errore 1
Anyone can help me?
Re: OMEdit gcc not recognized
Jul-08-12 22:02:41
Which of the Ubuntu packages? release, stable or nightly? It should be working in nightly; for the others you also need to install liblapack-dev
- sjoelund.se
- 1700 Posts
Page Start Prev 1 Next End
- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » OMEdit gcc not recognized
There are 0 guests and 0 other users also viewing this topic