Results 1 to 5 of 5

Thread: ClanLib 2.1.0 libclan21Core problem

  1. #1

    Default ClanLib 2.1.0 libclan21Core problem

    after make html I got this:

    Code:
    g++ -I. -I../Sources/Core/.libs `pkg-config --cflags clanCore-2.1` -pthread reference_docs.o reference_all_classes.o reference_class.o reference_define.o reference_enum.o reference_function.o reference_grouped_classes.o reference_index.o reference_typedef.o -o ReferenceDocs `pkg-config --libs clanCore-2.1` -lpthread
    /usr/bin/ld: cannot find -lclan21Core
    collect2: ld returned 1 exit status
    any hint how to resolve this?

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

    Default

    do
    sudo make install

    before make html

  3. #3

    Default

    but why? I gave -I../Sources/Core/.libs option in order to link without make install command. It should works...

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

    Default

    Use:

    g++ -I. -L../../../Sources/Core/.libs (etc)

    You used "-I" instead of "-L"

    And the wrong number of ../ 's

  5. #5

    Default

    oh, I see. Thanks a lot!

Similar Threads

  1. Clanlib (install) problem: mt-uc
    By astrof in forum Official ClanLib SDK Forums
    Replies: 2
    Last Post: 12-11-2008, 10:32 PM
  2. Problem compiling ClanLib 0.8 in MAC OS X (10.3.9)
    By jplaza in forum Official ClanLib SDK Forums
    Replies: 2
    Last Post: 07-08-2008, 09:58 PM
  3. Problem building ClanLib
    By jtaylor1126 in forum Official ClanLib SDK Forums
    Replies: 1
    Last Post: 03-31-2007, 12:10 AM
  4. More on the green line problem, bug in Clanlib?
    By pTymN in forum Official ClanLib SDK Forums
    Replies: 3
    Last Post: 03-22-2007, 04:43 PM
  5. ClanLib-0.8.0\Tests\NetSessionsTest problem
    By inxbus in forum Official ClanLib SDK Forums
    Replies: 0
    Last Post: 01-06-2007, 09:11 PM

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
  •