Alan W. Irwin wrote:

> Could you also confirm you are using ENABLE_DYNDRIVERS=OFF?  (I think
> that result will happen by default since libltdl is not readily
> available on Windows.  You should get a WARNING message from cmake
> about that.)

Yes, In the static build cmake says
"WARNING: Shared libraries not built. Setting ENABLE_DYNDRIVERS OFF."
, in the shared build it says
"WARNING: libltdl library not found. Setting ENABLE_DYNDRIVERS OFF."
.


> On 2008-10-08 11:31+0200 Robert Pollak wrote:
> 
>> A build with BUILD_SHARED_LIBS=ON gets problems at the same
>> location (in unmodified rev8861):
> 
> What happens for revision 8864 for the BUILD_SHARED_LIBS=ON case?

Everything builds and the examples run. (I only tested some with svg.)

(Btw, the library names do not differ between Debug and Release build:
plplotd.*, plplotcxxd.*, csirocsa.*. So the "d" ending is misleading.)


>> [...]Further investigation shows that MAKINGPLDLL is not defined
>> when compiling hpgl.c.
>
> For the ENABLE_DYNDRIVERS=OFF case, the drivers are built as part of
> the source for libplplotd and MAKINGPLDLL should be defined for that
> library build (see src/CMakeLists.txt).  Thus, I am puzzled how you
> got the above result with MAKINGPLDLL not defined.

I still see MAKINGPLDLL and USINGPLDLL undefined in hpgl.c (with the
following patch), but this seems to be ok, since the examples run.
(Isn't devel/CMakeLists.txt the responsible file? But all of it is in an
"if(ENABLE_DYNDRIVERS)" block.)

========= begin patch ========
Index: D:/project/PLPlot/drivers/hpgl.c
===================================================================
--- D:/project/PLPlot/drivers/hpgl.c    (revision 8864)
+++ D:/project/PLPlot/drivers/hpgl.c    (working copy)
@@ -36,6 +36,14 @@
 #include <string.h>
 #include "drivers.h"

+#ifndef MAKINGPLDLL
+  #pragma message ("MAKINGPLDLL undefined")
+#endif
+
+#ifndef USINGPLDLL
+  #pragma message ("USINGPLDLL undefined")
+#endif
+
 /* Device info */
 PLDLLEXPORT const char* plD_DEVICE_INFO_hpgl =
 #if defined(PLD_hp7470)
========= end patch ==========

> Thanks, again, Robert, for your bug reports.
Well, let _me_ thank you for your support!

-- Robert

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to