From: Arjen M. <arj...@de...> - 2013-09-09 11:46:26
|
Hi Kouros, On 2013-09-08 16:11, Kouros Bina wrote: > Arjen or Alan: I got the file to compile. I noted it in a separate email > to the general list. My file compiles and will execute except, in the > console that is in the execution, I get the following error: > > ****** PlPlot error: Aborting operation **** > plInitDispatchTable: could not open drivers directory, aborting operation > > My file is actually example x11c with the text of the title of the graph > altered so that it can be run as a sample to work out all of the > compiling and linking issues. > > In actuality, the renamed example will work if I place it in the > following directory: > > C:\build-plplot\examples\c\Debug\. It executes then -- without the > plInitDisaptch etc. error. > > Also, I tried copying all the executables of the examples in c (x01c.exe > through x34c.exe) and placing them in a separate test directory, and I > got the same error with the PlInitDispatchTAble: could not open drivers > directory, etc. > > To be able to operate my eventual compiled files and the executables, I > need to be able to install them in an arbitrarily named directory etc. > > Can someone help me find what to change to get rid of the > "plInitDispatchTable: could not open drivers directory" error? > The problem you encounter is that PLplot has to find the driver information and for this it uses a specific directory if the program that uses PLplot is not within the build tree (the case where your program does work). The best way to solve this is by running "make install". Then the various files are put in the right directory and you can run your programs from anywhere. 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. |