From: Alan W. I. <ir...@be...> - 2013-09-04 00:51:00
|
Hi Kouros: Please follow our request to ask all questions on list! That allows others to benefit from the discussion and/or help you further. On 2013-09-03 17:08-0700 Kouros Bina wrote: > I was able to make a successful CMake file and compile my test case for an individual test example which is x11c with alterations which is placed in its own directory. I was able to install and run the c examples (i.e. x01c through x34c etc.) with the graphics running correctly. The link session fails on plplot.lib. Try putting the dll subdirectory on your PATH as suggested by Arjen. > However it compiles my two files -- xInverarityc and test_plend. > Is there any help on what the plplot.lib files as regards the installed build-plplot and plplot (un-tar or unzip file) directories or else the installed directory. It appears you are concerned about linking your own applications to the installed PLplot libraries. To help answer that concern you should note there are two build systems. The first build system (the one you have been using) is used to build and install PLplot. After that build and install is completed for the first build system, you should notice a CMakeLists.txt file installed in $prefix/share/plplot5.9.9/examples where $prefix is your installed prefix. That CMakeLists.txt file is the core of a second build system which is used to build the installed examples and link them to the installed PLplot libraries. So builds of your own software should follow what that second build system does. Alan __________________________ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); the Time Ephemerides project (timeephem.sf.net); PLplot scientific plotting software package (plplot.sf.net); the libLASi project (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ |