Re: Error building for Windows with CMake

Tom Tanner via Pan-users <[email protected]> Sun, 10 Nov 2024 18:57:26 +0000
Newsgroups gmane.comp.gnome.apps.pan.user
Message-ID <[email protected]>
On 10/11/2024 17:30, Tom Tanner via Pan-users 
wrote:/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 

and you need to add this to pan/CMakeLists.txt at line 250 or so (before 
the installation section)

if(WIN32)
   target_link_libraries(pan ws2_32)
endif()

Will prepare a PR to sort both these properly (the 2nd one is easy, the 
first one not quite so)

_______________________________________________
Pan-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/pan-users