RE: [fltk.general] Problems linking libACE_FlReactor

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: Problems linking libACE_FlReactor "MacArthur, Ian (SELEX) (UK)" Feb 15, 2006 top right image
 
> link with gdi32 as well:  -lgdi32
>
> Look at the Makefile for a full list of required dll's

If it was me, I'd worry a bit about the lib order as well... mingw is a gcc, so is sensitive to linking order. You really want to ensure that any lib using a function is listed before the lib the provides it, so

-lACE -lfltk_forms -lfltk_gl -lfltk_images -lfltk -ldgi32 -lws2_32 -lmswsock -lwsock32 -lnetapi32 -lopengl32

might be a better option...

As a quick check, running fltk-config --use-forms --use-images --use-gl --ldflags on my machine lists...

 fltk-config --use-forms --use-images --use-gl --ldflags
-L/usr/local/lib -mwindows -mno-cygwin -lfltk_images -lfltk_png -lfltk_z -lfltk_jpeg -lfltk_gl -lglu32 -lopengl32 -lfltk_forms -lfltk -lole32 -luuid -lcomctl32 -lwsock32

Any use?


********************************************************************
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.
********************************************************************


Direct Link to Message ]
 
bottom left image   bottom right image
Previous Message ]New Message | Reply ]Next Message ]
 
 

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