Following up here, because right now the STR system is down. (I'll try to remember to paste this into the STR once it's back up.)
Albrecht Schlosser wrote: > Link: http://www.fltk.org/str.php?L2521 > Version: 1.3.0 > [..] > Meanwhile we also need to update the #define's in the *library* projects > (not test/*, not jpeg/zlib/png, and not fluid) to define FL_LIBRARY. Just checking: there seems to be an inconsistency; you say not to define FL_LIBRARY in jpeg/zlib/png's, yet the unix shell command you ran does seem to be changing them..? > $ for f in `ls -1 fltk*.dsp|grep -v dll`; do echo $f;sed -i -e > 's/WIN32;/FL_LIBRARY;WIN32;/g' $f;done > fltk.dsp > fltk_forms.dsp > fltk_gl.dsp > fltk_images.dsp > fltk_jpeg.dsp <-- JPEG > fltk_png.dsp <-- PNG > fltk_zlib.dsp <-- ZLIB Should we /not/ do those? BTW, sorry; I haven't been following the FL_LIBRARY thread closely.. > this for the VisualC2008 and 2010 projects, and it is easy to do with a > text editor: change 'WIN32;' to 'FL_LIBRARY;WIN32;', where applicable > (this is probably correct everywhere, if you search for exact case and the > trailing ';'). OK, so in the case of the VS6 files, there are actually raw CL commands, so it looks like I should change: - # ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" .. + # ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "FL_LIBRARY" /D "NDEBUG" .. ^^^^^^^^^^^^^^^ > It's great that you can reproduce it and set the dependencies directly > with VC6; I can only hand-edit the files, and I don't know how to change > the dependencies this way, Me neither -- I'm just hand editing. Brian made the dependency changes IIRC. > Everything worked, except the dll builds. Maybe something is wrong with > the output directories, see [2]. Did the 'Debug' build of the DLL's work, but the 'Release' didn't? I think that's what Brian was mentioning (in the STR). _______________________________________________ fltk-bugs mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-bugs
