Hi Alan,

>
> @Arjen and Phil, will both of you please look at the cygwin.tgz attachment?
>
> There is a big warning in plplot-cygwin/output_tree/cmake.out (for version 
> 3.0.1)
> about "CMake no longer defines WIN32 on Cygwin!" Have either of you run into 
> this
> issue for CMake on Cygwin?  There is advice in that warning about what Greg
> should do to overcome this issue but with several options.  Could you advise 
> him
> which option to take (and also update the Cywin part of our wiki accordingly)?
>
I have tried building Plplot using static libraries (-DBUILD_SHARED_LIBS=OFF 
-DENABLE_DYNDRIVERS=ON), but this fails on something in the Qt device:

cd /cygdrive/d/plplot-svn/build-cygwin-static/bindings/qt_gui && 
/usr/bin/c++.exe   -DPLPLOT_HAVE_CONFIG_H -DQT_CORE_LIB -DQT_GUI_LIB 
-DQT_NO_DEBUG -DQT_SVG_LIB -I/cygdrive/d/plplot-svn/plplot-git/include 
-I/cygdrive/d/plplot-svn/plplot-git/lib/qsastime 
-I/cygdrive/d/plplot-svn/plplot-git/lib/nistcd 
-I/cygdrive/d/plplot-svn/plplot-git/drivers 
-I/cygdrive/d/plplot-svn/build-cygwin-static 
-I/cygdrive/d/plplot-svn/build-cygwin-static/include -I/usr/include/qt4 
-I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore    
-DUSINGDLL -o CMakeFiles/plplotqt.dir/plqt.cpp.o -c 
/cygdrive/d/plplot-svn/plplot-git/bindings/qt_gui/plqt.cpp

/cygdrive/d/plplot-svn/plplot-git/bindings/qt_gui/plqt.cpp:28:28: error: 
definition of 'int vectorize' is marked 'dllimport'

PLDLLIMPEXP_QT_DATA( int ) vectorize = 0;

                            ^

/cygdrive/d/plplot-svn/plplot-git/bindings/qt_gui/plqt.cpp:28:28: warning: 
'vectorize' redeclared without dllimport attribute: previous dllimport ignored 
[-Wattributes]

/cygdrive/d/plplot-svn/plplot-git/bindings/qt_gui/plqt.cpp:29:28: error: 
definition of 'int lines_aa' is marked 'dllimport'

PLDLLIMPEXP_QT_DATA( int ) lines_aa  = 1;

I will retry it turning the Qt devices off. But this is clearly an issue 
connected to the WIN32 macro.

Regards,

Arjen



DISCLAIMER: This message is intended exclusively for the addressee(s) and may 
contain confidential and privileged information. If you are not the intended 
recipient please notify the sender immediately and destroy this message. 
Unauthorized use, disclosure or copying of this message is strictly prohibited. 
The foundation 'Stichting Deltares', which has its seat at Delft, The 
Netherlands, Commercial Registration Number 41146461, is not liable in any way 
whatsoever for consequences and/or damages resulting from the improper, 
incomplete and untimely dispatch, receipt and/or content of this e-mail.
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to