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: perost

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 Changed 11 years ago by sjoelund.se

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

comment:2 Changed 11 years ago by jacba620@…

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

comment:3 Changed 11 years ago by jacba620@…

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 follow-up: Changed 11 years ago by sjoelund.se

  • Cc perost 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 Changed 11 years ago by jacba620@…

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

comment:6 in reply to: ↑ 4 Changed 11 years ago by perost

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 Changed 11 years ago by sjoelund.se

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

comment:8 Changed 11 years ago by sjoelund.se

  • Resolution set to wontfix
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.