Hi mates! I' m sure that my error it's a silly thing but these kind of errors are what usually drive us mad. So, the thing is that I can compile a file in my university but when I use exactly the same command in my computer, I get an errorr. The command and its output are:
[bash#] g++ LBPROT.cpp ./scope-src/libscope.a
/tmp/ccYYTJfA.o(.text+0x27): In function `getimagef(char*, image_data*)':
: reference to `getimage(data*, char*, char*)' non-defined
collect2: ld returned the output state 1
This is exactly the same error I get in my university when I omit the library file 'libscope.a' where 'getimagef' function is defined.
Any suggestion?
Thanks to all of you for your help!!