Skip to content
This repository was archived by the owner on Apr 25, 2021. It is now read-only.

Attempting to troubleshoot a boost Log compile issue using vcpkg, cmake, linux

License

Notifications You must be signed in to change notification settings

skywalkerisnull/boost_log_troubleshooting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
Ashley Walker
Jan 20, 2021
fb126f5 · Jan 20, 2021

History

10 Commits
Jan 20, 2021
Jan 20, 2021
Jan 20, 2021
Jan 20, 2021
Jan 20, 2021
Jan 20, 2021
Jan 20, 2021
Jan 20, 2021
Jan 20, 2021
Jan 20, 2021

Repository files navigation

Lessons Learnt

This now builds thanks to the help from a Slack user by the name of Rommudoh.

Lessons learnt:

  • Cmakes find_package( Boost REQUIRED) needs to have the specific components that I need in the code.
  • In the top level CMakeLists.txt I needed to add target_include_directories
  • In the top lelvel CMakeLists.txt I needed to add the library that I need to connect to in the target_link_libraries
  • Instead of using add_executable() in the sub directory, I should have used add_library

About

Attempting to troubleshoot a boost Log compile issue using vcpkg, cmake, linux

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published