| [ Return to Bugs & Features | Roadmap 1.1 | SVN ⇄ GIT ]
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 |
Subsystem: | WIN32 |
Summary: | -enable-shared for cygwin/mingw does not link |
Version: | 1.1-current |
Created By: | a.rburgers.quicknet |
Assigned To: | mike |
Fix Version: | 1.1-current (SVN: v5659) |
Update Notification: | |
Trouble Report Files:
Trouble Report Comments:
|
#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.
Index: configure.in =================================================================== --- configure.in (revision 5567) +++ configure.in (working copy) @@ -578,6 +578,7 @@ CXXFLAGS="-mwindows -DWIN32 $CXXFLAGS" LDFLAGS="-mwindows $LDFLAGS" LIBS="$LIBS -lole32 -luuid -lcomctl32 -lwsock32" + DSOFLAGS="-mwindows" OPTIM="$OPTIM" 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. | |
[ Return to Bugs & Features ]
|
| |