<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Configuration_of_wxWidgets_driver</title><link>https://sourceforge.net/p/plplot/wiki/Configuration_of_wxWidgets_driver/</link><description>Recent changes to Configuration_of_wxWidgets_driver</description><atom:link href="https://sourceforge.net/p/plplot/wiki/Configuration_of_wxWidgets_driver/feed" rel="self"/><language>en</language><lastBuildDate>Thu, 01 Nov 2018 22:01:11 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/plplot/wiki/Configuration_of_wxWidgets_driver/feed" rel="self" type="application/rss+xml"/><item><title>Configuration_of_wxWidgets_driver modified by Alan W. Irwin</title><link>https://sourceforge.net/p/plplot/wiki/Configuration_of_wxWidgets_driver/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v4
+++ v5
@@ -1,3 +1,15 @@
+
+
 CMake Options
 -------------

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alan W. Irwin</dc:creator><pubDate>Thu, 01 Nov 2018 22:01:11 -0000</pubDate><guid>https://sourceforge.neted741a488ce75b4ad474670db9ff4a7bbd8d94c3</guid></item><item><title>Configuration_of_wxWidgets_driver modified by Alan W. Irwin</title><link>https://sourceforge.net/p/plplot/wiki/Configuration_of_wxWidgets_driver/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alan W. Irwin</dc:creator><pubDate>Sun, 05 Oct 2014 19:05:08 -0000</pubDate><guid>https://sourceforge.net76f67a84eb22a85f26492384cd355c7d1ec49b3b</guid></item><item><title>Configuration_of_wxWidgets_driver modified by Alan W. Irwin</title><link>https://sourceforge.net/p/plplot/wiki/Configuration_of_wxWidgets_driver/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alan W. Irwin</dc:creator><pubDate>Thu, 02 Oct 2014 00:09:26 -0000</pubDate><guid>https://sourceforge.neta85341da24d9ad3b9f9fa1ea53bc04d7f7402d18</guid></item><item><title>Configuration_of_wxWidgets_driver modified by Alan W. Irwin</title><link>https://sourceforge.net/p/plplot/wiki/Configuration_of_wxWidgets_driver/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v1
+++ v2
@@ -46,9 +46,9 @@

 The wxwidgets driver provides antialzing support, which can be turned on with the option antialized=1.

-Output of example 1 with antializing OFF: ![non antialized](non_antialized.png "fig:non antialized")
+Output of example 1 with antializing OFF: [[img src=Non_antialized.png]]

