From: Kouros B. <k_...@ve...> - 2013-09-09 11:58:49
|
Arjen: Thanks a lot. I do not know with what program to use to run "make install". Can you explain it? Also, on what directory do I run "make install". There in my case, an original un-zipped directory tree, c:plplot/ from which the second c:/build-plplot directory is created. This directory was correctly created and contains in, c:\build-plplot\examples\c\Debug\, the x01c.exe through x34c.exe files which will execute. Then, there is a third directory, my example directory for separate compilation, c:\plplot-Inverarity3d\, which has the code and its separate build file which cmake creates, c:\build-Inver\ etc. which contains the debug directory. I do not know where is the "make install" command or on exactly what tree it should be operated on. Also, is it possible to ask through a combination of Cmake and the makefile, to have the executable use the working directory of the executable file, or the current directory etc. so that the *.dll files could be put in one directory with the executable files; without reinstalling. I would like to have another file call the PLPLOT executable code in a file folder somewhere else; this would help with installation elsewhere. Kouros K. Bina >________________________________ > From: Arjen Markus <arj...@de...> >To: Kouros Bina <k_...@ve...> >Cc: "plp...@li..." <plp...@li...> >Sent: Monday, September 9, 2013 4:46 AM >Subject: Re: [Plplot-general] Obtaining source code related to plplot.h > > >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. > > > > > > > |