<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://dev1galaxy.org/extern.php?action=feed&amp;tid=3168&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / wxGTK2 versus wxGTK3]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=3168</link>
		<description><![CDATA[The most recent posts in wxGTK2 versus wxGTK3.]]></description>
		<lastBuildDate>Thu, 28 Nov 2019 01:37:15 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: wxGTK2 versus wxGTK3]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=18736#p18736</link>
			<description><![CDATA[<p>My build environment was using gcc-9, which does support the -std=c++2a. I build packages of FreeFileSync for other distros as well, and I know how to patch the program to compile it for -std=c++17 for gcc-8 or lower.</p><p>About the error in my OP, I used to get that exact error when building by hand on my dev box when I had gtk3 and gtk2 installed on Fedora; that&#039;s why I know this exact error about the &quot;error: conflicting declaration ‘typedef struct _GdkDrawable GdkWindow’&quot;.</p>]]></description>
			<author><![CDATA[dummy@example.com (bgstack15)]]></author>
			<pubDate>Thu, 28 Nov 2019 01:37:15 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=18736#p18736</guid>
		</item>
		<item>
			<title><![CDATA[Re: wxGTK2 versus wxGTK3]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=18713#p18713</link>
			<description><![CDATA[<p>If you clear that gtk2//3 hurdle, here&#039;s another</p><div class="codebox"><pre><code>g++ -std=c++2a</code></pre></div><p>which version of gcc is installed? (the installed version may not be able to handle c++2a)</p>]]></description>
			<author><![CDATA[dummy@example.com (xunilog)]]></author>
			<pubDate>Wed, 27 Nov 2019 06:25:55 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=18713#p18713</guid>
		</item>
		<item>
			<title><![CDATA[wxGTK2 versus wxGTK3]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=18625#p18625</link>
			<description><![CDATA[<p>With <a href="https://salsa.debian.org/freewx-team/wx" rel="nofollow">https://salsa.debian.org/freewx-team/wx</a> now producing files for GTK3 only, I am unable to resolve </p><div class="codebox"><pre><code>nothing provides wx3.0-headers = 3.0.4+dfsg-14 needed by libwxgtk3.0-dev
nothing provides libwxbase3.0-dev = 3.0.4+dfsg-14 needed by libwxgtk3.0-dev</code></pre></div><p>The package libwxgtk3.0-dev is no longer produced, because it is now only producing libwxgtk3.0-gtk3-dev. When I install libwxgtk3.0-gtk3-dev and try to compile my dpkg (FreeFileSync) I get this classic error:</p><div class="codebox"><pre><code>make -C FreeFileSync/Source/
make: Entering directory &#039;/usr/src/freefilesync/10.18-1/FreeFileSync/Source&#039;
mkdir -p /tmp/FreeFileSync_Make/ffs/src/base/
g++ -std=c++2a -pipe -DWXINTL_NO_GETTEXT_MACRO -I../.. -I../../zenXml -include &quot;zen/i18n.h&quot; -include &quot;zen/warn_static.h&quot; -Wall -Wfatal-errors -Wmissing-include-dirs -Wswitch-enum -Wcast-align -Wshadow -Wnon-virtual-dtor -O3 -DNDEBUG `wx-config --cxxflags --debug=no` -pthread `pkg-config --cflags openssl` `pkg-config --cflags libcurl` `pkg-config --cflags libssh2` `pkg-config --cflags gtk+-2.0` -isystem/usr/include/gtk-2.0 `pkg-config --cflags libselinux` -DHAVE_SELINUX -c base/algorithm.cpp -o /tmp/FreeFileSync_Make/ffs/src/base/algorithm.cpp.o
In file included from /usr/include/gtk-2.0/gdk/gdkscreen.h:32,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from /usr/include/gtk-2.0/gtk/gtk.h:32,
                 from ../../wx+/dc.h:15,
                 from base/../ui/file_grid_attr.h:12,
                 from base/config.h:13,
                 from base/algorithm.h:11,
                 from base/algorithm.cpp:7:
/usr/include/gtk-2.0/gdk/gdktypes.h:114:39: error: conflicting declaration ‘typedef struct _GdkDrawable GdkWindow’
  114 | typedef struct _GdkDrawable           GdkWindow;
      |                                       ^~~~~~~~~
compilation terminated due to -Wfatal-errors.
make: *** [Makefile:117: /tmp/FreeFileSync_Make/ffs/src/base/algorithm.cpp.o] Error 1
make: Leaving directory &#039;/usr/src/freefilesync/10.18-1/FreeFileSync/Source&#039;</code></pre></div><p>This is a conflict when both gtk2 dev and gtk3 dev packages exist. I am only referencing gtk+-2.0 linking directories, so how is it getting the gtk3 parts? Or how can I get a current gtk2 package on my Devuan box?</p><p>I am also investigating compiling the application with gtk3 but that is considered experimental by the app upstream team.</p>]]></description>
			<author><![CDATA[dummy@example.com (bgstack15)]]></author>
			<pubDate>Thu, 21 Nov 2019 13:59:37 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=18625#p18625</guid>
		</item>
	</channel>
</rss>
