Opened 11 years ago

Closed 11 years ago

#2544 closed defect (wontfix)

Compile error for OMOptimBasis/GUI/Plots/MyQwtPlotPicker.h

Reported by: jacba620@… Owned by: Hubert Thieriot
Priority: high Milestone: 1.9.1
Component: OMOptim Version: trunk
Keywords: Cc: Per Östlund

Description

During compilation, I get the following error.

g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -w -fPIC -D_REENTRANT -DQT_NO_DEBUG -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4 -Irelease/generatedfiles/ui -I/usr/include/qwt -I. -I.. -I../GUI -I../GUI/Widgets -I../GUI/Tools -I../GUI/Dialogs -I../Units -I../Tools -I../Infos -I../FileData -I../Problems -Irelease/generatedfiles/moc -Irelease/generatedfiles/ui -o release/generatedfiles/MyQwtPlotPicker.o ../GUI/Plots/MyQwtPlotPicker.cpp
In file included from ../GUI/Plots/MyQwtPlotPicker.cpp:41:0:
../GUI/Plots/MyQwtPlotPicker.h:52:35: error: expected ‘)’ before ‘*’ token
     MyQwtPlotPicker(QwtPlotCanvas *);
                                   ^
../GUI/Plots/MyQwtPlotPicker.cpp:43:33: error: expected constructor, destructor, or type conversion before ‘(’ token
 MyQwtPlotPicker::MyQwtPlotPicker(QwtPlotCanvas *_canvas):QwtPlotPicker(_canvas)
                                 ^

The compilation is aborted then.

Using gcc version: 4.8.2 20131219

Change History (8)

comment:1 by Martin Sjölund, 11 years ago

Do you have qwt installed? What OS are you using?

comment:2 by jacba620@…, 11 years ago

I use ArchLinux and I have the following packages installed:
qwt 6.1.0, qwt5 5.2.3, qwtplot3d 0.2.7

comment:3 by jacba620@…, 11 years ago

Just to clarify: It happens with the currently most recent svn checkout for me when i run 'make'.

configure options are
./configure --with-omniORB --with-paradiseo=/usr --without-rml

comment:4 by Martin Sjölund, 11 years ago

Cc: Per Östlund added

Does make omplot work? I believe Per Östlund (developer using Arch Linux) compiles without omoptim because it doesn't work on Arch. I could be wrong though.

comment:5 by jacba620@…, 11 years ago

OK, I can compile it --without-paradiseo --without-rml.

in reply to:  4 comment:6 by Per Östlund, 11 years ago

Replying to sjoelund.se:

Does make omplot work? I believe Per Östlund (developer using Arch Linux) compiles without omoptim because it doesn't work on Arch. I could be wrong though.

The reason for that was that there used to be no paradiseo package for Arch (seems someone has added one to AUR now though), and I couldn't be bothered to make my own since I don't use OMOptim.

comment:7 by Martin Sjölund, 11 years ago

Ah, but that is paradiseo 2.x. (That version that doesn't work with the OMOptim sources)

comment:8 by Martin Sjölund, 11 years ago

Resolution: wontfix
Status: newclosed
Note: See TracTickets for help on using tickets.