Hi
I want to use only the clipboard on win/mac/linux.
http://docs.wxwidgets.org/trunk/classwx_clipboard.html
But after including the header and sample code I get:
home/michael/Downloads/wxWidgets-3.0.2/include/wx/defs.h:46:13: error: #error "No Target! You should use wx-config program for compilation flags!"
Ubuntu/Eclipse
What to do? Thanks
--------
michael@michael-ubuntu:~/Downloads/wxWidgets-3.0.2$ wx-config --list
Default config is gtk2-unicode-3.0
Default config will be used for output
Alternate matches:
base-unicode-3.0
michael@michael-ubuntu:~/Downloads/wxWidgets-3.0.2$ wx-config --libs all
-L/usr/lib/x86_64-linux-gnu -pthread -lwx_gtk2u_xrc-3.0 -lwx_gtk2u_webview-3.0 -lwx_gtk2u_stc-3.0 -lwx_gtk2u_richtext-3.0 -lwx_gtk2u_ribbon-3.0 -lwx_gtk2u_propgrid-3.0 -lwx_gtk2u_aui-3.0 -lwx_gtk2u_gl-3.0 -lwx_gtk2u_media-3.0 -lwx_gtk2u_html-3.0 -lwx_gtk2u_qa-3.0 -lwx_gtk2u_adv-3.0 -lwx_gtk2u_core-3.0 -lwx_baseu_xml-3.0 -lwx_baseu_net-3.0 -lwx_baseu-3.0
michael@michael-ubuntu:~/Downloads/wxWidgets-3.0.2$ wx-config --libs
-L/usr/lib/x86_64-linux-gnu -pthread -lwx_gtk2u_xrc-3.0 -lwx_gtk2u_html-3.0 -lwx_gtk2u_qa-3.0 -lwx_gtk2u_adv-3.0 -lwx_gtk2u_core-3.0 -lwx_baseu_xml-3.0 -lwx_baseu_net-3.0 -lwx_baseu-3.0
michael@michael-ubuntu:~/Downloads/wxWidgets-3.0.2$
No Target!
Re: No Target!
ok got it compiled but now I get:
'GDK_IS_SCREEN (screen)' failed
can i use the clipboard with my opengl app or how to use that?
Thanks
'GDK_IS_SCREEN (screen)' failed
can i use the clipboard with my opengl app or how to use that?
Thanks