Results 1 to 3 of 3

Thread: Problem compiling ClanLib 0.8 in MAC OS X (10.3.9)

  1. #1

    Default Problem compiling ClanLib 0.8 in MAC OS X (10.3.9)

    Hi everyone,

    I'm having troubles compiling ClanLib in Mac. I'm using xcode 1.5.
    The error occurs when I'm trying to build Clanlib (I'm following the instructions of INSTALL.macosx). The error that throws xcode is this:

    ld: Undefined symbols:
    CL_BMPProvider::save(CL_PixelBuffer, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, CL_OutputSourceProvider*)
    CL_BMPProvider::CL_BMPProvider(std::basic_string<c har, std::char_traits<char>, std::allocator<char> > const&, CL_InputSourceProvider*)
    /usr/bin/libtool: internal link edit command failed

    I hope you can help me out with this.

  2. #2
    Administrator Seth's Avatar
    Join Date
    Jul 2002
    Location
    Japan
    Posts
    5,340

    Default

    You should be able to fix the problem by adding bmp_provider.cpp and bmp_provider_generic.cpp into the clanDisplay project.

    (located in Sources/Display/Providers)

    When I added bmp loading support I updated the XCode 2.X project but I couldn't figure out how to update the 1.5 project file.

    There may also be a few other files missing in other parts of Clanlib in the XCode 1.5 project.. in ClanGUI, maybe richedit.cpp and richedit_generic.cpp.

    Would be great if you could submit a patch if you get the XCode file updated..
    Seth A. Robinson
    Robinson Technologies

  3. #3

    Default

    Thanks a lot Seth! I'll be trying that tomorrow and I'll let you know if it worked.... Im a newbie in Mac, but if it works I'll tell u at least what I had to do.

Similar Threads

  1. simple ClanLib example problem - segfault
    By phx_one in forum Official ClanLib SDK Forums
    Replies: 3
    Last Post: 02-17-2008, 12:54 AM
  2. Can't find windows.h - Compiling ClanLib
    By Katzewurzt in forum Official ClanLib SDK Forums
    Replies: 18
    Last Post: 11-04-2007, 06:49 AM
  3. Help compiling ClanLib
    By Shauni in forum Official ClanLib SDK Forums
    Replies: 7
    Last Post: 06-28-2007, 12:53 AM
  4. having trouble compiling clanlib programs on a mac
    By mike in forum Official ClanLib SDK Forums
    Replies: 4
    Last Post: 06-20-2007, 05:00 PM
  5. Problem building ClanLib
    By jtaylor1126 in forum Official ClanLib SDK Forums
    Replies: 1
    Last Post: 03-31-2007, 12:10 AM

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •