Results 1 to 4 of 4

Thread: error when i run some Examples

  1. #1
    Peasant
    Join Date
    Sep 2013
    Posts
    7

    Exclamation error when i run some Examples

    when i run examples such as Blend, Canvas, PointSprite and some others i have an error
    clanlib3
    Code:
    ./blend: symbol lookup error: /usr/lib/libclan30GUI-3.0.so.1: undefined symbol: _ZN4clan11CSSDocumentC1Ev
    clanlib2
    Code:
    ./blend: symbol lookup error: /usr/lib/libclan23GUI-2.3.so.1: undefined symbol: _ZTV16CL_DomSelectNode
    how to fix that error?
    Last edited by kachan; 10-27-2013 at 12:08 AM.

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

    Default

    Examples/Display/Canvas should work, it does not use clanGUI

    For the "Blend" example, try adding clanCSSLayout to this line in the Makefile

    LIBS=clanApp clanDisplay clanCore clanGL clanGUI clanSWRender

    However, it should already work as it's a dependancy in pkgconfig

    It sounds like you have 2 instances of the same version of clanlib installed on the same system, in different locations. Ensure /usr/lib and /usr/local/lib both don't contain clanlib (with same version)

  3. #3
    Peasant
    Join Date
    Sep 2013
    Posts
    7

    Default

    Quote Originally Posted by rombust View Post
    Examples/Display/Canvas should work, it does not use clanGUI

    For the "Blend" example, try adding clanCSSLayout to this line in the Makefile

    LIBS=clanApp clanDisplay clanCore clanGL clanGUI clanSWRender

    However, it should already work as it's a dependancy in pkgconfig

    It sounds like you have 2 instances of the same version of clanlib installed on the same system, in different locations. Ensure /usr/lib and /usr/local/lib both don't contain clanlib (with same version)
    i do that and i have another error
    Code:
    ./blend: symbol lookup error: /usr/lib/libclan30GUI-3.0.so.1: undefined symbol: _ZN4clan11CSSDocumentC1Ev
    i have only 1 instance of same version of clanlib installed on the system. /usr/local/lib dont have any lib of clanlib

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

    Default

    I don't know.

    Sources/CSSLayout/Makefile.am contains "CSSDocument/css_document.cpp"

    Just random guesses, you could try:
    1) "make clean; make..." on the example
    2) "make clean; make..." on the clanlib source

Similar Threads

  1. error when i compile examples
    By kachan in forum Official ClanLib SDK Forums
    Replies: 5
    Last Post: 09-29-2013, 05:29 PM
  2. Replies: 5
    Last Post: 07-06-2009, 01:35 PM
  3. Examples.dsw not being created
    By ApostropheST in forum Official ClanLib SDK Forums
    Replies: 2
    Last Post: 05-02-2008, 08:27 PM
  4. Error in compiling Examples
    By Nikitto46 in forum Official ClanLib SDK Forums
    Replies: 5
    Last Post: 10-16-2007, 02:07 PM
  5. can't execute examples
    By Krux in forum Official ClanLib SDK Forums
    Replies: 5
    Last Post: 08-18-2007, 09:12 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
  •