guteksan / REST-CPP-benchmark

MIT License
123 stars 15 forks source link

Build Problems :( #6

Open alejandroarmas opened 3 years ago

alejandroarmas commented 3 years ago

Hey sorry if this is a really stupid question but I wanted to run the tests on my own machine and I'm having trouble building your code. I'm new to CMAKE so bear with me please.

I cloned and installed log4cplus into my /usr/local/lib as follows:

liblog4cplus-3.0.so.0      liblog4cplus.la  liblog4cplusU-3.0.so.0      liblog4cplusU.la  
liblog4cplus-3.0.so.0.0.0  liblog4cplus.so  liblog4cplusU-3.0.so.0.0.0  liblog4cplusU.so

I'm not sure what these files are but I went ahead and tried to build basic-httplib since it was a header only include like you mentioned.

I get this:

CMake Error at CMakeLists.txt:9 (find_package):
  By not providing "Findlog4cplus.cmake" in CMAKE_MODULE_PATH this project
  has asked CMake to find a package configuration file provided by
  "log4cplus", but CMake did not find one.

  Could not find a package configuration file provided by "log4cplus" with
  any of the following names:

    log4cplusConfig.cmake
    log4cplus-config.cmake

  Add the installation prefix of "log4cplus" to CMAKE_PREFIX_PATH or set
  "log4cplus_DIR" to a directory containing one of the above files.  If
  "log4cplus" provides a separate development package or SDK, be sure it has
  been installed.

Could you lead me into the correct path on fixing this? Thanks ahead of time @guteksan