FLTK logo

RE: [fltk.general] Build windows msys2 - [General Use]

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.general  ]
 
Previous Message ]New Message | Reply ]Next Message ]

RE: Build windows msys2 - [General Use] "'MacArthur, Ian (Leonardo, UK)' via fltk.general" Mar 11, 2021  
 
> I'm trying to build fltk on a windows machine with msys2 and mingw64.
> When I run ./configure, it stops on error : cannot find requested X11 libs.

> I used pacman to install mingw-...-tk tools which install what I supposed the configure needed, but it still fails.

> What is missing and how can I install it ?

What version of fltk are you using? (And, I suppose, where did you obtain it?)

What version of mingw64 are you using? 
Fltk for Windows will target the native Windows API, so should NOT be referencing X11 at all - but there are *some* versions of mingw64 that are "Cygwin-like" and will call in X11, so you may conceivably have the "wrong" mingw! 
Do you have the w32 API files installed correctly for your compiler to use?
Does it work for other compilation tasks correctly?

The relevant readme file in fltk-1.4 is README.Windows.txt; have you read through that? Did it help?
(I think that was README.MSWindows.txt in fltk-1.3, but I suspect that is somewhat dated now..!)

With a working mingw64 installation, in an Msys2 shell, the "./configure" should Just Work when building fltk, so there may be something wrong with your build environment.





Leonardo MW Ltd
Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 3EL
A company registered in England & Wales.  Company no. 02426132
********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************

-- 
You received this message because you are subscribed to the Google Groups "fltk.general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkgeneral+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkgeneral/707e636c494149bf92ce90e36c3b74f9%40leonardocompany.com.
Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.