Results 1 to 2 of 2

Thread: Make problems on Linux (Ubuntu)

  1. #1

    Default Make problems on Linux (Ubuntu)

    Here is the output of 'make' on Clanlib 0.8.1:

    g++ -shared -nostdlib /usr/lib/gcc/i486-linux-gnu/4.2.3/../../../../lib/crti.o /usr/lib/gcc/i486-linux-gnu/4.2.3/crtbeginS.o .libs/display_target.o .libs/surface.o .libs/canvas.o .libs/color.o .libs/display_iostream.o .libs/display_mode.o .libs/display_window.o .libs/sprite_packer.o .libs/surface_generic.o .libs/setupdisplay.o .libs/sprite.o .libs/graphic_context.o .libs/graphic_context_generic.o .libs/display.o .libs/display_window_description.o .libs/font.o .libs/font_target_sprite.o .libs/keyboard.o .libs/joystick.o .libs/mouse.o .libs/sprite_description.o .libs/input_buffer.o .libs/input_button.o .libs/input_button_generic.o .libs/input_device_generic.o .libs/input_context_generic.o .libs/input_event.o .libs/surface_target.o .libs/display_precomp.o .libs/input_device.o .libs/key_binding.o .libs/resourcedata_collisionoutline.o .libs/resourcedata_font.o .libs/resourcedata_text_styler.o Providers/.libs/jpeg_provider.o Providers/.libs/jpeg_provider_generic.o Providers/.libs/pcx_provider.o Providers/.libs/pcx_provider_generic.o Providers/.libs/bmp_provider.o Providers/.libs/bmp_provider_generic.o Providers/.libs/png_provider.o Providers/.libs/png_provider_generic.o Providers/.libs/provider_factory.o Providers/.libs/provider_type.o Providers/.libs/targa_provider.o Providers/.libs/targa_provider_generic.o .libs/sprite_packer_generic.o .libs/sprite_generic.o .libs/pixel_format.o .libs/pixel_buffer.o .libs/pixel_buffer_generic.o .libs/pixel_buffer_memory.o .libs/font_generic.o .libs/resourcedata_surface.o .libs/resourcedata_sprite.o .libs/resourcedata_sprite_description.o .libs/input_context.o .libs/display_window_generic.o .libs/glyph_buffer.o .libs/text_styler.o .libs/frameratecounter.o Collision/.libs/collision_outline.o Collision/.libs/collision_outline_generic.o Collision/.libs/outline_math.o Collision/.libs/outline_provider_bitmap.o Collision/.libs/outline_provider_bitmap_generic.o Collision/.libs/outline_provider_file.o Collision/.libs/outline_provider_file_generic.o -L/usr/X11R6/lib/ -lX11 -lXmu /usr/lib/libGL.so -lGLU -lpng /usr/lib/libjpeg.so -lXxf86vm -lz -L/usr/lib/gcc/i486-linux-gnu/4.2.3 -L/usr/lib/gcc/i486-linux-gnu/4.2.3/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/i486-linux-gnu/4.2.3/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/i486-linux-gnu/4.2.3/crtendS.o /usr/lib/gcc/i486-linux-gnu/4.2.3/../../../../lib/crtn.o -Wl,-soname -Wl,libclanDisplay-0.8.so.1 -o .libs/libclanDisplay-0.8.so.1.0.0
    /usr/bin/ld: cannot find -lXmu

    I googled, I tried both the gz and the zip archives, I tried to figure out what '-lXmu' is, but I can't figure this out. How to solve this?

  2. #2
    ClanLib Developer
    Join Date
    May 2007
    Posts
    1,824

    Default

    This has been previously fixed in ClanLib 0.8 SVN

    In Sources/Display/Makefile.am :
    libclanDisplay_la_LIBADD = -L/usr/X11R6/lib/ -lX11 -lXmu -lGL -lGLU -lpng -ljpeg -lXxf86vm @X_LIBS@

    Remove -lXmu

    To give:
    libclanDisplay_la_LIBADD = -L/usr/X11R6/lib/ -lX11 -lGL -lGLU -lpng -ljpeg -lXxf86vm @X_LIBS@

Similar Threads

  1. Compile Error In Ubuntu Linux
    By Kurisu in forum Official ClanLib SDK Forums
    Replies: 2
    Last Post: 08-18-2008, 05:38 PM
  2. Problems in Ubuntu Gutsy Gibon
    By Starclopsofish in forum Novashell Game Creation System
    Replies: 4
    Last Post: 02-16-2008, 06:52 PM
  3. Ubuntu repos
    By m_al in forum Official ClanLib SDK Forums
    Replies: 5
    Last Post: 10-30-2007, 12:22 PM
  4. ClanLib 0.8.0 fails to compile on Ubuntu
    By lixopmstp in forum Official ClanLib SDK Forums
    Replies: 7
    Last Post: 09-04-2007, 05:50 AM
  5. Crash on startup under Ubuntu 7.04
    By Rrrichi in forum Novashell Game Creation System
    Replies: 5
    Last Post: 06-08-2007, 11:28 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
  •