> Christian Convey wrote:
> > Do you guys want to be told about this kind of thing?
> > If so, is this forum the right way to let you know when the trunk doesn't 
> > build?
>
>       Yes and yes.
>
>       We know there are some warnings, but errors in SVN would be bad
>       and we'd want to know.
>
>       If you're quite certain it's a build issue with SVN, this is
>       surely the place to post it; fltk.development, as we'd all want
>       to know about build errors in SVN right away.
>
>       But if there's uncertainty, and that it might just be a simple
>       q/a, fltk.general would be the place to ask.
>
>       FWIW, I just did an svn update for fltk 1.3.x and it built
>       just fine on OSX 10.4.x and 10.5.x with 'make distclean; make',
>       so I'm wondering if you are using special configure flags
>       (ie. other than the defaults) or maybe have a mangled checkout
>       or a mixed build.
>
>       Definitely include the build errors, and include OSX version
>       info and any configure options beyond the defaults.

Well, I don't have a great track record lately regarding brainfarts and FLTK.  
But I'm pretty sure I did things by the book:

1. Downloaded the source code today using:
svn co https://svn.easysw.com/public/fltk/fltk/branches/branch-1.3/ fltk-1.3

2. cd fltk-1.3
3. cmake .
4. ccmake .  (to set FLTK_QUARTZ=ON)
5. make

I'm doing it on OS X 10.5, using the latest version of Xcode, which provides 
g++ 4.0.1.

Before I show you the errors, let me show you what I see in ccmake:

BUILD_EXAMPLES=ON
BUILD_SHARED_LIBS=OFF
BUILD_TESTING=ON
CMAKE_BACKWARDS_COMPATIBILITY=2.4
CMAKE_BUILD_TYP=E
CMAKE_INSTALL_PREFIX=/usr/local
CMAKE_OSX_ARCHITECTURES=i386
CMAKE_OSX_SYSROOT=/Developer/SDKs/MacOSX10.5.sdk
CMAKE_USE_PTHREADS=ON
DART_ROOT=DART_ROOT-NOTFOUND
FLTK_QUARTZ=ON
FLTK_USE_SYSTEM_JPEG=OFF
FLTK_USE_SYSTEM_PNG=OFF
FLTK_USE_SYSTEM_ZLIB=OFF
USE_OPENGL=ON

(If I don't set FLTK_QUARTS=ON, I get "unsupported platform" compiler 
preprocessor errors.)

Here's my 'make' output.  I'm omitting the earlier output from the compilation 
steps that have no problem:


Linking CXX executable ../bin/fluid
Undefined symbols:
  "_fl_utf8encode", referenced from:
      keycodeToUnicode(char*, int, unsigned short, unsigned long, unsigned 
long, unsigned long*, unsigned char, unsigned short)in libfltk.a(Fl.o)
      carbonTextHandler(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*) in 
libfltk.a(Fl.o)
      Fl_Help_View::draw()      in libfltk.a(Fl_Help_View.o)
      Fl_Help_View::format()      in libfltk.a(Fl_Help_View.o)
      Fl::compose(int&)  in libfltk.a(Fl_compose.o)
      Fl::compose(int&)  in libfltk.a(Fl_compose.o)
      Fl::compose(int&)  in libfltk.a(Fl_compose.o)
  "_fl_fopen", referenced from:
      Fl_Text_Buffer::insertfile(char const*, int, int)in 
libfltk.a(Fl_Text_Buffer.o)
      Fl_Text_Buffer::outputfile(char const*, int, int, int)in 
libfltk.a(Fl_Text_Buffer.o)
      Fl_Preferences::RootNode::write()     in libfltk.a(Fl_Preferences.o)
      Fl_Preferences::RootNode::read()     in libfltk.a(Fl_Preferences.o)
      Fl_Help_View::load(char const*)in libfltk.a(Fl_Help_View.o)
      Fl_File_Icon::load_fti(char const*)in libfltk_images.a(Fl_File_Icon2.o)
      Fl_Shared_Image::reload()      in libfltk.a(Fl_Shared_Image.o)
      Fl_GIF_Image::Fl_GIF_Image(char const*)in libfltk_images.a(Fl_GIF_Image.o)
      Fl_GIF_Image::Fl_GIF_Image(char const*)in libfltk_images.a(Fl_GIF_Image.o)
      Fl_XPM_Image::Fl_XPM_Image(char const*)in libfltk.a(Fl_XPM_Image.o)
      Fl_XPM_Image::Fl_XPM_Image(char const*)in libfltk.a(Fl_XPM_Image.o)
      Fl_PNM_Image::Fl_PNM_Image(char const*)in libfltk_images.a(Fl_PNM_Image.o)
      Fl_PNM_Image::Fl_PNM_Image(char const*)in libfltk_images.a(Fl_PNM_Image.o)
      Fl_PNG_Image::Fl_PNG_Image(char const*)in libfltk_images.a(Fl_PNG_Image.o)
      Fl_PNG_Image::Fl_PNG_Image(char const*)in libfltk_images.a(Fl_PNG_Image.o)
      Fl_XBM_Image::Fl_XBM_Image(char const*)in libfltk.a(Fl_XBM_Image.o)
      Fl_XBM_Image::Fl_XBM_Image(char const*)in libfltk.a(Fl_XBM_Image.o)
  "_fl_utf_nb_char", referenced from:
      Fl_Input_::expand(char const*, char*) constin libfltk.a(Fl_Input_.o)
      fl_expand_text(char const*, char*, int, double, int&, double&, int, 
int)in libfltk.a(fl_draw.o)
  "_fl_utf8decode", referenced from:
      Fl_Input_::index(int) constin libfltk.a(Fl_Input_.o)
  "_fl_stat", referenced from:
      fl_filename_isdir(char const*)in libfltk.a(filename_isdir.o)
      Fl_File_Icon::find(char const*, int)in libfltk.a(Fl_File_Icon.o)
  "_fl_utf8len", referenced from:
      Fl_Text_Editor::kf_backspace(int, Fl_Text_Editor*)in 
