| [ Return to Bugs & Features | SVN ⇄ GIT ]
STR #3389
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: | fltk-1.4.x-r12292 shows 3 linkage bugs using VS Community 2015 |
Version: | 1.4-feature |
Created By: | szukw000 |
Assigned To: | manolo |
Fix Version: | 1.4.0 (SVN: v12313) |
Update Notification: | |
Trouble Report Files:
Trouble Report Comments:
|
#1 | szukw000 21:42 Jul 08, 2017 |
| Scanning dependencies of target fltk_SHARED [ 35%] Building CXX object src/CMakeFiles/fltk_SHARED.dir/Fl.cxx.obj Fl.cxx c:\users\szukw000\lib\fltk\fltk-1.4.x-r12292-1\fl\fl_draw.H(773): error C2375: 'fl_draw_pixmap': redefinition; different linkage C:\Users\szukw000\LIB\FLTK\fltk-1.4.x-r12292-1\FL/Fl_Graphics_Driver.H(89): note: see declaration of 'fl_draw_pixmap'
Fl_Graphics_Driver.cxx C:\Users\szukw000\LIB\FLTK\fltk-1.4.x-r12292-1\FL/x.H(145): error C2375: 'fl_create_bitmask': redefinition; different linkage C:\Users\szukw000\LIB\FLTK\fltk-1.4.x-r12292-1\FL/Fl_Graphics_Driver.H(91): note: see declaration of 'fl_create_bitmask' C:\Users\szukw000\LIB\FLTK\fltk-1.4.x-r12292-1\FL/x.H(147): error C2375: 'fl_delete_bitmask': redefinition; different linkage C:\Users\szukw000\LIB\FLTK\fltk-1.4.x-r12292-1\FL/Fl_Graphics_Driver.H(92): note: see declaration of 'fl_delete_bitmask'
[ 70%] Building CXX object src/CMakeFiles/fltk_gl_SHARED.dir/gl_start.cxx.obj gl_start.cxx C:\Users\szukw000\LIB\FLTK\fltk-1.4.x-r12292-1\FL/gl.h(63): error C2375: 'gl_start': redefinition; different linkage C:\Users\szukw000\LIB\FLTK\fltk-1.4.x-r12292-1\FL/Fl_Graphics_Driver.H(90): note: see declaration of 'gl_start'
The patch follows. I do not know whether it is correct for MINGW.
winfried | |
|
#2 | manolo 06:46 Jul 11, 2017 |
| @winfried: could you, please, try the attached 3389.patch (instead of the patch you suggested), and report whether building with VS Community 2015 is OK? | |
|
#3 | AlbrechtS 14:56 Jul 12, 2017 |
| Fixed in Subversion repository.
@Manolo: your patch is correct (thanks), but I found two more missing FL_EXPORT statements, and since my patch was complete and tested I just committed it in svn r12313.
@Winfried: Please checkout svn r12313 or the next snapshot on Friday (tomorrow) morning and confirm if your issues are fixed as well. | |
|
#4 | szukw000 16:29 Jul 14, 2017 |
| For VS Community 2015: OK For VS Community 2017: OK Used with cmake-3.9.0-rc6 on WIN7
winfried | |
|
#5 | manolo 23:49 Jul 14, 2017 |
| Fixed in Subversion repository. | |
[ Return to Bugs & Features ]
|
| |