Alan,

I've finally got time to rerun my comnprehensive tests with Ubuntu 14.10
and try to debug the niggle issues I encountered with the static build

(My only change from last time is that I've had to build cmake from source
to get a new enough version - I'm using 3.2.2)

1) Warnings about conversion from string constant to char *. This is now
fixed by making pl_MenuStr and pl_DevName const char * not char *. These
variables are constant so the change should have no effect other than to
silence the warning.

2) The code in src/CMakeFiles to find the stdc++ library doesn't work for
me. The comments suggest that g++ returns a semicolon delimited list of
paths, which is just like a cmake list so no manipulation is needed. At
least on my system it is actually colon separated. Replacing the colons
with semicolons fixes the problem and ensures the correct linkage options
for pkg-config, and hence the traditional examples build. I've not
commited this fix, since it might upset other people. In particularly on
windows the colon may be used for drive letters? Can others check
what g++ returns to check that a simple replacement of colons with
semicolons wouldn't break anything? Try g++ --verbose --version and look
at what LIBRARY_PATH is set to. 

3) I also get the following errors

/usr/bin/ld: 
/home/andrew/software/plplot/comprehensive_test_disposeable/static/install_tree/lib/libplplot.a(wxwidgets_comms.cpp.o):
 undefined reference to symbol 'shm_unlink@@GLIBC_2.2.5'
/lib/x86_64-linux-gnu/librt.so.1: error adding symbols: DSO missing from 
command line
collect2: error: ld returned 1 exit status
Makefile:103: recipe for target 'x00c' failed
make[1]: *** [x00c] Error 1

which I think are probably due to librt not being linked explicitly? Alan
- I'm not quite sure where this needs fixing. Can you reproduce this on
Debian?

Regards

Andrew


------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to