VisualizationLibrary icon indicating copy to clipboard operation
VisualizationLibrary copied to clipboard

Documentation - VLMain missing from "getting started" find_package(VL COMPONENTS ...)

Open benhanginaround opened this issue 3 years ago • 0 comments

I was having a ton of issues with CMake (Win32) - The example programs compiled fine during the library build, but I couldn't get my own program to link. (unable to find vl::VisualizationLibrary::init()/vl::VisualizationLibrary::shutdown()) I finally discovered that adding "VLMain" to the "find_package" command in my CMakeLists.txt fixed the issue.

I'm not sure if this is the right fix, but if so, I'd recommend updating the "compiling and installing document" (https://www.visualizationlibrary.org/docs/2.1/html/pag_install.html) to include 'VLMain' in the example CMake project.

benhanginaround avatar Aug 25 '22 14:08 benhanginaround