# Building

1. Copy the file zbarw-config.in.props to zbarw-config.props and adjust.
1. Use Visual Studio 2022 and open the solution file from the visualc directory.
1. Before building choose your target architecture. x86?

# Known issues

## libiconv NuGet incompatibility

You will most likely get an iconv incompatibility error:

nierozpoznany symbol zewnętrzny _libiconv_open przywołany w funkcji _qr_code_data_list_extract_text

unresolved external symbol _libiconv_open referenced in function _qr_code_data_list_extract_text

That's because NuGet version is for VS toolset v142 (VS 2019) and Visual Studio 2022 uses v143.
The easiest workaround is to edit the file visualc\packages\libiconv.lib.1.16.0.6\build\native\libiconv.lib.targets\
and replace all occurences of 'v142' (quote is part of the string to replace) with 'v143'.

The other possibility is to use GnuWin32 version of iconv and extending appropriately include and library directories.
