From: Jim D. <ji...@di...> - 2007-10-30 04:16:51
|
"Alan W. Irwin" <ir...@be...> writes: > I have changed the suffix of dynamic drivers to .dll in the Cygwin case for > revision 7989. Could you please finish the experiment with this revision? > That is set LD_LIBRARY_PATH, do the complete build again, then finish with > the installed examples build and running the installed examples to make sure > they work? You should point LD_LIBRARY_PATH to the install location of the > libraries before doing that installed examples test since you want to test > the installed libraries and not the build-tree libraries. I performed the best by setting the LD_LIBRARY_PATH to include lib/csa and src, which are the locations of the csa and plplot DLL's. I configured plplot with the command cmake -DCMAKE_INSTALL_PREFIX=install -DCMAKE_VERBOSE_MAKEFILE=ON -DBUILD_TEST=ON -DENABLE_DYNDRIVERS=ON -DENABLE_tk=OFF -DENABLE_tcl=OFF ../plplot-pure where plplot-pure is a fresh copy of 7989. The build directory was empty. The make command failed when it attempted to build the drivers with the following error cd /opt/build/cygwin-no-ivf/drivers && ./get-drv-info.exe hpgl > /opt/build/cygwin-no-ivf/drivers/hpgl.rc make[2]: *** [drivers/hpgl.rc] Error 53 If I type type the following command strace ./get-drv-info.exe hpgl I get a dialog box stating that libplplotd-9.3.0.dll was not found even though it can be found on the LD_LIBRARY_PATH. I also added the src directory to the PATH and get-drv-info was able to work. I then cleaned the build directory and was able to successfully build with dyndrivers enabled. -jd |