I did a C program using Root libraries.
The program compile, but when it tries to generate de executable, it shows me the error below:
[color=blue] [Linker error] undefined reference to TFile::TFile(char const*, char const*, char const*, int)' [Linker error] undefined reference to
TObject::operator delete(void*)’
[Linker error] undefined reference to TNtuple::TNtuple(char const*, char const*, char const*, int)' [Linker error] undefined reference to
TObject::operator delete(void*)’
[Linker error] undefined reference to TTimeStamp::TTimeStamp(unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, bool, int)' [Linker error] undefined reference to
vtable for TTimeStamp’
[Linker error] undefined reference to `TStorage::ObjectAlloc(unsigned int)’ [/color]
Configurations about libraries path are done in the project created (I’m using Dev C++ to development), but probabily something is missing.
What to do?
Thank’s.