I have a Plplot-5.9.7/Qt application running well under Fedora 14 and I am
now trying to port it to Windows using MinGW.
Following the instructions at
http://www.miscdebris.net/plplot_wiki/index.php?title=Configure_PLplot_for_M
inGW/CLI ....

I downloaded and installed Qt_SDK_Windows_online_v1_1_en.exe from
http://qt.nokia.com/downloads/sdk-windows-cpp and checked I can build Qt
applications without Plplot OK.
I downloaded and installed cmake from
http://www.cmake.org/cmake/resources/software.html.
I added C:\QtSDK\Desktop\Qt\4.7.3\mingw\bin\ and C:QtSDK\mingw\bin to my
PATH variable.

In the build directory I ran cmake -G "MinGW Makefiles"
-DCMAKE_INSTALL_PREFIX=install ..
It runs through OK until it gets to

Scanning dependencies of target test-drv-info
[ 83%] Building C object
drivers/CMakeFiles/test-drv-info.dir/test-drv-info.c.obj
Linking C executable ..\dll\test-drv-info.exe
[ 83%] Built target test-drv-info
Scanning dependencies of target xfig
[ 85%] Building C object drivers/CMakeFiles/xfig.dir/xfig.c.obj
Linking C shared module ..\dll\xfig.dll
[ 85%] Built target xfig
Scanning dependencies of target test_xfig_dyndriver
[ 85%] Generating test_dyndrivers_dir/xfig.rc
[ 87%] Built target test_xfig_dyndriver
Scanning dependencies of target test_qt_dyndriver
[ 87%] Generating test_dyndrivers_dir/qt.rc

This application has requested the Runtime to terminate it in an unusual
way.
Please contact the application's support team for more information.

Running the make again with VERBOSE=1 I see the line
[ 87%] Generating test_dyndrivers_dir/qt.rc
cd C:\plplot-5.9.7\build\drivers && ..\dll\test-drv-info.exe qt >
C:/plplot-5.9.7/build/drivers/test_dyndrivers_dir/qt.rc

I checked the test-drv-info.c and added some debug printf's to it which
indicate it is returning normally with no error.
The contents of qt.rc are:
bmpqt:Qt Windows bitmap driver:0:qt:66:bmpqt
jpgqt:Qt jpg driver:0:qt:67:jpgqt
pngqt:Qt png driver:0:qt:68:pngqt
ppmqt:Qt ppm driver:0:qt:69:ppmqt
tiffqt:Qt tiff driver:0:qt:70:tiffqt
svgqt:Qt SVG driver:0:qt:71:svgqt
qtwidget:Qt Widget:1:qt:72:qtwidget
epsqt:Qt EPS driver:0:qt:73:epsqt
pdfqt:Qt PDF driver:0:qt:74:pdfqt
extqt:External Qt driver:0:qt:75:extqt
memqt:Memory Qt driver:0:qt:76:memqt

I am running 64 bit Windows 7.

So, can anyone help me with this, has anyone succeeded in running Plplot
with Qt under Windows 7?

Thanks
Richard






------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to