Compilation of Proof

Hello,

i occurs some problem when trying to compile a program which includes Proof commands :

for example :
TProof *p=TProof::Open(“ccapl0001.in2p3.Fr”);

gives :

main.C:(.text+0x241): undefined reference to `TProof::Open(char const*, char const*, char const*, int)’

by the way, let’s suppose it works, how will i provide the password in a compiled program ?

just in case, my minimal code is here :
/afs/in2p3.fr/home/e/escalier/public/MinimumProblemTSelector

thanks

Hello escalier,

Im not an expert but I think including -lProof -lProofPlayer in your compilation will solve the undefined reference.

carlos

thank you so much !!!

it works thanks to your help !