Compiling and Linking with Eve

I am trying to use Eve with some shared libraries I am developing and loading each root session.

I cannot seem to get the linking right.

What do I need to build/link to use TEveManager::Create() ?

I am using the flag, -lEve
but upon loading I get :

dlopen error: /usr/local/root_v5.26.00/lib/libEve.so: undefined symbol: _ZNK9TGedFrame13GetDrawOptionEv Load Error: Failed to load Dynamic link library /home/whit/sane08/InSANE/lib/libInSANE.so *** Interpreter error recovered *** *** Interpreter error recovered ***

Cheers

always link your graphics application with the libs shown in the list when doing

root-config --glibs
currently this list is (eg on my mac)

code [139] root-config --glibs
-L/Users/brun/root/lib -lCore -lCint -lRIO -lNet -lHist -lGraf -lGraf3d -lGpad -lTree -lRint -lPostscript -lMatrix -lPhysics -lMathCore -lThread -lz -lfreetype -lGui -pthread -Wl,-rpath,/Users/brun/root/lib -lm -ldl
[/code]

Rene

These are the libs from ALICE event-display executable:

-lTreePlayer -lGeomPainter -lGed -lRGL -lEve

For mac you might also need -lGLEW.

Cheers,
Matevz

Thanks for your quick replies.

Turns out I also needed to add -lEG to the list above.

Cheers!