From: Arjen M. <arj...@wl...> - 2006-08-06 06:33:01
|
> 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? Did you compile PLplot with vc++? Or did CMake use gcc instead? It may also be part of the rules in the current CMake build system, that the libraries are named in this - to Windows - odd fashion. > > 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? > > I am currently looking at CMake myself for Windows, but for some reason I can not log on to the CVS server to get the latest sources. ("Permission denied, please try again" - my account seems to have changed). So, I can not yet help you there. Regards, Arjen |