From: Werner S. <sm...@ia...> - 2009-02-10 06:58:57
|
Hi Kyle, > > This worked for this stage and eventually I got my application to > compile with PLplot. Hip-hip.. hoorah! Another piece of the puzzle > was finding and using pkg-config for win32 to provide an appropriate > set of linker flags. I didn't find this right off the bat, so here's > a link for anyone else who ends up perusing this thread for help: > > http://www.gtk.org/download-windows.html > > Just remember to set the PKG_CONFIG_PATH variable to the > <install>\lib\pkgconfig directory so it can find the PLplot files. > Now on to actual programming and figuring out how to use this. Oh, > and repeating this process from scratch so I can document it well on > the wiki. Yes, this pkg-config you found can be used (must be used for cairo devices), but not needed. Usually to find out what parameters I need to compile my own programs I configure PLplot with the -DBUILD_TEST=ON option and then compile PLplot with make VERBOSE=1 Later on all the examples will be built and the VERBOSE flag tells make to print out actual compiler and linker calls. This helps to get your own programs running. > > Yes, it finally did the trick. Thanks again for sticking it out and > getting me to the bottom of this. > > -kyle Great! Werner -- Dr. Werner Smekal Institut fuer Allgemeine Physik Technische Universitaet Wien Wiedner Hauptstr 8-10 A-1040 Wien Austria email: sm...@ia... web: http://www.iap.tuwien.ac.at/~smekal phone: +43-(0)1-58801-13463 (office), +43-(0)1-58801-13469 (laboratory) fax: +43-(0)1-58801-13499 |