<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>compile issues | Learn C Games Programming Blog</title>
	<atom:link href="https://learncgames.com/tag/compile-issues/feed/" rel="self" type="application/rss+xml" />
	<link>https://learncgames.com</link>
	<description>A blog about C, programming games and my ebook(s).</description>
	<lastBuildDate>Sun, 14 Sep 2025 11:06:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://learncgames.com/wp-content/uploads/2020/03/cropped-favicon-32x32.png</url>
	<title>compile issues | Learn C Games Programming Blog</title>
	<link>https://learncgames.com</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">181446779</site>	<item>
		<title>Fun with Flutter</title>
		<link>https://learncgames.com/fun-with-flutter/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=fun-with-flutter</link>
		
		<dc:creator><![CDATA[David]]></dc:creator>
		<pubDate>Sun, 14 Sep 2025 11:02:23 +0000</pubDate>
				<category><![CDATA[bugs]]></category>
		<category><![CDATA[Flutter]]></category>
		<category><![CDATA[compile issues]]></category>
		<guid isPermaLink="false">https://learncgames.com/?p=3462</guid>

					<description><![CDATA[<p>So I upgraded Flutter to 3.35 and tried building an app for the Web. It failed with a weird error about the js package being deprecated. Errors a bit like this: Target dart2js failed: ProcessException: Process exited abnormally with exit code 1: Error: Couldn&#8217;t resolve the package &#8216;libphonenumber_web&#8217; in &#8216;package:libphonenumber_web/libphonenumber_web.dart&#8217;. .dart_tool/flutter_build/6872c759b3585597f59b4a698a13ca94/web_plugin_registrant.dart:9:8: Error: Not found: &#8216;package:libphonenumber_web/libphonenumber_web.dart&#8217; [&#8230;]</p>
The post <a href="https://learncgames.com/fun-with-flutter/">Fun with Flutter</a> first appeared on <a href="https://learncgames.com">Learn C Games Programming Blog</a>.]]></description>
										<content:encoded><![CDATA[<div class='__iawmlf-post-loop-links' style='display:none;' data-iawmlf-post-links='[{&quot;id&quot;:5,&quot;href&quot;:&quot;https:\/\/blog.flutter.dev\/whats-new-in-flutter-3-35-c58ef72e3766&quot;,&quot;archived_href&quot;:&quot;&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[],&quot;broken&quot;:false,&quot;last_checked&quot;:null,&quot;process&quot;:&quot;done&quot;},{&quot;id&quot;:6,&quot;href&quot;:&quot;https:\/\/docs.flutter.dev\/platform-integration\/web\/wasm&quot;,&quot;archived_href&quot;:&quot;http:\/\/web-wp.archive.org\/web\/20251217223430\/https:\/\/docs.flutter.dev\/platform-integration\/web\/wasm&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[{&quot;date&quot;:&quot;2026-02-06 10:24:24&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-09 23:16:36&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-13 13:32:15&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-16 21:49:05&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-20 06:50:25&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-23 22:40:23&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-27 07:27:51&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-02 09:40:03&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-05 22:07:30&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-09 01:19:40&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-12 02:29:27&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-15 11:41:34&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-18 12:43:56&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-21 15:14:52&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-24 15:19:16&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-27 17:41:17&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-30 19:05:43&quot;,&quot;http_code&quot;:503},{&quot;date&quot;:&quot;2026-04-03 04:42:38&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-06 12:34:39&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-09 13:04:09&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-12 20:07:27&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-16 02:56:02&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-19 08:49:10&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-22 16:05:45&quot;,&quot;http_code&quot;:206}],&quot;broken&quot;:false,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2026-04-22 16:05:45&quot;,&quot;http_code&quot;:206},&quot;process&quot;:&quot;done&quot;}]'></div>
<p>So I <a title="Link to what's new in Flutter 3.35" href="https://blog.flutter.dev/whats-new-in-flutter-3-35-c58ef72e3766" target="_blank" rel="noopener">upgraded Flutter to 3.35</a> and tried building an app for the Web. It failed with a weird error about the <em>js</em> package being deprecated. Errors a bit like this:</p>
<p><em>Target dart2js failed: ProcessException: Process exited abnormally with exit code 1:</em><br />
<em>Error: Couldn&#8217;t resolve the package &#8216;libphonenumber_web&#8217; in &#8216;package:libphonenumber_web/libphonenumber_web.dart&#8217;.</em><br />
<em>.dart_tool/flutter_build/6872c759b3585597f59b4a698a13ca94/web_plugin_registrant.dart:9:8:</em><br />
<em>Error: Not found: &#8216;package:libphonenumber_web/libphonenumber_web.dart&#8217;</em><br />
<em>import &#8216;package:libphonenumber_web/libphonenumber_web.dart&#8217;;</em></p>
<p>I&#8217;d been experimenting with <em>flutter_login</em> package and it was in the projects pubspec.yaml.  I found this out by using this command:</p>
<pre>flutter pub deps</pre>
<p>Which provides a full and detailed tree of all package dependencies. Like this but 260 lines in total!</p>
<p><em>turfwar 1.0.0+1</em><br />
<em>|&#8211; badges 3.1.2</em><br />
<em>| &#8216;&#8211; flutter&#8230;</em><br />
<em>|&#8211; cupertino_icons 1.0.8</em><br />
<em>|&#8211; flutter 0.0.0</em><br />
<em>| |&#8211; characters 1.4.0</em><br />
<em>| |&#8211; collection 1.19.1</em><br />
<em>| |&#8211; material_color_utilities 0.11.1</em><br />
<em>| | &#8216;&#8211; collection&#8230;</em><br />
<em>| |&#8211; meta 1.16.0</em><br />
<em>| |&#8211; sky_engine 0.0.0</em><br />
<em>| &#8216;&#8211; vector_math 2.2.0</em><br />
<em>|&#8211; flutter_lints 6.0.0</em><br />
<em>| &#8216;&#8211; lints 6.0.0</em><br />
<em>|&#8211; flutter_test 0.0.0</em></p>
<p><em>js</em> was used by <em>libphonenumber</em> which was part of <em>flutter_login</em>.  However despite removing that from pubspec.yaml and removing the package files, the <em>flutter build web</em> command was still complaining about it.</p>
<p>The trick to solving that is just to delete the <em>.dart_tool </em>folder. It&#8217;s regenerated by the flutter build command so is safe to delete.</p>
<p><img fetchpriority="high" decoding="async" class="alignleft size-full wp-image-3463" src="https://learncgames.com/wp-content/uploads/2025/09/flutter_project.png" alt="Flutter project screenshot" width="468" height="223" srcset="https://learncgames.com/wp-content/uploads/2025/09/flutter_project.png 468w, https://learncgames.com/wp-content/uploads/2025/09/flutter_project-300x143.png 300w" sizes="(max-width: 468px) 100vw, 468px" /></p>
<p>There&#8217;s a new feature now, you can add <em>&#8211;wasm</em> on the end of the <em>flutter build web</em> command to have it use wasm. More on this official <a title="Link to flutter web with wasm page" href="https://docs.flutter.dev/platform-integration/web/wasm" target="_blank" rel="noopener">flutter wasm page</a> which includes a link to a neat demo project called <strong>wonderous </strong>that is worth a look; the source to that is available on GitHub as well..</p>The post <a href="https://learncgames.com/fun-with-flutter/">Fun with Flutter</a> first appeared on <a href="https://learncgames.com">Learn C Games Programming Blog</a>.]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">3462</post-id>	</item>
	</channel>
</rss>
