Support Requests item #3122587, was opened at 2010-11-29 21:41
Message generated for change (Tracker Item Submitted) made by breanky
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=202915&aid=3122587&group_id=2915

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Priority: 5
Private: No
Submitted By: Vladimir Margatskiy (breanky)
Assigned to: Nobody/Anonymous (nobody)
Summary: impossible to build libplplotqtd.dll

Initial Comment:
Hi all.

I'm using plplot in my program with Qt, and have no problems, under linux and 
fedora-rpms and self-builded. When I tried to build under winxp-32, its 
configured well, but: 

Linking CXX static library libplplotd.a
[ 94%] Built target plplotd
Scanning dependencies of target plplotcxxd
[ 96%] Building CXX object bindings/c++/CMakeFiles/plplotcxxd.dir/plstream.cc.ob
j
Linking CXX static library libplplotcxxd.a
[ 96%] Built target plplotcxxd
Scanning dependencies of target plplotqtd
[ 98%] Building CXX object bindings/qt_gui/CMakeFiles/plplotqtd.dir/plqt.cpp.obj

E:\Raznoe\Vovan\plplot-5.9.7\bindings\qt_gui\plqt.cpp:37:28: error: definition o
f 'int vectorize' is marked 'dllimport'
E:\Raznoe\Vovan\plplot-5.9.7\bindings\qt_gui\plqt.cpp:37:28: warning: 'vectorize
' redeclared without dllimport attribute: previous dllimport ignored
E:\Raznoe\Vovan\plplot-5.9.7\bindings\qt_gui\plqt.cpp:38:28: error: definition o
f 'int lines_aa' is marked 'dllimport'
E:\Raznoe\Vovan\plplot-5.9.7\bindings\qt_gui\plqt.cpp:38:28: warning: 'lines_aa'
redeclared without dllimport attribute: previous dllimport ignored
E:\Raznoe\Vovan\plplot-5.9.7\bindings\qt_gui\plqt.cpp:43:1: warning: 'MasterHand
ler::MasterHandler()' redeclared without dllimport attribute: previous dllimport
ignored
E:\Raznoe\Vovan\plplot-5.9.7\bindings\qt_gui\plqt.cpp:48:6: warning: 'bool Maste
rHandler::isMasterDevice(QtPLDriver*)' redeclared without dllimport attribute: p
revious dllimport ignored
E:\Raznoe\Vovan\plplot-5.9.7\bindings\qt_gui\plqt.cpp:53:6: warning: 'void Maste
rHandler::setMasterDevice(QtPLDriver*)' redeclared without dllimport attribute:
previous dllimport ignored
E:\Raznoe\Vovan\plplot-5.9.7\bindings\qt_gui\plqt.cpp:58:6: warning: 'void Maste
rHandler::DeviceChangedPage(QtPLDriver*)' redeclared without dllimport attribute
: previous dllimport ignored
E:\Raznoe\Vovan\plplot-5.9.7\bindings\qt_gui\plqt.cpp:66:6: warning: 'void Maste
rHandler::DeviceClosed(QtPLDriver*)' redeclared without dllimport attribute: pre
vious dllimport ignored
E:\Raznoe\Vovan\plplot-5.9.7\bindings\qt_gui\plqt.cpp:76:20: warning: 'QtPLDrive
r::mutex' redeclared without dllimport attribute: previous dllimport ignored
E:\Raznoe\Vovan\plplot-5.9.7\bindings\qt_gui\plqt.cpp:78:1: warning: 'QtPLDriver
::QtPLDriver(PLINT, PLINT)' redeclared without dllimport attribute: previous dll
import ignored
E:\Raznoe\Vovan\plplot-5.9.7\bindings\qt_gui\plqt.cpp:84:1: warning: 'virtual Qt
PLDriver::~QtPLDriver()' redeclared without dllimport attribute: previous dllimp
ort ignored
E:\Raznoe\Vovan\plplot-5.9.7\bindings\qt_gui\plqt.cpp:88:6: warning: 'void QtPLD
river::setPLStream(PLStream*)' redeclared without dllimport attribute: previous
dllimport ignored
E:\Raznoe\Vovan\plplot-5.9.7\bindings\qt_gui\plqt.cpp:93:6: warning: 'virtual vo
id QtPLDriver::drawLine(short int, short int, short int, short int)' redeclared
without dllimport attribute: previous dllimport ignored
E:\Raznoe\Vovan\plplot-5.9.7\bindings\qt_gui\plqt.cpp:106:6: warning: 'virtual v
oid QtPLDriver::drawPolyline(short int*, short int*, PLINT)' redeclared without
dllimport attribute: previous dllimport ignored
E:\Raznoe\Vovan\plplot-5.9.7\bindings\qt_gui\plqt.cpp:120:6: warning: 'virtual v
oid QtPLDriver::drawPolygon(short int*, short int*, PLINT)' redeclared without d
llimport attribute: previous dllimport ignored
E:\Raznoe\Vovan\plplot-5.9.7\bindings\qt_gui\plqt.cpp:135:7: warning: 'QFont QtP
LDriver::getFont(PLUNICODE)' redeclared without dllimport attribute: previous dl
limport ignored
E:\Raznoe\Vovan\plplot-5.9.7\bindings\qt_gui\plqt.cpp:175:6: warning: 'void QtPL
Driver::drawTextInPicture(QPainter*, const QString&)' redeclared without dllimpo
rt attribute: previous dllimport ignored
E:\Raznoe\Vovan\plplot-5.9.7\bindings\qt_gui\plqt.cpp:211:10: warning: 'QPicture
QtPLDriver::getTextPicture(PLUNICODE, PLUNICODE*, int, PLFLT)' redeclared witho
ut dllimport attribute: previous dllimport ignored
E:\Raznoe\Vovan\plplot-5.9.7\bindings\qt_gui\plqt.cpp:328:6: warning: 'virtual v
oid QtPLDriver::drawText(EscText*)' redeclared without dllimport attribute: prev
ious dllimport ignored
E:\Raznoe\Vovan\plplot-5.9.7\bindings\qt_gui\plqt.cpp:373:6: warning: 'virtual v
oid QtPLDriver::setColor(int, int, int, double)' redeclared without dllimport at
tribute: previous dllimport ignored
E:\Raznoe\Vovan\plplot-5.9.7\bindings\qt_gui\plqt.cpp:388:6: warning: 'virtual v
oid QtPLDriver::setGradient(int, int, int, int, unsigned char*, unsigned char*,
unsigned char*, PLFLT*, PLINT)' redeclared without dllimport attribute: previous
dllimport ignored
E:\Raznoe\Vovan\plplot-5.9.7\bindings\qt_gui\plqt.cpp:414:6: warning: 'virtual v
oid QtPLDriver::setWidth(PLINT)' redeclared without dllimport attribute: previou
s dllimport ignored
E:\Raznoe\Vovan\plplot-5.9.7\bindings\qt_gui\plqt.cpp:439:6: warning: 'virtual v
oid QtPLDriver::setSolid()' redeclared without dllimport attribute: previous dll
import ignored
E:\Raznoe\Vovan\plplot-5.9.7\bindings\qt_gui\plqt.cpp:451:1: warning: 'QtRasterD
evice::QtRasterDevice(int, int)' redeclared without dllimport attribute: previou
s dllimport ignored
E:\Raznoe\Vovan\plplot-5.9.7\bindings\qt_gui\plqt.cpp:464:1: warning: 'virtual Q
tRasterDevice::~QtRasterDevice()' redeclared without dllimport attribute: previo
us dllimport ignored
E:\Raznoe\Vovan\plplot-5.9.7\bindings\qt_gui\plqt.cpp:469:6: warning: 'void QtRa
sterDevice::definePlotName(const char*, const char*)' redeclared without dllimpo
rt attribute: previous dllimport ignored
E:\Raznoe\Vovan\plplot-5.9.7\bindings\qt_gui\plqt.cpp:478:6: warning: 'void QtRa
sterDevice::savePlot()' redeclared without dllimport attribute: previous dllimpo
rt ignored
E:\Raznoe\Vovan\plplot-5.9.7\bindings\qt_gui\plqt.cpp:490:6: warning: 'virtual v
oid QtRasterDevice::setBackgroundColor(int, int, int, double)' redeclared withou
t dllimport attribute: previous dllimport ignored
E:\Raznoe\Vovan\plplot-5.9.7\bindings\qt_gui\plqt.cpp:501:1: warning: 'QtSVGDevi
ce::QtSVGDevice(int, int)' redeclared without dllimport attribute: previous dlli
mport ignored
E:\Raznoe\Vovan\plplot-5.9.7\bindings\qt_gui\plqt.cpp:507:1: warning: 'virtual Q
tSVGDevice::~QtSVGDevice()' redeclared without dllimport attribute: previous dll
import ignored
E:\Raznoe\Vovan\plplot-5.9.7\bindings\qt_gui\plqt.cpp:512:6: warning: 'void QtSV
GDevice::definePlotName(const char*)' redeclared without dllimport attribute: pr
evious dllimport ignored
E:\Raznoe\Vovan\plplot-5.9.7\bindings\qt_gui\plqt.cpp:524:6: warning: 'void QtSV
GDevice::savePlot()' redeclared without dllimport attribute: previous dllimport
ignored
E:\Raznoe\Vovan\plplot-5.9.7\bindings\qt_gui\plqt.cpp:529:6: warning: 'virtual v
oid QtSVGDevice::setBackgroundColor(int, int, int, double)' redeclared without d
llimport attribute: previous dllimport ignored
E:\Raznoe\Vovan\plplot-5.9.7\bindings\qt_gui\plqt.cpp:602:1: warning: 'QtPLWidge
t::QtPLWidget(int, int, QWidget*)' redeclared without dllimport attribute: previ
ous dllimport ignored
E:\Raznoe\Vovan\plplot-5.9.7\bindings\qt_gui\plqt.cpp:625:1: warning: 'virtual Q
tPLWidget::~QtPLWidget()' redeclared without dllimport attribute: previous dllim
port ignored
E:\Raznoe\Vovan\plplot-5.9.7\bindings\qt_gui\plqt.cpp:631:6: warning: 'void QtPL
Widget::clearWidget()' redeclared without dllimport attribute: previous dllimpor
t ignored
E:\Raznoe\Vovan\plplot-5.9.7\bindings\qt_gui\plqt.cpp:640:6: warning: 'void QtPL
Widget::flush()' redeclared without dllimport attribute: previous dllimport igno
red
E:\Raznoe\Vovan\plplot-5.9.7\bindings\qt_gui\plqt.cpp:646:6: warning: 'void QtPL
Widget::clearBuffer()' redeclared without dllimport attribute after being refere
nced with dll linkage
E:\Raznoe\Vovan\plplot-5.9.7\bindings\qt_gui\plqt.cpp:689:6: warning: 'virtual v
oid QtPLWidget::drawLine(short int, short int, short int, short int)' redeclared
without dllimport attribute: previous dllimport ignored
E:\Raznoe\Vovan\plplot-5.9.7\bindings\qt_gui\plqt.cpp:699:6: warning: 'virtual v
oid QtPLWidget::drawPolyline(short int*, short int*, PLINT)' redeclared without
dllimport attribute: previous dllimport ignored
E:\Raznoe\Vovan\plplot-5.9.7\bindings\qt_gui\plqt.cpp:713:6: warning: 'virtual v
oid QtPLWidget::drawPolygon(short int*, short int*, PLINT)' redeclared without d
llimport attribute: previous dllimport ignored
E:\Raznoe\Vovan\plplot-5.9.7\bindings\qt_gui\plqt.cpp:789:6: warning: 'virtual v
oid QtPLWidget::setColor(int, int, int, double)' redeclared without dllimport at
tribute: previous dllimport ignored
E:\Raznoe\Vovan\plplot-5.9.7\bindings\qt_gui\plqt.cpp:812:6: warning: 'virtual v
oid QtPLWidget::setGradient(int, int, int, int, unsigned char*, unsigned char*,
unsigned char*, PLFLT*, PLINT)' redeclared without dllimport attribute: previous
dllimport ignored
E:\Raznoe\Vovan\plplot-5.9.7\bindings\qt_gui\plqt.cpp:841:6: warning: 'virtual v
oid QtPLWidget::setBackgroundColor(int, int, int, double)' redeclared without dl
limport attribute after being referenced with dll linkage
E:\Raznoe\Vovan\plplot-5.9.7\bindings\qt_gui\plqt.cpp:863:6: warning: 'virtual v
oid QtPLWidget::setWidth(PLINT)' redeclared without dllimport attribute: previou
s dllimport ignored
E:\Raznoe\Vovan\plplot-5.9.7\bindings\qt_gui\plqt.cpp:872:6: warning: 'virtual v
oid QtPLWidget::drawText(EscText*)' redeclared without dllimport attribute: prev
ious dllimport ignored
E:\Raznoe\Vovan\plplot-5.9.7\bindings\qt_gui\plqt.cpp:902:6: warning: 'void QtPL
Widget::renderText(QPainter*, TextStruct_*, double, double, double, double)' red
eclared without dllimport attribute: previous dllimport ignored
E:\Raznoe\Vovan\plplot-5.9.7\bindings\qt_gui\plqt.cpp:925:6: warning: 'void QtPL
Widget::resetPensAndBrushes(QPainter*)' redeclared without dllimport attribute:
previous dllimport ignored
E:\Raznoe\Vovan\plplot-5.9.7\bindings\qt_gui\plqt.cpp:933:6: warning: 'void QtPL
Widget::lookupButtonEvent(QMouseEvent*)' redeclared without dllimport attribute:
previous dllimport ignored
E:\Raznoe\Vovan\plplot-5.9.7\bindings\qt_gui\plqt.cpp:976:6: warning: 'void QtPL
Widget::locate()' redeclared without dllimport attribute: previous dllimport ign
ored
E:\Raznoe\Vovan\plplot-5.9.7\bindings\qt_gui\plqt.cpp:998:6: warning: 'void QtPL
Widget::mouseEvent(QMouseEvent*)' redeclared without dllimport attribute: previo
us dllimport ignored
E:\Raznoe\Vovan\plplot-5.9.7\bindings\qt_gui\plqt.cpp:1018:6: warning: 'virtual
void QtPLWidget::mousePressEvent(QMouseEvent*)' redeclared without dllimport att
ribute: previous dllimport ignored
E:\Raznoe\Vovan\plplot-5.9.7\bindings\qt_gui\plqt.cpp:1023:6: warning: 'virtual
void QtPLWidget::mouseReleaseEvent(QMouseEvent*)' redeclared without dllimport a
ttribute: previous dllimport ignored
E:\Raznoe\Vovan\plplot-5.9.7\bindings\qt_gui\plqt.cpp:1028:6: warning: 'virtual
void QtPLWidget::mouseMoveEvent(QMouseEvent*)' redeclared without dllimport attr
ibute: previous dllimport ignored
E:\Raznoe\Vovan\plplot-5.9.7\bindings\qt_gui\plqt.cpp:1033:6: warning: 'virtual
void QtPLWidget::keyPressEvent(QKeyEvent*)' redeclared without dllimport attribu
te: previous dllimport ignored
E:\Raznoe\Vovan\plplot-5.9.7\bindings\qt_gui\plqt.cpp:1136:6: warning: 'virtual
void QtPLWidget::closeEvent(QCloseEvent*)' redeclared without dllimport attribut
e: previous dllimport ignored
E:\Raznoe\Vovan\plplot-5.9.7\bindings\qt_gui\plqt.cpp:1142:6: warning: 'void QtP
LWidget::nextPage()' redeclared without dllimport attribute: previous dllimport
ignored
E:\Raznoe\Vovan\plplot-5.9.7\bindings\qt_gui\plqt.cpp:1148:6: warning: 'virtual
void QtPLWidget::resizeEvent(QResizeEvent*)' redeclared without dllimport attrib
ute: previous dllimport ignored
E:\Raznoe\Vovan\plplot-5.9.7\bindings\qt_gui\plqt.cpp:1156:6: warning: 'virtual
void QtPLWidget::paintEvent(QPaintEvent*)' redeclared without dllimport attribut
e: previous dllimport ignored
E:\Raznoe\Vovan\plplot-5.9.7\bindings\qt_gui\plqt.cpp:1211:6: warning: 'void QtP
LWidget::doPlot(QPainter*, double, double, double, double)' redeclared without d
llimport attribute after being referenced with dll linkage
E:\Raznoe\Vovan\plplot-5.9.7\bindings\qt_gui\plqt.cpp:1339:6: warning: 'void QtP
LWidget::getPlotParameters(double&, double&, double&, double&)' redeclared witho
ut dllimport attribute after being referenced with dll linkage
E:\Raznoe\Vovan\plplot-5.9.7\bindings\qt_gui\plqt.cpp:1359:6: warning: 'void QtP
LWidget::getCursorCmd(PLGraphicsIn*)' redeclared without dllimport attribute: pr
evious dllimport ignored
E:\Raznoe\Vovan\plplot-5.9.7\bindings\qt_gui\plqt.cpp:1376:1: warning: 'QtExtWid
get::QtExtWidget(int, int, QWidget*)' redeclared without dllimport attribute: pr
evious dllimport ignored
E:\Raznoe\Vovan\plplot-5.9.7\bindings\qt_gui\plqt.cpp:1385:1: warning: 'virtual
QtExtWidget::~QtExtWidget()' redeclared without dllimport attribute: previous dl
limport ignored
E:\Raznoe\Vovan\plplot-5.9.7\bindings\qt_gui\plqt.cpp:1395:6: warning: 'void QtE
xtWidget::captureMousePlotCoords(PLFLT*, PLFLT*)' redeclared without dllimport a
ttribute: previous dllimport ignored
E:\Raznoe\Vovan\plplot-5.9.7\bindings\qt_gui\plqt.cpp:1410:6: warning: 'virtual
void QtExtWidget::mouseMoveEvent(QMouseEvent*)' redeclared without dllimport att
ribute: previous dllimport ignored
E:\Raznoe\Vovan\plplot-5.9.7\bindings\qt_gui\plqt.cpp:1440:6: warning: 'virtual
void QtExtWidget::mousePressEvent(QMouseEvent*)' redeclared without dllimport at
tribute: previous dllimport ignored
E:\Raznoe\Vovan\plplot-5.9.7\bindings\qt_gui\plqt.cpp:1444:6: warning: 'virtual
void QtExtWidget::mouseReleaseEvent(QMouseEvent*)' redeclared without dllimport
attribute: previous dllimport ignored
E:\Raznoe\Vovan\plplot-5.9.7\bindings\qt_gui\plqt.cpp:1481:6: warning: 'virtual
void QtExtWidget::paintEvent(QPaintEvent*)' redeclared without dllimport attribu
te: previous dllimport ignored
E:\Raznoe\Vovan\plplot-5.9.7\bindings\qt_gui\plqt.cpp: In function 'void plsetqt
dev(QtExtWidget*)':
E:\Raznoe\Vovan\plplot-5.9.7\bindings\qt_gui\plqt.cpp:1498:6: warning: 'void pls
etqtdev(QtExtWidget*)' redeclared without dllimport attribute: previous dllimpor
t ignored
E:\Raznoe\Vovan\plplot-5.9.7\bindings\qt_gui\plqt.cpp: In function 'void plsetqt
dev(QtExtWidget*, int, char**)':
E:\Raznoe\Vovan\plplot-5.9.7\bindings\qt_gui\plqt.cpp:1504:6: warning: 'void pls
etqtdev(QtExtWidget*, int, char**)' redeclared without dllimport attribute: prev
ious dllimport ignored
E:\Raznoe\Vovan\plplot-5.9.7\bindings\qt_gui\plqt.cpp: In function 'void plfreeq
tdev()':
E:\Raznoe\Vovan\plplot-5.9.7\bindings\qt_gui\plqt.cpp:1511:6: warning: 'void plf
reeqtdev()' redeclared without dllimport attribute: previous dllimport ignored
In file included from E:\Raznoe\Vovan\buildplot\include/moc_files.h:5:0,
from E:\Raznoe\Vovan\plplot-5.9.7\bindings\qt_gui\plqt.cpp:1518
:
E:/Raznoe/Vovan/buildplot/include/moc_qt.cxx: At global scope:
E:/Raznoe/Vovan/buildplot/include/moc_qt.cxx:45:34: warning: 'MasterHandler::sta
ticMetaObject' redeclared without dllimport attribute after being referenced wit
h dll linkage
E:/Raznoe/Vovan/buildplot/include/moc_qt.cxx:54:20: warning: 'virtual const QMet
aObject* MasterHandler::metaObject() const' redeclared without dllimport attribu
te: previous dllimport ignored
E:/Raznoe/Vovan/buildplot/include/moc_qt.cxx:59:7: warning: 'virtual void* Maste
rHandler::qt_metacast(const char*)' redeclared without dllimport attribute: prev
ious dllimport ignored
E:/Raznoe/Vovan/buildplot/include/moc_qt.cxx:67:5: warning: 'virtual int MasterH
andler::qt_metacall(QMetaObject::Call, int, void**)' redeclared without dllimpor
t attribute: previous dllimport ignored
E:/Raznoe/Vovan/buildplot/include/moc_qt.cxx:84:6: warning: 'void MasterHandler:
:MasterChangedPage()' redeclared without dllimport attribute after being referen
ced with dll linkage
E:/Raznoe/Vovan/buildplot/include/moc_qt.cxx:90:6: warning: 'void MasterHandler:
:MasterClosed()' redeclared without dllimport attribute after being referenced w
ith dll linkage
E:/Raznoe/Vovan/buildplot/include/moc_qt.cxx:126:31: warning: 'QtPLWidget::stati
cMetaObject' redeclared without dllimport attribute after being referenced with
dll linkage
E:/Raznoe/Vovan/buildplot/include/moc_qt.cxx:135:20: warning: 'virtual const QMe
taObject* QtPLWidget::metaObject() const' redeclared without dllimport attribute
: previous dllimport ignored
E:/Raznoe/Vovan/buildplot/include/moc_qt.cxx:140:7: warning: 'virtual void* QtPL
Widget::qt_metacast(const char*)' redeclared without dllimport attribute: previo
us dllimport ignored
E:/Raznoe/Vovan/buildplot/include/moc_qt.cxx:150:5: warning: 'virtual int QtPLWi
dget::qt_metacall(QMetaObject::Call, int, void**)' redeclared without dllimport
attribute: previous dllimport ignored
E:/Raznoe/Vovan/buildplot/include/moc_qt.cxx:196:32: warning: 'QtExtWidget::stat
icMetaObject' redeclared without dllimport attribute after being referenced with
dll linkage
E:/Raznoe/Vovan/buildplot/include/moc_qt.cxx:205:20: warning: 'virtual const QMe
taObject* QtExtWidget::metaObject() const' redeclared without dllimport attribut
e: previous dllimport ignored
E:/Raznoe/Vovan/buildplot/include/moc_qt.cxx:210:7: warning: 'virtual void* QtEx
tWidget::qt_metacast(const char*)' redeclared without dllimport attribute: previ
ous dllimport ignored
E:/Raznoe/Vovan/buildplot/include/moc_qt.cxx:218:5: warning: 'virtual int QtExtW
idget::qt_metacall(QMetaObject::Call, int, void**)' redeclared without dllimport
attribute: previous dllimport ignored
mingw32-make[2]: *** [bindings/qt_gui/CMakeFiles/plplotqtd.dir/plqt.cpp.obj] Err
or 1
mingw32-make[1]: *** [bindings/qt_gui/CMakeFiles/plplotqtd.dir/all] Error 2
mingw32-make: *** [all] Error 2

I used qt 4.6.3 and 4.7.1; migw-gcc 4.5.0 and older; build it static and 
dynamic, but it's impossible to build libplplotqtd.dll under windows. Is there 
a place where possible to download pre-builded plplot for windows?

Thanks for your efforts
Vladimir Margatskiy

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=202915&aid=3122587&group_id=2915

------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to