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

Model compilation

Model compilation

Hello,

my name is Andreas an I've installed openmodelica on Ubuntu 10.10 32-bit from the package source: "deb http://build.openmodelica.org/apt stable contrib".

I've tried to simulate a very simple model, but the following error occurred:

---- Error 3 : 15:28:41 ----
Unable to simulate the Model 'tesrt'
Following Error has occurred.

Simulation failed for model: tesrt
Error: Error building simulator. Buildlog: perl /usr/share/omc/scripts/convert_lines.pl tesrt.cpp tesrt.conv.cpp.tmp
i486-linux-gnu-g++ -I. -o tesrt tesrt.conv.cpp tesrt_functions.cpp    -lsim -linteractive  -I\"/usr/include/omc\" -O3 -falign-functions -march=native -mfpmath=sse  -lsendData -lQtNetwork -lQtCore -lQtGui -lrt -lpthread -L\"/usr/lib/omc\" -lc_runtime -Wl,-Bstatic -lf2c -Wl,-Bdynamic tesrt_records.c
/bin/sh: i486-linux-gnu-g++: not found
make: *** [tesrt] Error 127


Can someone help me?

Best regards,

Andreas

Re: Model compilation

Thanks for the bug. The stable/release versions of OpenModelica are built on Debian, which uses a different C++-compiler current/smile I will fix this for the 1.7.0 release.
If you want to use OpenModelica sooner than that, consider using the nightly-ubuntu package as a workaround.

There are 0 guests and 0 other users also viewing this topic