From: di a <ae...@ya...> - 2006-08-05 03:59:51
|
Hi all! I followed Alan's suggestion of using MinGW/MSYS to compile PLplot.The MinGW and MSYS have been installed in my windows.And I followed the steps in INSTALL.TXT in plplot-5.6.1 which writes that "simply use "configure --disable-shared" then "make install" to build." in MinGW/MSYS.But there are some questions I would like to put forward. I did the job with the commands above and generated some directories in my MYPREFIX. I found some libraries and libraries-related files such as 'libcsirocsa.a/la' ,'libplplotcxxd.a/la'... My questions are : 1)For I want to link all of the libs in my App in vc 2005, how could I link them? Because there are no .lib files, did vc++ could identify them? 2)I maked the examples in ...\plplot_install\share\plplot5.6.1\examples,but some errors jumped out: ------------- ... /bin/sh.exe: plplot-config: command not found C:/DOCUME~1/AENDEY/LOCALS~1/Temp/cc2zbaaa.o(.text+0x11a):x01cc.cc: undefined reference to `plstream::col(PLcolor)' C:/DOCUME~1/AENDEY/LOCALS~1/Temp/cc2zbaaa.o(.text+0x14f):x01cc.cc: undefined reference to `plstream::env(double, double, double, double, int, int)' C:/DOCUME~1/AENDEY/LOCALS~1/Temp/cc2zbaaa.o(.text+0x164):x01cc.cc: undefined reference to `plstream::col(PLcolor)' C:/DOCUME~1/AENDEY/LOCALS~1/Temp/cc2zbaaa.o(.text+0x189):x01cc.cc: undefined reference to `plstream::lab(char const*, char const*, char const*)' C:/DOCUME~1/AENDEY/LOCALS~1/Temp/cc2zbaaa.o(.text+0x1d6):x01cc.cc: undefined reference to `plstream::col(PLcolor)' C:/DOCUME~1/AENDEY/LOCALS~1/Temp/cc2zbaaa.o(.text+0x201):x01cc.cc: undefined reference to `plstream::poin(int, double*, double*, int)' ... ---------------------------------- How could I deal with these? 3)Did somebody have generated the .lib or .dll files of plplot which could used in windows? Could you give me some hint on that working? Thank you!! --------------------------------- 雅虎免费邮箱-3.5G容量,20M附件 |