libfltk.a(Fl_Text_Editor.o)
      Fl_Text_Editor::kf_delete(int, Fl_Text_Editor*)in 
libfltk.a(Fl_Text_Editor.o)
      Fl_Text_Buffer::expand_character(char, int, char*, int, char)in 
libfltk.a(Fl_Text_Buffer.o)
      Fl_Text_Buffer::expand_character(int, int, char*)in 
libfltk.a(Fl_Text_Buffer.o)
      Fl_Text_Buffer::character_width(char, int, int, char)in 
libfltk.a(Fl_Text_Buffer.o)
      Fl_Text_Display::xy_to_position(int, int, int)in 
libfltk.a(Fl_Text_Display.o)
      Fl_Text_Display::draw_vline(int, int, int, int, int)in 
libfltk.a(Fl_Text_Display.o)
      Fl_Text_Display::draw_vline(int, int, int, int, int)in 
libfltk.a(Fl_Text_Display.o)
      Fl_Text_Display::draw_vline(int, int, int, int, int)in 
libfltk.a(Fl_Text_Display.o)
      Fl_Text_Display::draw_vline(int, int, int, int, int)in 
libfltk.a(Fl_Text_Display.o)
      Fl_Text_Display::draw_vline(int, int, int, int, int)in 
libfltk.a(Fl_Text_Display.o)
      Fl_Text_Display::position_to_xy(int, int*, int*)in 
libfltk.a(Fl_Text_Display.o)
      Fl_Input_::expand(char const*, char*) constin libfltk.a(Fl_Input_.o)
      Fl_Input_::expandpos(char const*, char const*, char const*, int*) constin 
libfltk.a(Fl_Input_.o)
      Fl_Input_::expandpos(char const*, char const*, char const*, int*) constin 
libfltk.a(Fl_Input_.o)
      Fl_Input_::position(int, int)in libfltk.a(Fl_Input_.o)
      Fl_Input_::position(int, int)in libfltk.a(Fl_Input_.o)
      Fl_Input_::position(int, int)in libfltk.a(Fl_Input_.o)
      Fl_Input_::position(int, int)in libfltk.a(Fl_Input_.o)
      Fl_Input_::position(int, int)in libfltk.a(Fl_Input_.o)
      Fl_Input_::position(int, int)in libfltk.a(Fl_Input_.o)
      Fl_Input_::replace(int, int, char const*, int)in libfltk.a(Fl_Input_.o)
      Fl_Input_::replace(int, int, char const*, int)in libfltk.a(Fl_Input_.o)
      Fl_Input_::replace(int, int, char const*, int)in libfltk.a(Fl_Input_.o)
      Fl_Input_::handle_mouse(int, int, int, int, int)in libfltk.a(Fl_Input_.o)
      Fl_Input_::handle_mouse(int, int, int, int, int)in libfltk.a(Fl_Input_.o)
  "_fl_utf8fromwc", referenced from:
      Fl_Help_View::draw()      in libfltk.a(Fl_Help_View.o)
  "_fl_make_path", referenced from:
      Fl_Preferences::RootNode::getPath(char*, int)in 
libfltk.a(Fl_Preferences.o)
  "_fl_make_path_for_file", referenced from:
      Fl_Preferences::RootNode::write()     in libfltk.a(Fl_Preferences.o)
  "_fl_utf8toUtf16", referenced from:
      mac_Utf8_to_Utf16(char const*, int, int*)in libfltk.a(fl_font.o)
      mac_Utf8_to_Utf16(char const*, int, int*)in libfltk.a(fl_font.o)
  "_fl_getcwd", referenced from:
      Fl_Help_View::get_image(char const*, int, int)in libfltk.a(Fl_Help_View.o)
      Fl_Help_View::follow_link(Fl_Help_Link*)        in 
libfltk.a(Fl_Help_View.o)
      fl_filename_absolute(char*, int, char const*)in 
libfltk.a(filename_absolute.o)
      fl_filename_relative(char*, int, char const*)in 
libfltk.a(filename_absolute.o)
  "_fl_getenv", referenced from:
      fl_filename_expand(char*, int, char const*)in libfltk.a(filename_expand.o)
      fl_filename_expand(char*, int, char const*)in libfltk.a(filename_expand.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[2]: *** [bin/fluid] Error 1
make[1]: *** [fluid/CMakeFiles/fluid.dir/all] Error 2
make: *** [all] Error 2



_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to