Problem with building example projects

Issue #22 resolved
Dominik Hebda created an issue

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)

  1. Dominik Hebda reporter

    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.

  2. Log in to comment