FLTK logo

[fltk.general] Undefined Reference - on.. well, just about everything

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

Undefined Reference - on.. well, just about everything Roger Tunnicliffe Oct 31, 2025  
  Hi,
Hope someone can help, I'm sure this is a simple one..
I have downloaded and installed version 1.4.4 and have the statically linked files here...

roger@UPSTAIRS-LENOVO:~/_dev1/source/freeBASIC/_FLTK$ ls -la
-rw-r--r--  1 roger roger 4154580 Oct 31 12:00 libfltk.a
-rw-r--r--  1 roger roger    1488 Oct 31 11:36 libfltk_cairo.a
-rw-r--r--  1 roger roger   57554 Oct 31 12:00 libfltk_forms.a
-rw-r--r--  1 roger roger  523300 Oct 31 12:00 libfltk_gl.a
-rw-r--r--  1 roger roger  376384 Oct 31 12:00 libfltk_images.a
-rw-r--r--  1 roger roger  359924 Oct 31 11:35 libfltk_jpeg.a

I have downloaded an example program for freeBasic here...

' freeBASIC will look for libfltk.a when you code fltk'
#libpath "/home/roger/_dev1/source/freeBASIC/_FLTK/"
#inclib "fltk"
#inclib "fltk_cairo"
#inclib "fltk_forms"
#inclib "fltk_gl"
#inclib "fltk_images"
#inclib "fltk_jpeg"
#include once "_FLTK/Fl_Window.bi"
#include once "_FLTK/Fl_Button.bi"

dim w as Fl_Window = Fl_Window(940,380,"Window")
  dim b as Fl_button = Fl_button(10,30,150,30,"This is a button")
w.end_()
w.show
fl.run_

but with a compile (fbc fltk.bas) I am getting hundreds and hundreds of Undefined Reference errors:- Here's one of them

ld: /home/roger/_dev1/source/freeBASIC/_FLTK/libfltk.a(xdg-shell-protocol.o):(.data.rel.xdg_shell_types+0x60): undefined reference to `wl_seat_interface'

I am sure this is a simple setup error but I wonder if someone could point me in the right direction. 
Many Thx
Roger

--
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 visit https://groups.google.com/d/msgid/fltkgeneral/1f9d5cfe-b360-461d-8b2d-ffaa75856ae7n%40googlegroups.com.
[ Direct Link to Message ]
 
     
[ Previous Message ] [ New Message | Reply ] [ Next Message ]
 
 

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