STR #1546

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 
 Home  |  Articles & FAQs  |  Bugs & Features  |  Documentation  |  Download  |  Screenshots  ]

Return to Bugs & Features | Roadmap 1.1 ]

STR #1546

Application:FLTK Library
Status:1 - Closed w/Resolution
Priority:3 - Moderate, e.g. unable to compile the software
Scope:2 - Specific to an operating system
Summary:-enable-shared for cygwin/mingw does not link
Created By:a.rburgers.quicknet
Assigned To:mike
Fix Version:1.1-current (SVN: v5659)
Update Notification:

Receive EMails Don't Receive EMails

Trouble Report Files:

Name/Time/Date Filename/Size top right image
#1 a.rburgers.quicknet
10:11 Dec 23, 2006
#2 a.rburgers.quicknet
10:04 Jan 26, 2007
#3 a.rburgers.quicknet
13:25 Jan 31, 2007
#4 a.rburgers.quicknet
13:30 Jan 31, 2007
bottom left image   bottom right image

Trouble Report Comments:

Name/Time/Date Text top right image
#1 a.rburgers.quicknet
14:01 Dec 22, 2006
During building of the dll's there are unsatisfied references
to functions in the gdi32 library.

This patch fixes this since -mwindows directs the linker
to include -lgdi32 in the search.

---        (revision 5567)
+++        (working copy)
@@ -578,6 +578,7 @@
        CXXFLAGS="-mwindows -DWIN32 $CXXFLAGS"
        LDFLAGS="-mwindows $LDFLAGS"
        LIBS="$LIBS -lole32 -luuid -lcomctl32 -lwsock32"
+       DSOFLAGS="-mwindows"
        if test x$enable_gl != xno; then
#2 a.rburgers.quicknet
10:13 Dec 23, 2006
I revised the patch. See r5567_cygwin.txt.
The -Wl,--enable-auto-image-base flag is recommended
when building shared libraries for cygwin.
#3 matt
13:16 Jan 18, 2007
Thanks for the patch! Is anyone able to confirm that this works as neede?  
#4 a.rburgers.quicknet
13:21 Jan 18, 2007
This patch was required to make fluid-shared.exe link.
Unfortunately the shared version of fluid crashes
currently on cygwin, the static version works fine.
#5 a.rburgers.quicknet
10:07 Jan 26, 2007
The shared version of fluid.exe was linking successfully,
but crashed when running. Turned out to be due to mixing
static .a libraries and .dll.a import libraries.

This problem is fixed in the file p5642_dll.txt and
includes earlier patches submitted for this STR.
#6 a.rburgers.quicknet
13:29 Jan 31, 2007
Some improvements of the patch:
- use $(XXLIBNAME) instead of ../libfltk_xx.a
- fix dependencies
#7 mike
12:23 Feb 02, 2007
Fixed in Subversion repository.  
bottom left image   bottom right image

Return to Bugs & Features ]


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