I should not that these are with the installed examples:

/usr/bin/c++ wxPLplotDemo.cpp -o wxPLplotDemo  -D_FILE_OFFSET_BITS=64
-D_LARGE_FILES -D__WXGTK__ -I/usr/include/plplot
-I/usr/lib64/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8
-I/usr/include/plplot -lplplotwxwidgets
wxPLplotDemo.cpp:138:1: warning: ‘virtual wxLog*
wxAppConsole::CreateLogTarget()’ is deprecated [-Wdeprecated-declarations]
 }
 ^
In file included from /usr/include/wx-2.8/wx/wxprec.h:13:0,
                 from wxPLplotDemo.cpp:22:
/usr/include/wx-2.8/wx/app.h:184:34: note: declared here
     wxDEPRECATED( virtual wxLog *CreateLogTarget() );
                                  ^
/usr/include/wx-2.8/wx/defs.h:513:29: note: in definition of macro 
‘wxDEPRECATED’
     #define wxDEPRECATED(x) x __attribute__ ((deprecated))
                             ^
wxPLplotDemo.cpp:138:1: warning: ‘virtual wxMessageOutput*
wxAppConsole::CreateMessageOutput()’ is deprecated [-Wdeprecated-declarations]
 }
 ^
In file included from /usr/include/wx-2.8/wx/wxprec.h:13:0,
                 from wxPLplotDemo.cpp:22:
/usr/include/wx-2.8/wx/app.h:189:44: note: declared here
     wxDEPRECATED( virtual wxMessageOutput *CreateMessageOutput() );
                                            ^
/usr/include/wx-2.8/wx/defs.h:513:29: note: in definition of macro 
‘wxDEPRECATED’
     #define wxDEPRECATED(x) x __attribute__ ((deprecated))
                             ^
wxPLplotDemo.cpp:138:1: warning: ‘virtual void
wxWindowBase::SetInitialBestSize(const wxSize&)’ is deprecated
[-Wdeprecated-declarations]
 }
 ^
In file included from /usr/include/wx-2.8/wx/wx.h:36:0,
                 from wxPLplotDemo.cpp:29:
/usr/include/wx-2.8/wx/window.h:1453:13: note: declared here
 inline void wxWindowBase::SetInitialBestSize(const wxSize& size)
             ^
wxPLplotDemo.cpp:138:1: warning: ‘virtual void
wxWindowBase::SetInitialBestSize(const wxSize&)’ is deprecated
[-Wdeprecated-declarations]
 }
 ^
In file included from /usr/include/wx-2.8/wx/wx.h:36:0,
                 from wxPLplotDemo.cpp:29:
/usr/include/wx-2.8/wx/window.h:1453:13: note: declared here
 inline void wxWindowBase::SetInitialBestSize(const wxSize& size)
             ^
wxPLplotDemo.cpp:138:1: warning: ‘virtual void
wxWindowBase::SetInitialBestSize(const wxSize&)’ is deprecated
[-Wdeprecated-declarations]
 }
 ^
In file included from /usr/include/wx-2.8/wx/wx.h:36:0,
                 from wxPLplotDemo.cpp:29:
/usr/include/wx-2.8/wx/window.h:1453:13: note: declared here
 inline void wxWindowBase::SetInitialBestSize(const wxSize& size)
             ^
wxPLplotDemo.cpp:138:1: warning: ‘virtual void
wxWindowBase::SetInitialBestSize(const wxSize&)’ is deprecated
[-Wdeprecated-declarations]
 }
 ^
In file included from /usr/include/wx-2.8/wx/wx.h:36:0,
                 from wxPLplotDemo.cpp:29:
/usr/include/wx-2.8/wx/window.h:1453:13: note: declared here
 inline void wxWindowBase::SetInitialBestSize(const wxSize& size)
             ^
wxPLplotDemo.cpp:138:1: warning: ‘virtual void
wxWindowBase::SetInitialBestSize(const wxSize&)’ is deprecated
[-Wdeprecated-declarations]
 }
 ^
