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

compilation omeditgui failed

compilation omeditgui failed

Hi,
I downloaded openmodelica :
svn co https://openmodelica.org/svn/OpenModelica/trunk/
and then run
./configure --with-sendData-Qt --with-Coin --with-omniORB=/usr

It then fails in the omeditgui directory, error message can be found below. It calls a function SetRotation which does not exist in the class Component. Any ideas?

Regards,
nb


makemake[1]: Entering directory `/home/nb/trunk/OMEdit/OMEditGUI'
make -f Makefile
make[2]: Entering directory `/home/nb/trunk/OMEdit/OMEditGUI'
g++ -c -m64 -pipe -O2 -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -w -D_REENTRANT -DQT_NO_DEBUG -DQT_WEBKIT_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/default -I. -I/usr/include/QtCore -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtNetwork -I/usr/include/QtGui -I/usr/include/QtGui -I/usr/include/QtXml -I/usr/include/QtXml -I/usr/include/QtWebKit -I/usr/include/QtWebKit -I/usr/include -I/usr/include -I. -I. -o ProjectTabWidget.o ProjectTabWidget.cpp
ProjectTabWidget.cpp: In member function ‘void ProjectTab::getModelComponents()’:
ProjectTabWidget.cpp:1339: error: ‘class Component’ has no member named ‘setRotation’
ProjectTabWidget.cpp: In constructor ‘ProjectTabWidget::ProjectTabWidget(MainWindow*)’:
ProjectTabWidget.cpp:1625: error: ‘setTabsClosable’ was not declared in this scope
make[2]: *** [ProjectTabWidget.o] Error 1
make[2]: Leaving directory `/home/nb/trunk/OMEdit/OMEditGUI'

Re: compilation omeditgui failed

OMEdit depends on Qt 4.7

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