Symptom:
Could not find a package configuration file provided by "Boost"
Fix:
- Run
conan installfor the same build folder. - Use
-DCMAKE_TOOLCHAIN_FILE=.../conan_toolchain.cmakein CMake configure. - Do not use placeholder paths like
build/....
Root cause:
- Shell interpreted unquoted
&in Conan options.
Fix:
- Quote options:
-o '&:with_uno=False'
Fix:
- Ensure build finished with
DOCXFACTORY_BUILD_PYTHON=ON. - Add both paths to
sys.path:build/<cfg>build/<cfg>/python
- Confirm generated files exist.
Fix:
- Install SWIG and ensure it is in
PATH. - macOS:
brew install swig - Linux:
apt install swig
This is informational in current repository state and does not mean build failure.
If build/<cfg> is removed, regenerate Conan files:
conan install . -of build/<cfg> -s build_type=Release -o '&:with_uno=False' -o '&:with_python=True' -o '&:with_imagemagick=False' --build=missing