In file included from /usr/include/wx-2.8/wx/wx.h:36:0,
                 from wxPLplotDemo.cpp:29:
/usr/include/wx-2.8/wx/window.h:1453:13: note: declared here
 inline void wxWindowBase::SetInitialBestSize(const wxSize& size)
             ^
wxPLplotDemo.cpp:138:1: warning: ‘virtual void
wxWindowBase::SetInitialBestSize(const wxSize&)’ is deprecated
[-Wdeprecated-declarations]
 }
 ^
In file included from /usr/include/wx-2.8/wx/wx.h:36:0,
                 from wxPLplotDemo.cpp:29:
/usr/include/wx-2.8/wx/window.h:1453:13: note: declared here
 inline void wxWindowBase::SetInitialBestSize(const wxSize& size)
             ^
wxPLplotDemo.cpp:138:1: warning: ‘virtual void
wxWindowBase::SetInitialBestSize(const wxSize&)’ is deprecated
[-Wdeprecated-declarations]
 }
 ^
In file included from /usr/include/wx-2.8/wx/wx.h:36:0,
                 from wxPLplotDemo.cpp:29:
/usr/include/wx-2.8/wx/window.h:1453:13: note: declared here
 inline void wxWindowBase::SetInitialBestSize(const wxSize& size)
             ^
wxPLplotDemo.cpp:138:1: warning: ‘virtual void
wxWindowBase::SetInitialBestSize(const wxSize&)’ is deprecated
[-Wdeprecated-declarations]
 }
 ^
In file included from /usr/include/wx-2.8/wx/wx.h:36:0,
                 from wxPLplotDemo.cpp:29:
/usr/include/wx-2.8/wx/window.h:1453:13: note: declared here
 inline void wxWindowBase::SetInitialBestSize(const wxSize& size)
             ^
wxPLplotDemo.cpp:138:1: warning: ‘virtual void
wxWindowBase::SetInitialBestSize(const wxSize&)’ is deprecated
[-Wdeprecated-declarations]
 }
 ^
In file included from /usr/include/wx-2.8/wx/wx.h:36:0,
                 from wxPLplotDemo.cpp:29:
/usr/include/wx-2.8/wx/window.h:1453:13: note: declared here
 inline void wxWindowBase::SetInitialBestSize(const wxSize& size)
             ^
wxPLplotDemo.cpp:138:1: warning: ‘virtual void
wxWindowBase::SetInitialBestSize(const wxSize&)’ is deprecated
[-Wdeprecated-declarations]
 }
 ^
In file included from /usr/include/wx-2.8/wx/wx.h:36:0,
                 from wxPLplotDemo.cpp:29:
/usr/include/wx-2.8/wx/window.h:1453:13: note: declared here
 inline void wxWindowBase::SetInitialBestSize(const wxSize& size)
             ^
/usr/bin/ld: /tmp/ccH0vhU9.o: undefined reference to symbol
'_ZN8plstream4lineEiPKdS1_'
/usr/lib64/libplplotcxx.so.12: error adding symbols: DSO missing from command 
line
collect2: error: ld returned 1 exit status
Makefile:81: recipe for target 'wxPLplotDemo' failed

So it looks like something in either the wxPLplotDemo.cpp file or its includes
references the '_ZN8plstream4lineEiPKdS1_' symbol and so needs to be linked
with -lplplotcxx.  If it is wxPLplotDemo.cpp, then it should be added to the
Makefile like my other example.  If it the includes and so all
plplot-wxwidgets users need it, it should be added to the pkg-config output:

# pkg-config  --cflags --libs plplot-wxwidgets
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -I/usr/include/plplot
-I/usr/lib64/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8
-I/usr/include/plplot -lplplotwxwidgets


-- 
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA, Boulder/CoRA Office             FAX: 303-415-9702
3380 Mitchell Lane                       or...@nwra.com
Boulder, CO 80301                   http://www.nwra.com

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to