From: Richard J. <rrj...@go...> - 2011-06-22 19:05:24
|
Hi Alan, Next instalment... > Please send your captured cmake and "make VERBOSE=1" output to me off > list for the case where you try to do everything in one go starting > with an empty build tree with the anomalous result that the examples > are _not_ built. I rebuilt plplot 5.9.7 with the latest Qt 4.7.3 and its included gcc 4.4.0. These are the versions that will not run the dynamic driver test and will not work with my application. I did: cmake -G "MinGW Makefiles" -DTEST_DYNDRIVERS=OFF -DBUILD_TEST=ON -DCMAKE_INSTALL_PREFIX= .. >cmake.txt I've attached cmake.txt. Then I did mingw32-make "VERBOSE=1" >make.txt I've attached make.txt > qt_example.cpp may not be a sufficient test. For example, what happens > if you actually try to use one of the dynamic drivers, e.g., > examples/c/x01c -dev qtwidget I added the newly created dll folder to my path and x01c -dev qtwidget runs OK as does qt_example > If the above use of > one of the qt dynamic devices works with -DTEST_DYNDRIVERS=OFF, then > can you confirm you still get a build-time error (and if so please > identify the device driver that fails) from the simple test of each of > the dynamic devices invoked with -DTEST_DYNDRIVERS=ON? (I am asking > you to repeat this test because you appear to be having difficulty > with replicating your older results. I deleted the build hierarchy, created a new build folder and built with the test of dynamic drivers cmake -G "MinGW Makefiles" -DTEST_DYNDRIVERS=OFF -DBUILD_TEST=ON -DCMAKE_INSTALL_PREFIX= .. >cmakedyn.txt mingw32-make "VERBOSE=1" >makedyn.txt This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. mingw32-make[2]: *** [drivers/test_dyndrivers_dir/qt.rc] Error 3 mingw32-make[1]: *** [drivers/CMakeFiles/test_qt_dyndriver.dir/all] Error 2 mingw32-make: *** [all] Error 2 I've attached cmakedyn.txt and makedyn.txt I made again without the dynamic driver test and installed it in with mingw32-make install > makeinstall.txt I then did the qt make of my simple qt/plplot application, it wouldn't start the compilation throwing up strange errors so I told qt to make a new empty application and copied my source files across. I copied across the include and library paths and then it built but wouldn't run, but then I realised it was in debug mode. I switched to release mode and now it runs! For the record I've attached the make log qtmake.txt. Went to do the same for Netbeans, and I couldn't find the include files, realised that for qtcreator I was using the old build path to my working 4.5.3 installation. Strange, I can't see an install folder in my new build - a bit of checking and its putting them in the root of my d: drive. Changed qtcreator to look there for includes and libraries and rebuilt and it still runs! I've attached this build log as qtmake1.txt Set Netbeans with these include and library paths and built my app, this time it runs! - But after a few clicks it crashes and exits. I've attached the build log as nbmake.txt. On a quick look its using /usr/bin/make rather that mingw32-make , must be the msys make. I've run out of time tonight, will have a closer look at the logs tomorrow Regards Richard |