Opened 11 years ago

Last modified 11 years ago

#2315 closed defect

Error building simulation — at Initial Version

Reported by: fran_Jo Owned by: fran_jo
Priority: high Milestone: 1.9.0
Component: OMEdit Version: trunk
Keywords: Cc:

Description

I have installed OpenModelica via MacPorts using the instructions in the web, and installing openmodelica-release. I use OMEdit under MacOSX 10.6.8.
The model is a simple RL Circuit.
Translation 13:40:22 0:0-0:0 Error building simulator. Build log: /usr/bin/gcc-4.2 -falign-functions -msse2 -mfpmath=sse -I"/opt/local/include/omc" -I. -L"/Users/Cesc/Proyectos/Modelica" -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -c -o RLCircuit.o RLCircuit.c
/usr/bin/gcc-4.2 -falign-functions -msse2 -mfpmath=sse -I"/opt/local/include/omc" -I. -L"/Users/Cesc/Proyectos/Modelica" -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -c -o RLCircuit_records.o RLCircuit_records.c
/usr/bin/g++-4.2 -I. -o RLCircuit RLCircuit.o RLCircuit_records.o -I"/opt/local/include/omc" -I. -L"/Users/Cesc/Proyectos/Modelica" -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -L"/Users/Cesc/Proyectos/Modelica" -falign-functions -msse2 -mfpmath=sse -L"/opt/local/lib/omc" -Wl,-rpath,'/opt/local/lib/omc' -lSimulationRuntimeC -ldl -linteractive -lexpat -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -lintl -liconv -lgc -llapack -lpthread -lf2c
Undefined symbols:

"_dgesv_", referenced from:

_solveLapack in libSimulationRuntimeC.a(libSimulationRuntimeC.a.o)
_solveNewton in libSimulationRuntimeC.a(libSimulationRuntimeC.a.o)

ld: symbol(s) not found
collect2: ld returned 1 exit status
make: * [omc_main_target] Error 1

Change History (1)

by fran_jo, 11 years ago

Attachment: RLCircuit.mo added

RL Circuit

Note: See TracTickets for help on using tickets.