FLTK logo

Re: bug how to fix it?

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: bug how to fix it? Mariwan Oct 28, 2011  
 
ration
>
> You should add -ldl to the linker commandline. However,
> if you used fltk-config, this should show up there:
>
> fltk-config [--use-images] --ldflags
>
> (use --cflags and --cxxflags to see the compiler flags needed).
>
> Albrecht

using

-lfltk -lXext -lXft -lfontconfig -lXinerama -lpthread -lm -lX11 -lfltk_images -lXpm -lpng -lz -ljpeg -ldl

solved the problem. As you said I used fltk-config --ldflags .. I got the flags that should be used .. and it works now ..
Many thanks Albercht
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'.