Hello, I noticed that plplot build supported optionally appending a suffix to all the libraries being built via the setting of LIB_TAG option. This seemed to be exactly what I needed to make it possible to use both debug and release builds of it at the same time (and looking at the archives, this seems to be exactly what it was added for). However it simply doesn't work for me: if I use (many more options omitted but they don't matter)
cmake -G "NMake Makefiles" -DLIB_TAG=_debug_ ..
I get plenty of warnings about inconsistent DLL linkage as well as this
error:
plplot\include\plcore.h(93) : error C2491: 'plsc' : definition of dllimport
data not allowed
I have really hard time understanding anything in cmake-generated
makefiles (this system was clearly never meant to be understandable by
human beings...) but it seems that the source of the problem is that in
various flags.make files -Dplplotcxx_debug_d_EXPORTS is used instead of
-Dplplotcxxd_EXPORTS. Unfortunately I don't know what would be the right
way to fix this (and I could be wrong about the problem being due to this
anyhow).
Thanks in advance for any help, it would be really great to have this
working!
VZ
P.S. It would be also nice if LIB_TAG setting actually overrode the "d"
suffix added when using "double" or if the user-specified value were
at least appended and not prepended to it as the current schema
results in rather unreadable names like "plplotdd.dll" if you just
naively use LIB_TAG="d" for the debug build as I originally did.
pgp3jAZguCOVh.pgp
Description: PGP signature
------------------------------------------------------------------------------ Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________ Plplot-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/plplot-devel
