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

Install open modelica on Ubuntu 10.10

Install open modelica on Ubuntu 10.10

Hello,
I am not successful in installing open modelica on Ubuntu 10.10, 32 bit.

When I use the .deb packages I get the message:
Die folgenden Pakete haben unerfüllte Abhängigkeiten:
openmodelica : Hängt ab von: drmodelica ist aber nicht installierbar
                Hängt ab von: drcontrol ist aber nicht installierbar
E: Beschädigte Pakete

When I try to compile the openmodelica source package, the system
hangs when the tests are executed.

I than tried to install from svn, and get the following error:
notebook.cpp: In member function ‘void IAEX::NotebookWindow::openFile(QString)’:
notebook.cpp:2521: error: call of overloaded ‘QString(int)’ is ambiguous
/usr/include/qt4/QtCore/qstring.h:428: note: candidates are: QString::QString(const QByteArray&)
/usr/include/qt4/QtCore/qstring.h:426: note:                 QString::QString(const char*)
/usr/include/qt4/QtCore/qstring.h:727: note:                 QString::QString(const QString&)
/usr/include/qt4/QtCore/qstring.h:106: note:                 QString::QString(QChar)
/usr/include/qt4/QtCore/qstring.h:105: note:                 QString::QString(const QChar*)
make[2]: *** [notebook.o] Fehler 1
make[2]: Verlasse Verzeichnis '/home/ufechner/modelica/OPENMODELICA_1_5_0/OMNotebook/OMNotebookQT4'
make[1]: *** [OMNotebook] Fehler 2
make[1]: Verlasse Verzeichnis '/home/ufechner/modelica/OPENMODELICA_1_5_0/OMNotebook/OMNotebookQT4'
make: *** [omnotebook] Fehler 2

Any idea?

Best regards:

Uwe Fechner
TU Delft

Re: Install open modelica on Ubuntu 10.10

The issue with QString(int) is fixed in OpenModelica/trunk (they added String(int) constructor in Qt 4.7, and the creators of OMNotebook used String(NULL) instead of String("")).

You could of course install just omc, omnotebook, omshell‚ omshell-terminal instead of openmodelica (which pulls in drmodelica and drcontrol; you could download those files separate if you want to use them).
At least as a workaround until I know why the packages do not work on 32-bit (it works for me on 64-bit Ubuntu 10.10).

Re: Install open modelica on Ubuntu 10.10

The release packages were working.
The stable packages were broken and now working.
The nightly packages are still broken (but should be fixed with the automatic build at 12:00).

Thanks for reporting this issue.

Re: Install open modelica on Ubuntu 10.10

Hello,
I installed the release packages now, and they work.

Would you suggest the fixed stable packages, instead?

Regards:

Uwe Fechner

Re: Install open modelica on Ubuntu 10.10

Yes, the stable packages have 4 months of bugfixes applied to it.

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