-Output of example 1 with antializing ON: ![antialized](antialized.png "fig:antialized")
+Output of example 1 with antializing ON: [[img src=Antialized.png]]

 The content of this page is available under the [GNU Free Documentation License 1.2](http://www.gnu.org/copyleft/fdl.html).
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alan W. Irwin</dc:creator><pubDate>Wed, 01 Oct 2014 23:27:52 -0000</pubDate><guid>https://sourceforge.netc93f38954e7fb01f84cb80c59244309a6fd7ff5f</guid></item><item><title>Configuration_of_wxWidgets_driver modified by Alan W. Irwin</title><link>https://sourceforge.net/p/plplot/wiki/Configuration_of_wxWidgets_driver/</link><description>&lt;div class="markdown_content"&gt;&lt;h2 id="cmake-options"&gt;CMake Options&lt;/h2&gt;
&lt;p&gt;The following options let you specify to the CMake build system what options you used to compile your wxWidgets libraries:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;tt&gt;-DwxWidgets_LIB_DIR=%WXWIN%\lib\gcc_lib&lt;/tt&gt;: correct for your wxWidgets root directory and static vs. dynamic libraries&lt;/li&gt;
&lt;li&gt;&lt;tt&gt;-DwxWidgets_CONFIGURATION=mswu&lt;/tt&gt;: msw -&amp;gt; MicroSoft Windows; u -&amp;gt; Unicode; d -&amp;gt; Debug&lt;/li&gt;
&lt;li&gt;&lt;tt&gt;-DwxWidgets_MONOLITHIC=ON&lt;/tt&gt;: monolithic as opposed to individual libraries&lt;/li&gt;
&lt;li&gt;&lt;tt&gt;-DwxWidgets_USE_UNICODE=ON&lt;/tt&gt;: compiled with Unicode support&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;For more options refer to FindwxWidgets.cmake in your CMake installation.&lt;/p&gt;
&lt;p&gt;More may be required for a successful Unicode build. Depending, incorrect Unicode configuration may result in errors during PLplot compilation or may not show up until later when compiling your actual application. Example errors are as follows:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;[ 60%] Building CXX object bindings/wxwidgets/CMakeFiles/plplotwxwidgetsd.dir/wx&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;PLplotwindow.obj&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;Linking CXX shared library ..\..\dll\libplplotwxwidgetsd.dll&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;Creating library file: ..\..\dll\libplplotwxwidgetsd.dll.a&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;CMakeFiles\plplotwxwidgetsd.dir\wxPLplotwindow.obj:wxPLplotwindow.cpp:(.text$_ZN&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;12wxStringBaseC2EPKc[wxStringBase::wxStringBase(char const*)]+0x27): undefined r&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;eference to `_imp___ZN12wxStringBase8InitWithEPKcjj'&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;collect2: ld returned 1 exit status&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;D:\Projects\wxWidgetsTest\Libraries\plplot-5.9.2\buildmingw\install\lib/libplplotd.a(wxwidgets.obj):wxwidgets.cpp:(.text+0xd2a):&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;undefined reference to `wxStringBase::InitWith(char const*, unsigned&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;int, unsigned int)'&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;D:\Projects\wxWidgetsTest\Libraries\plplot-5.9.2\buildmingw\install\lib/libplplotd.a(wxwidgets.obj):wxwidgets.cpp:(.text+0xd6e):&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;undefined reference to `wxStringBase::InitWith(char const*, unsigned&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;int, unsigned int)'&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;- followed by a bunch more undefined references&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Note that in both cases the errors do not specify a Unicode error but are string or character related. The follow was mentioned on the maillist and worked for me:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;This is due a bug FindwxWidgets.cmake, either add&lt;/code&gt;&lt;br /&gt;
\
&lt;code&gt;add_definitions(-D_UNICODE)&lt;/code&gt;&lt;br /&gt;
\
&lt;code&gt;to CMakeLists.txt in the plplot main file. Or look for wxUNICODE in gcc_dll/mswu/setup.h&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;(or similar) and set it to 1. This flag is always 0 even if you compiled wxWidgets with&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;UNICODE=1, you have to do it on your own, or set the _UNICODE flag on the command line.&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;If this still doesn't work (it didn't seem to have any effect for me), try editing the file flags.make in bindings/wxwidgets/CMakeFiles/plplotwxwidgetsd.dir and add &lt;tt&gt;/D_UNICODE /DUNICODE&lt;/tt&gt; to the definition of &lt;tt&gt;CXX_FLAGS&lt;/tt&gt; there.&lt;/p&gt;
&lt;h2 id="antialiasing"&gt;Antialiasing&lt;/h2&gt;
&lt;p&gt;The wxwidgets driver provides antialzing support, which can be turned on with the option antialized=1.&lt;/p&gt;
&lt;p&gt;Output of example 1 with antializing OFF: &lt;img alt="non antialized" src="../non_antialized.png" title="fig:non antialized" /&gt;&lt;/p&gt;
&lt;p&gt;Output of example 1 with antializing ON: &lt;img alt="antialized" src="../antialized.png" title="fig:antialized" /&gt;&lt;/p&gt;
&lt;p&gt;The content of this page is available under the &lt;a class="" href="http://www.gnu.org/copyleft/fdl.html" rel="nofollow"&gt;GNU Free Documentation License 1.2&lt;/a&gt;.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alan W. Irwin</dc:creator><pubDate>Wed, 01 Oct 2014 22:48:22 -0000</pubDate><guid>https://sourceforge.net6632a4a47bb96b069dc35834372397824ea9b7ad</guid></item></channel></rss>