On 2014-07-11 10:45-0700 Alan W. Irwin wrote:

> Once, smokegen has done its stuff, then those generated *.cpp files
> are processed using the following include directories:
>     ${CMAKE_CURRENT_SOURCE_DIR}
>     ${CMAKE_SOURCE_DIR}/include
>     ${CMAKE_SOURCE_DIR}/lib/qsastime
>     ${CMAKE_SOURCE_DIR}/lib/nistcd
>     ${CMAKE_SOURCE_DIR}/drivers
>     ${CMAKE_BINARY_DIR}
>     ${CMAKE_BINARY_DIR}/include
>
> Shouldn't the -I option(s) on the smokegen command include all of those
> directories as well?

Hi Hazen:

To take up this old topic again, the above speculation turned out to be the 
issue which
was extremely easy to fix (commits 022a53b and b6e9afe).

To test this build fix for yourself, use the cmake option
-DENABLE_smoke=ON (which I currently have defaulted to OFF for the
build system since this smoke binding should be considered
experimental until we install at least one run-time test, see below).

Then run

make VERBOSE=1 smokeplplotqt >& smokeplplotqt.out

and all should be well (at least it was for me).

One test I did was

ldd -r bindings/qt_gui/smoke/libsmokeplplotqt.so 2>&1 |less

which showed no undefined symbols.  (Without commit b6e9afe there
are such undefined symbols).

Please follow up by pushing at least one example that uses this smoke
binding of libplplotqt so we have a test that this binding actually
works at run time.

Alan
__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state
implementation for stellar interiors (freeeos.sf.net); the Time
Ephemerides project (timeephem.sf.net); PLplot scientific plotting
software package (plplot.sf.net); the libLASi project
(unifont.org/lasi); the Loads of Linux Links project (loll.sf.net);
and the Linux Brochure Project (lbproject.sf.net).
__________________________

Linux-powered Science
__________________________

------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to