Page 2 of 2

Re: Visual Studio (or other IDE) setup instructions

Posted: Tuesday 25 April 2023 22:02
by barts2108
Just setup VS 2022 and found this json/json.h error too. I think it needs another include folder
  • In Visual Studio 2022 (community) Right click the project and select Properties.
  • In Configuration Properties -> C/C++ -> General, the first entry "Additional Include Directories" should look like this

Code: Select all

../msbuild/Windows Libraries/OpenZwave/openzwave;../hardware/plugins/Include;../msbuild/Windows Libraries/include;%(AdditionalIncludeDirectories)
Take note : I added (the 3rd path)

Code: Select all

../msbuild/Windows Libraries/include;
After doing this, I can compile but do note Visual Studio must be set to x86 (it is set to x64 by default)

Re: Visual Studio (or other IDE) setup instructions

Posted: Monday 06 May 2024 22:39
by fantom
After one year, I have problem again :(

When I try run domoticz on VS2022, i get errors like:

I see this files in user/source/repos/vcpkg/....

EDIT: Resolved. I I forgot about win32