I think I have found a bug with our current cmake build system. For link 
flags cmake now (with cmake 2.6.3 at least) adds a tag describing which 
type of build this link flag is for. E.g. 
plpotf77cd_LIB_DEPENDS:STATIC=general;plplotd;

On the whole we seem to handle the general tag correctly, although I can't 
see where this happens in plplot.

For the qt drivers we get different libraries depending on the build type, 
e.g. qt_LIB_DEPENDS contains 
;debug;/usr/lib/libQtSvg.so;optimized;/usr/lib/libQtSvg;

This doesn't seem to cause any problems for the build, but if you look in 
pkgcfg/plplotd-qt.pc then debug and optimized appear in the libs list. This
causes a build of the examples in the install tree to fail for anything 
which uses pkg-config plplotd-qt. Normally this does not show up 
(plplotd-qt.pc is not used). The problem becomes much more serious if you 
try and do a build with ENABLE_DYNDRIVERS=OFF, because then all the driver 
library dependencies end up in plplotd.pc, and so any plplot build using 
pkg-config will fail.

Alan, I don't fully understand all the cmake logic involved here. Can you 
replicate this problem, and can you check to see if it is a problem with 
our code. I can't see why general gets stripped out, but not optimized or 
debug. 

Thanks

Andrew
 

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Plplot-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to