PDA

View Full Version : error when i run some Examples



kachan
10-26-2013, 11:48 PM
when i run examples such as Blend, Canvas, PointSprite and some others i have an error
clanlib3

./blend: symbol lookup error: /usr/lib/libclan30GUI-3.0.so.1: undefined symbol: _ZN4clan11CSSDocumentC1Ev

clanlib2

./blend: symbol lookup error: /usr/lib/libclan23GUI-2.3.so.1: undefined symbol: _ZTV16CL_DomSelectNode

how to fix that error?

rombust
10-27-2013, 09:58 AM
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)

kachan
10-27-2013, 10:20 AM
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


./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

rombust
10-27-2013, 10:57 AM
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