FLTK logo

Re: [fltk.general] Re: Font problem with new build

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: Re: Font problem with new build "'pvrose' via fltk.general" 05:03 Apr 16  
 

On 16 April 2024, at 12:19, "'Albrecht Schlosser' via fltk.general" <fltkgeneral@googlegroups.com> wrote:

>On 4/16/24 05:52 TwoTrees Innerworld wrote:
>

>That's what `fltk-config` is good for: a "simple" approach is to build a working FLTK  test program with fltk-config, like this:
>$ flltk-config --use-images --use-forms --compile /path/to/fltk/test/hello.cxx
>Replace /path/to/fltk with the path to your FLTK source files. Note that I added '--use-images --use-forms' so you link with the same FLTK libs as your Netbeans project.
>This command outputs the full compile and linker command to build the hello demo. Look for any libs that are missing from your Netbeans linker command, and add them as well, maybe step by step, until your build works.
>Another - shorter - command would have been:
>$ flltk-config --use-images --use-forms --ldstaticflags
>which outputs only the required linker flags. On my Raspi I get, for instance (but please use your output!):
>-lfltk_images -lpng -lz -lfltk_jpeg -lfltk_forms -lfltk -lXrender -lXft -lfontconfig -pthread -lpthread -ldl -lm -lX11
>Once you added all required libs to your Netbeans project this should work as well.
>

What I found useful was to add

`fltk-config --use-images --ldstaticflags`

as part of my build command using an archaic makefile flow.

Phil.

--
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/1we4kpf1egyukc8cqetu4vbf.1713268972158%40email.android.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'.