pan-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Pan-users] Error building for Windows with CMake


From: Tom Tanner
Subject: Re: [Pan-users] Error building for Windows with CMake
Date: Sun, 10 Nov 2024 17:30:26 +0000
User-agent: Betterbird (Windows)

On 06/11/2024 05:13, Nate Bizzle wrote:
Does anyone have any information about what may be causing this error please? Keen to complete the build for Windows so I can test out Pan.

Cheers,
Nath 

On Wed, Oct 30, 2024 at 2:38 PM Nate Bizzle <natebizzlereg@gmail.com> wrote:
Hey Tom,

Yep, using MINGW64 through MSYS64 which is how I installed all the dependencies.
I did follow the standard build instructions from the readme, this is entirely new to me so wouldn't have known how to get this far without it.


Cheers,
Nath

On Tue, Oct 29, 2024 at 7:34 AM Tom Tanner <thosrtanner58@yahoo.co.uk> wrote:
On 27/10/2024 08:04, Nate Bizzle wrote:
> Hi all,
>
> I'm getting an error trying to build Pan for Windows with CMake. I
> have no prior experience with coding or compiling any software builds,
> so I'm a complete newbie. After much trial and error, I finally got
> all the files and dependencies to get CMake working, but could only
> get as far as this error after the "cmake --build std-build -j 8 "
> command -
>
> [162/176] Building RC object CMakeFiles/pan.dir/pan/gui/panrc.rc.obj
> FAILED: CMakeFiles/pan.dir/pan/gui/panrc.rc.obj
> C:\msys64\mingw64\bin\windres.exe -O coff
> -DGLIB_VERSION_MAX_ALLOWED=G_ENCODE_VERSION(2,36)
> -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_26 -DHAVE_CONFIG_H
> -DPANLOCALEDIR=\"\" -DPROTOTYPES -DWIN32_LEAN_AND_MEAN -I C:/Pan -I
> C:/Pan/std-build -I C:/msys64/mingw64/include/gspell-1 -I
> C:/msys64/mingw64/include/enchant-2 -I C:/msys64/mingw64/include -I
> C:/msys64/mingw64/include/gtk-3.0 -I
> C:/msys64/mingw64/include/pango-1.0 -I
> C:/msys64/mingw64/include/harfbuzz -I C:/msys64/mingw64/include/cairo
> -I C:/msys64/mingw64/include/freetype2 -I
> C:/msys64/mingw64/include/pixman-1 -I
> C:/msys64/mingw64/include/gdk-pixbuf-2.0 -I
> C:/msys64/mingw64/include/libpng16 -I C:/msys64/mingw64/include/webp
> -I C:/msys64/mingw64/include/atk-1.0 -I
> C:/msys64/mingw64/include/fribidi -I
> C:/msys64/mingw64/include/glib-2.0 -I
> C:/msys64/mingw64/lib/glib-2.0/include -I
> C:/msys64/mingw64/include/gmime-3.0 -I
> C:/msys64/mingw64/include/p11-kit-1
> -IC:/msys64/mingw64/include/gspell-1
> -IC:/msys64/mingw64/include/gtk-3.0
> -IC:/msys64/mingw64/include/pango-1.0 -IC:/msys64/mingw64/include
> -IC:/msys64/mingw64/include/harfbuzz -IC:/msys64/mingw64/include/cairo
> -IC:/msys64/mingw64/include/freetype2
> -IC:/msys64/mingw64/include/pixman-1
> -IC:/msys64/mingw64/include/gdk-pixbuf-2.0
> -IC:/msys64/mingw64/include/libpng16 -IC:/msys64/mingw64/include/webp
> -DLIBDEFLATE_DLL -IC:/msys64/mingw64/include/atk-1.0
> -IC:/msys64/mingw64/include/fribidi
> -IC:/msys64/mingw64/include/enchant-2
> -IC:/msys64/mingw64/include/glib-2.0
> -IC:/msys64/mingw64/lib/glib-2.0/include C:/Pan/pan/gui/panrc.rc
> CMakeFiles/pan.dir/pan/gui/panrc.rc.obj
> C:\msys64\mingw64\bin\windres.exe: C:/Pan/pan/gui/panrc.rc:12: syntax
> error
>
> The build keeps running but exits with the message "ninja: build
> stopped: subcommand failed."
>
> Any help would be greatly appreciated.
>
> Cheers!
>
> _______________________________________________
> Pan-users mailing list
> Pan-users@nongnu.org
> https://lists.nongnu.org/mailman/listinfo/pan-users

I *thought* that had been fixed as I did a bit of fiddling to make the
build work under msys64 (which I presume you're using - there's a readme
file for building for windows in the source which I guess you've
followed?). I'll see if I can spot anything obvious.


_______________________________________________
Pan-users mailing list
Pan-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/pan-users

*sigh* I hacked panrc.rc to make the FILEINFO and PRODUCTVERSION lines to both use 0,161,0,0 rather than the variables (not sure where they went), and now it fails unable to find __imp_gethostbyname.  that sounds like I need to update my msys2 version - will report back later


reply via email to

[Prev in Thread] Current Thread [Next in Thread]