Problem with building example projects
Hi, I’ve been using Ubuntu 18.04 and done everything step by step from readme (build, cmake, make etc). Although everything seems to work just fine, I’ve also tried building Parser.cpp or Write-Example.cpp in /usr/local/share/doc/Vector_BLF/examples and unfortunately couldn’t build them. I get following errors:
undefined reference to’Vector::BLF::File::File()'
undefined reference to’Vector::BLF::File::good()'
undefined reference to’Vector::BLF::File::read()' etc.
I thought it was a linker issue and I’ve tried putting .so files in .cpp folder manually but unfortuantely same errors occured. Headers seem to be detected properly. Am I missing something? (Also, I’ve tried build examples option in cmake, but didn’t get any executables etc.)
Comments (4)
-
reporter -
reporter - changed status to resolved
-
repo owner Great. I almost expected that. That’s why I gave the answer a little time
-
repo owner -
assigned issue to
-
assigned issue to
- Log in to comment
It was a linker problem. I tried doing everything with cmake step by step and run everything properly. Still coudn’t manage to run it with only console command, perhaps I’m lacking some command. Either way, case closed.