Ok, starting to get somewhere now. > Sounds like you switched to a different FLTK version. > > So we don't go in circles, tell use which fltk tar file you're working > with when reporting errors.
I downloaded this one: fltk-1.3.x-r6985.tar.bz2 > 1) Comment out the '#warning' at or around line 85 > > 2) Add the following at the top to prevent an error about > gethostname(): > > #include <Winsock2.h> > > 3) Add the following before the closing brace on the function > Fl_Preferences::newUUID() #2 or #3. I done this and most of them compiled. But I still have 15 that failed. Here is the entire list of errors: 1>------ Build started: Project: pixmap_browser, Configuration: Debug Win32 ------ 2>------ Build started: Project: fluid, Configuration: Debug Win32 ------ 3>------ Build started: Project: sudoku, Configuration: Debug Win32 ------ 1>Linking... 4>------ Build started: Project: file_chooser, Configuration: Debug Win32 ------ 3>Linking... 2>Linking... 4>Linking... 1>fltkd.lib(Fl_Preferences.obj) : error LNK2019: unresolved external symbol __imp__gethostn...@8 referenced in function "public: static char const * __cdecl Fl_Preferences::newUUID(void)" (?newu...@fl_preferences@@SAPBDXZ) 1>../../test/pixmap_browserd.exe : fatal error LNK1120: 1 unresolved externals 4>fltkd.lib(Fl_Preferences.obj) : error LNK2019: unresolved external symbol __imp__gethostn...@8 referenced in function "public: static char const * __cdecl Fl_Preferences::newUUID(void)" (?newu...@fl_preferences@@SAPBDXZ) 4>../../test/file_chooserd.exe : fatal error LNK1120: 1 unresolved externals 3>fltkd.lib(Fl_Preferences.obj) : error LNK2019: unresolved external symbol __imp__gethostn...@8 referenced in function "public: static char const * __cdecl Fl_Preferences::newUUID(void)" (?newu...@fl_preferences@@SAPBDXZ) 3>../../test/sudokud.exe : fatal error LNK1120: 1 unresolved externals 1>Build log was saved at "file://c:\ProgLibs\fltk-1.3.x-r6985\ide\vc2005\pixmap_browser_\BuildLog.htm" 1>pixmap_browser - 2 error(s), 0 warning(s) 2>fltkd.lib(Fl_Preferences.obj) : error LNK2019: unresolved external symbol __imp__gethostn...@8 referenced in function "public: static char const * __cdecl Fl_Preferences::newUUID(void)" (?newu...@fl_preferences@@SAPBDXZ) 2>../../fluid/fluidd.exe : fatal error LNK1120: 1 unresolved externals 4>Build log was saved at "file://c:\ProgLibs\fltk-1.3.x-r6985\ide\vc2005\file_chooser_\BuildLog.htm" 4>file_chooser - 2 error(s), 0 warning(s) 3>Build log was saved at "file://c:\ProgLibs\fltk-1.3.x-r6985\ide\vc2005\sudoku_\BuildLog.htm" 2>Build log was saved at "file://c:\ProgLibs\fltk-1.3.x-r6985\ide\vc2005\fluid__0\BuildLog.htm" 3>sudoku - 2 error(s), 0 warning(s) 2>fluid - 2 error(s), 0 warning(s) 5>------ Build started: Project: fltkdll, Configuration: Debug Win32 ------ 6>------ Build started: Project: tabs, Configuration: Debug Win32 ------ 7>------ Build started: Project: resize, Configuration: Debug Win32 ------ 8>------ Build started: Project: radio, Configuration: Debug Win32 ------ 6>Create .cxx and .h file with fluidd 7>Create .cxx and .h file with fluidd 8>Create .cxx and .h file with fluidd 7>Compiling fluid files ... 6>Compiling fluid files ... 6>'..\fluid\fluidd' is not recognized as an internal or external command, 6>operable program or batch file. 7>'..\fluid\fluidd' is not recognized as an internal or external command, 7>operable program or batch file. 8>Compiling fluid files ... 5>Linking... 8>'..\fluid\fluidd' is not recognized as an internal or external command, 8>operable program or batch file. 8>Compiling... 6>Compiling... 7>Compiling... 8>radio.cxx 6>tabs.cxx 7>resize.cxx 6>c1xx : fatal error C1083: Cannot open source file: '..\..\test\tabs.cxx': No such file or directory 8>c1xx : fatal error C1083: Cannot open source file: '..\..\test\radio.cxx': No such file or directory 7>c1xx : fatal error C1083: Cannot open source file: '..\..\test\resize.cxx': No such file or directory 6>Build log was saved at "file://c:\ProgLibs\fltk-1.3.x-r6985\ide\vc2005\tabs_\BuildLog.htm" 8>Build log was saved at "file://c:\ProgLibs\fltk-1.3.x-r6985\ide\vc2005\radio_\BuildLog.htm" 7>Build log was saved at "file://c:\ProgLibs\fltk-1.3.x-r6985\ide\vc2005\resize_\BuildLog.htm" 7>resize - 1 error(s), 0 warning(s) 6>tabs - 1 error(s), 0 warning(s) 8>radio - 1 error(s), 0 warning(s) 9>------ Build started: Project: preferences, Configuration: Debug Win32 ------ 10>------ Build started: Project: mandelbrot, Configuration: Debug Win32 ------ 9>Create .cxx and .h file with fluidd 11>------ Build started: Project: keyboard, Configuration: Debug Win32 ------ 10>Create .cxx and .h file with fluidd 11>Create .cxx and .h file with fluidd 9>Compiling fluid files ... 10>Compiling fluid files ... 9>'..\fluid\fluidd' is not recognized as an internal or external command, 9>operable program or batch file. 10>'..\fluid\fluidd' is not recognized as an internal or external command, 10>operable program or batch file. 11>Compiling fluid files ... 11>'..\fluid\fluidd' is not recognized as an internal or external command, 11>operable program or batch file. 10>Compiling... 9>Compiling... 11>Compiling... 11>keyboard_ui.cxx 9>preferences.cxx 10>mandelbrot_ui.cxx 9>c1xx : fatal error C1083: Cannot open source file: '..\..\test\preferences.cxx': No such file or directory 11>c1xx : fatal error C1083: Cannot open source file: '..\..\test\keyboard_ui.cxx': No such file or directory 11>keyboard.cxx 10>c1xx : fatal error C1083: Cannot open source file: '..\..\test\mandelbrot_ui.cxx': No such file or directory 10>mandelbrot.cxx 11>..\..\test\keyboard.cxx(43) : fatal error C1083: Cannot open include file: 'keyboard_ui.h': No such file or directory 10>..\..\test\mandelbrot.cxx(28) : fatal error C1083: Cannot open include file: 'mandelbrot_ui.h': No such file or directory 11>Generating Code... 10>Generating Code... 9>Build log was saved at "file://c:\ProgLibs\fltk-1.3.x-r6985\ide\vc2005\preferences_\BuildLog.htm" 9>preferences - 1 error(s), 0 warning(s) 11>Build log was saved at "file://c:\ProgLibs\fltk-1.3.x-r6985\ide\vc2005\keyboard_\BuildLog.htm" 10>Build log was saved at "file://c:\ProgLibs\fltk-1.3.x-r6985\ide\vc2005\mandelbrot_\BuildLog.htm" 10>mandelbrot - 2 error(s), 0 warning(s) 11>keyboard - 2 error(s), 0 warning(s) 12>------ Build started: Project: inactive, Configuration: Debug Win32 ------ 12>Create .cxx and .h file with fluidd 12>Compiling fluid files ... 12>'..\fluid\fluidd' is not recognized as an internal or external command, 12>operable program or batch file. 12>Compiling... 5> Creating library ../../test/fltkdlld.lib and object ../../test/fltkdlld.exp 12>inactive.cxx 12>c1xx : fatal error C1083: Cannot open source file: '..\..\test\inactive.cxx': No such file or directory 12>Build log was saved at "file://c:\ProgLibs\fltk-1.3.x-r6985\ide\vc2005\inactive_\BuildLog.htm" 5>Fl_Preferences.obj : error LNK2019: unresolved external symbol __imp__gethostn...@8 referenced in function "public: static char const * __cdecl Fl_Preferences::newUUID(void)" (?newu...@fl_preferences@@SAPBDXZ) 5>../../test/fltkdlld.dll : fatal error LNK1120: 1 unresolved externals 13>------ Build started: Project: valuators, Configuration: Debug Win32 ------ 14>------ Build started: Project: fast_slow, Configuration: Debug Win32 ------ 12>inactive - 1 error(s), 0 warning(s) 14>Create .cxx and .h file with fluidd 13>Create .cxx and .h file with fluidd 5>Build log was saved at "file://c:\ProgLibs\fltk-1.3.x-r6985\ide\vc2005\fltkdlld\BuildLog.htm" 5>fltkdll - 2 error(s), 0 warning(s) 15>------ Build started: Project: editor, Configuration: Debug Win32 ------ 13>Compiling fluid files ... 14>Compiling fluid files ... 13>'..\fluid\fluidd' is not recognized as an internal or external command, 14>'..\fluid\fluidd' is not recognized as an internal or external command, 14>operable program or batch file. 14>Compiling... 13>operable program or batch file. 13>Compiling... 16>------ Build started: Project: CubeView, Configuration: Debug Win32 ------ 16>Create .cxx and .h file with fluidd 15>Linking... 14>fast_slow.cxx 14>c1xx : fatal error C1083: Cannot open source file: '..\..\test\fast_slow.cxx': No such file or directory 14>Build log was saved at "file://c:\ProgLibs\fltk-1.3.x-r6985\ide\vc2005\fast_slow_\BuildLog.htm" 14>fast_slow - 1 error(s), 0 warning(s) 16>Compiling fluid files ... 16>'..\fluid\fluidd' is not recognized as an internal or external command, 16>operable program or batch file. 13>valuators.cxx 13>c1xx : fatal error C1083: Cannot open source file: '..\..\test\valuators.cxx': No such file or directory 13>Build log was saved at "file://c:\ProgLibs\fltk-1.3.x-r6985\ide\vc2005\valuators_\BuildLog.htm" 13>valuators - 1 error(s), 0 warning(s) 15>Embedding manifest... 16>Compiling... 16>CubeViewUI.cxx 16>c1xx : fatal error C1083: Cannot open source file: '..\..\test\CubeViewUI.cxx': No such file or directory 16>CubeMain.cxx 16>..\..\test\CubeMain.cxx(30) : fatal error C1083: Cannot open include file: 'CubeViewUI.h': No such file or directory 16>Generating Code... 16>Build log was saved at "file://c:\ProgLibs\fltk-1.3.x-r6985\ide\vc2005\CubeView__0\BuildLog.htm" 16>CubeView - 2 error(s), 0 warning(s) 15>Build log was saved at "file://c:\ProgLibs\fltk-1.3.x-r6985\ide\vc2005\editor_\BuildLog.htm" 15>editor - 0 error(s), 0 warning(s) 17>------ Build started: Project: demo, Configuration: Debug Win32 ------ 17>Linking... 17>Embedding manifest... 17>Build log was saved at "file://c:\ProgLibs\fltk-1.3.x-r6985\ide\vc2005\demo_\BuildLog.htm" 17>demo - 0 error(s), 0 warning(s) ========== Build: 2 succeeded, 15 failed, 55 up-to-date, 0 skipped ========== _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

