| [ Return to Bugs & Features | Roadmap 1.1 | SVN ⇄ GIT ]
STR #783
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: | Build Files |
Summary: | visualc/fluid.dsp: "bundled zlib" missing from include path |
Version: | 1.1.6 |
Created By: | av_pete |
Assigned To: | matt |
Fix Version: | 1.1.7 |
Update Notification: | |
Trouble Report Files:
No files
Trouble Report Comments:
|
#1 | av_pete 06:51 Apr 01, 2005 |
| description: fltk-1.1.x-r4229 fails to compile "out-of-the-box" when building with the visualc project files. the compiler reports:
C:\Program Files\fltk-1.1.x-r4229\fluid\fluid.cxx(74) : fatal error C1083: Cannot open include file: 'zlib.h': No such file or directory
fault analysis: * recent release of fltk are bundled with copies of libpng and zlib * accordingly, visualc/config.h #defines HAVE_LIBPNG and HAVE_LIBZ. * fluid/fluid.cxx attempts to #include <png.h> and <zlib.h> * within visualc/fluid.dsp, the include path only indicates: ".,..,../png"
solution: append "../zlib" to the include path, resulting in: ".,..,../png,../zlib"
nb: the include path may be viewed and edited from the "c/c++ preprocessor page" within the project settings dialog box.
nb: i suspect this fault has gone undetected, because many users' compile with mingw/gcc, or install zlib separately (and do not rely on the bundled copy). | |
|
#2 | matt 10:05 Apr 02, 2005 |
|
Thanks. I did see the png link problem, but missed the zlib one. Will fix it this weekend. | |
|
#3 | matt 10:39 Apr 02, 2005 |
| Fixed in Subversion repository.
| |
|
#4 | matt 05:07 Apr 07, 2005 |
|
| |
[ Return to Bugs & Features ]
|
| |